@everymatrix/player-account-controller 0.0.169 → 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.
@@ -20354,7 +20354,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20354
20354
  /* ../player-change-password/src/PlayerChangePassword.svelte generated by Svelte v3.37.0 */
20355
20355
  const file$j = "../player-change-password/src/PlayerChangePassword.svelte";
20356
20356
 
20357
- // (119:0) {:else}
20357
+ // (125:0) {:else}
20358
20358
  function create_else_block$d(ctx) {
20359
20359
  let form;
20360
20360
 
@@ -20371,13 +20371,13 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20371
20371
  form = element("form");
20372
20372
  if_block.c();
20373
20373
 
20374
- attr_dev(form, "class", "PlayerChangePasswordWrapper " + (/*isMobile*/ ctx[16]
20374
+ attr_dev(form, "class", "PlayerChangePasswordWrapper " + (/*isMobile*/ ctx[18]
20375
20375
  ? "PlayerChangePasswordWrapperMobile"
20376
- : "") + " " + (/*mediaQuery*/ ctx[17].matches && /*isMobile*/ ctx[16]
20376
+ : "") + " " + (/*mediaQuery*/ ctx[19].matches && /*isMobile*/ ctx[18]
20377
20377
  ? "PlayerChangePasswordWrapperTablet"
20378
20378
  : ""));
20379
20379
 
20380
- add_location(form, file$j, 119, 2, 3858);
20380
+ add_location(form, file$j, 125, 2, 4139);
20381
20381
  },
20382
20382
  m: function mount(target, anchor) {
20383
20383
  insert_dev(target, form, anchor);
@@ -20406,14 +20406,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20406
20406
  block,
20407
20407
  id: create_else_block$d.name,
20408
20408
  type: "else",
20409
- source: "(119:0) {:else}",
20409
+ source: "(125:0) {:else}",
20410
20410
  ctx
20411
20411
  });
20412
20412
 
20413
20413
  return block;
20414
20414
  }
20415
20415
 
20416
- // (117:0) {#if isLoading}
20416
+ // (123:0) {#if isLoading}
20417
20417
  function create_if_block$i(ctx) {
20418
20418
  let div;
20419
20419
 
@@ -20421,7 +20421,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20421
20421
  c: function create() {
20422
20422
  div = element("div");
20423
20423
  attr_dev(div, "class", "ModalLoader");
20424
- add_location(div, file$j, 117, 2, 3816);
20424
+ add_location(div, file$j, 123, 2, 4097);
20425
20425
  },
20426
20426
  m: function mount(target, anchor) {
20427
20427
  insert_dev(target, div, anchor);
@@ -20436,14 +20436,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20436
20436
  block,
20437
20437
  id: create_if_block$i.name,
20438
20438
  type: "if",
20439
- source: "(117:0) {#if isLoading}",
20439
+ source: "(123:0) {#if isLoading}",
20440
20440
  ctx
20441
20441
  });
20442
20442
 
20443
20443
  return block;
20444
20444
  }
20445
20445
 
20446
- // (183:4) {:else}
20446
+ // (194:4) {:else}
20447
20447
  function create_else_block_4$1(ctx) {
20448
20448
  let t0;
20449
20449
  let div0;
@@ -20462,7 +20462,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20462
20462
  let div5;
20463
20463
  let mounted;
20464
20464
  let dispose;
20465
- let if_block = /*isMobile*/ ctx[16] && create_if_block_10$3(ctx);
20465
+ let if_block = /*isMobile*/ ctx[18] && create_if_block_11$3(ctx);
20466
20466
 
20467
20467
  const block = {
20468
20468
  c: function create() {
@@ -20486,23 +20486,23 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20486
20486
  t7 = space();
20487
20487
  div5 = element("div");
20488
20488
  div5.textContent = "Back to Casino";
20489
- add_location(h30, file$j, 197, 8, 17308);
20489
+ add_location(h30, file$j, 208, 8, 17736);
20490
20490
  attr_dev(div0, "class", "PlayerChangePasswordHeader");
20491
- add_location(div0, file$j, 196, 6, 17259);
20491
+ add_location(div0, file$j, 207, 6, 17687);
20492
20492
  attr_dev(div1, "class", "Checkmark");
20493
- add_location(div1, file$j, 202, 12, 17481);
20493
+ add_location(div1, file$j, 213, 12, 17909);
20494
20494
  attr_dev(div2, "class", "IconContainer");
20495
- add_location(div2, file$j, 201, 10, 17441);
20496
- add_location(h31, file$j, 205, 12, 17578);
20497
- add_location(p, file$j, 206, 12, 17614);
20495
+ add_location(div2, file$j, 212, 10, 17869);
20496
+ add_location(h31, file$j, 216, 12, 18006);
20497
+ add_location(p, file$j, 217, 12, 18042);
20498
20498
  attr_dev(div3, "class", "TextContainer");
20499
- add_location(div3, file$j, 204, 10, 17538);
20499
+ add_location(div3, file$j, 215, 10, 17966);
20500
20500
  attr_dev(div4, "class", "SuccessWrapper");
20501
- add_location(div4, file$j, 200, 8, 17402);
20501
+ add_location(div4, file$j, 211, 8, 17830);
20502
20502
  attr_dev(div5, "class", "PlayerChangePasswordBackButton");
20503
- add_location(div5, file$j, 209, 8, 17704);
20503
+ add_location(div5, file$j, 220, 8, 18132);
20504
20504
  attr_dev(div6, "class", "ChangedPasswordSuccessfully");
20505
- add_location(div6, file$j, 199, 6, 17352);
20505
+ add_location(div6, file$j, 210, 6, 17780);
20506
20506
  },
20507
20507
  m: function mount(target, anchor) {
20508
20508
  if (if_block) if_block.m(target, anchor);
@@ -20523,12 +20523,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20523
20523
  append_dev(div6, div5);
20524
20524
 
20525
20525
  if (!mounted) {
20526
- dispose = listen_dev(div5, "click", /*click_handler_9*/ ctx[38], false, false, false);
20526
+ dispose = listen_dev(div5, "click", /*click_handler_9*/ ctx[40], false, false, false);
20527
20527
  mounted = true;
20528
20528
  }
20529
20529
  },
20530
20530
  p: function update(ctx, dirty) {
20531
- if (/*isMobile*/ ctx[16]) if_block.p(ctx, dirty);
20531
+ if (/*isMobile*/ ctx[18]) if_block.p(ctx, dirty);
20532
20532
  },
20533
20533
  d: function destroy(detaching) {
20534
20534
  if (if_block) if_block.d(detaching);
@@ -20545,14 +20545,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20545
20545
  block,
20546
20546
  id: create_else_block_4$1.name,
20547
20547
  type: "else",
20548
- source: "(183:4) {:else}",
20548
+ source: "(194:4) {:else}",
20549
20549
  ctx
20550
20550
  });
20551
20551
 
20552
20552
  return block;
20553
20553
  }
20554
20554
 
20555
- // (121:4) {#if !passwordChanged}
20555
+ // (127:4) {#if !passwordChanged}
20556
20556
  function create_if_block_1$f(ctx) {
20557
20557
  let t0;
20558
20558
  let h2;
@@ -20583,26 +20583,27 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20583
20583
  let t16;
20584
20584
  let div2_class_value;
20585
20585
  let t17;
20586
+ let t18;
20586
20587
  let section1;
20587
20588
  let div3;
20588
- let t18;
20589
+ let t19;
20589
20590
  let div3_class_value;
20590
20591
  let div3_disabled_value;
20591
20592
  let mounted;
20592
20593
  let dispose;
20593
- let if_block0 = /*isMobile*/ ctx[16] && create_if_block_9$3(ctx);
20594
+ let if_block0 = /*isMobile*/ ctx[18] && create_if_block_10$3(ctx);
20594
20595
 
20595
20596
  function select_block_type_2(ctx, dirty) {
20596
- if (/*isCurrentPasswordVisible*/ ctx[8]) return create_if_block_8$3;
20597
+ if (/*isCurrentPasswordVisible*/ ctx[8]) return create_if_block_9$3;
20597
20598
  return create_else_block_3$1;
20598
20599
  }
20599
20600
 
20600
20601
  let current_block_type = select_block_type_2(ctx);
20601
20602
  let if_block1 = current_block_type(ctx);
20602
- let if_block2 = /*invalidCurrentPassword*/ ctx[2] && create_if_block_7$4(ctx);
20603
+ let if_block2 = /*invalidCurrentPassword*/ ctx[2] && create_if_block_8$3(ctx);
20603
20604
 
20604
20605
  function select_block_type_3(ctx, dirty) {
20605
- if (/*isNewPasswordVisible*/ ctx[9]) return create_if_block_6$4;
20606
+ if (/*isNewPasswordVisible*/ ctx[9]) return create_if_block_7$4;
20606
20607
  return create_else_block_2$4;
20607
20608
  }
20608
20609
 
@@ -20610,21 +20611,22 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20610
20611
  let if_block3 = current_block_type_1(ctx);
20611
20612
 
20612
20613
  function select_block_type_4(ctx, dirty) {
20613
- if (/*oldPasswordSameAsNew*/ ctx[11]) return create_if_block_4$5;
20614
- if (/*invalidNewPassword*/ ctx[3]) return create_if_block_5$4;
20614
+ if (/*oldPasswordSameAsNew*/ ctx[11]) return create_if_block_5$4;
20615
+ if (/*invalidNewPassword*/ ctx[3]) return create_if_block_6$4;
20615
20616
  }
20616
20617
 
20617
20618
  let current_block_type_2 = select_block_type_4(ctx);
20618
20619
  let if_block4 = current_block_type_2 && current_block_type_2(ctx);
20619
20620
 
20620
20621
  function select_block_type_5(ctx, dirty) {
20621
- if (/*isConfirmPasswordVisible*/ ctx[10]) return create_if_block_3$7;
20622
+ if (/*isConfirmPasswordVisible*/ ctx[10]) return create_if_block_4$5;
20622
20623
  return create_else_block_1$5;
20623
20624
  }
20624
20625
 
20625
20626
  let current_block_type_3 = select_block_type_5(ctx);
20626
20627
  let if_block5 = current_block_type_3(ctx);
20627
- let if_block6 = /*invalidConfirmPassword*/ ctx[4] && create_if_block_2$9(ctx);
20628
+ let if_block6 = /*invalidConfirmPassword*/ ctx[4] && create_if_block_3$7(ctx);
20629
+ let if_block7 = /*showErrorPasswordChanged*/ ctx[16] && create_if_block_2$9(ctx);
20628
20630
 
20629
20631
  const block = {
20630
20632
  c: function create() {
@@ -20664,39 +20666,41 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20664
20666
  t16 = space();
20665
20667
  if (if_block6) if_block6.c();
20666
20668
  t17 = space();
20669
+ if (if_block7) if_block7.c();
20670
+ t18 = space();
20667
20671
  section1 = element("section");
20668
20672
  div3 = element("div");
20669
- t18 = text("Change Password");
20670
- attr_dev(h2, "class", "ChangePasswordTitle " + (/*isMobile*/ ctx[16] ? "ChangePasswordTitleNone" : ""));
20671
- add_location(h2, file$j, 132, 6, 4665);
20673
+ t19 = text("Change Password");
20674
+ attr_dev(h2, "class", "ChangePasswordTitle " + (/*isMobile*/ ctx[18] ? "ChangePasswordTitleNone" : ""));
20675
+ add_location(h2, file$j, 138, 6, 4946);
20672
20676
  attr_dev(label0, "for", "CurrentPassword");
20673
- add_location(label0, file$j, 136, 10, 4920);
20677
+ add_location(label0, file$j, 142, 10, 5201);
20674
20678
  attr_dev(input0, "id", "CurrentPassword");
20675
20679
  attr_dev(input0, "type", "password");
20676
- add_location(input0, file$j, 137, 10, 4985);
20680
+ add_location(input0, file$j, 143, 10, 5266);
20677
20681
  attr_dev(div0, "class", div0_class_value = "PlayerChangePasswordBox " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidField" : ""));
20678
- add_location(div0, file$j, 135, 8, 4823);
20682
+ add_location(div0, file$j, 141, 8, 5104);
20679
20683
  attr_dev(label1, "for", "NewPassword");
20680
- add_location(label1, file$j, 148, 10, 8580);
20684
+ add_location(label1, file$j, 154, 10, 8861);
20681
20685
  attr_dev(input1, "id", "NewPassword");
20682
20686
  attr_dev(input1, "type", "password");
20683
- add_location(input1, file$j, 149, 10, 8637);
20687
+ add_location(input1, file$j, 155, 10, 8918);
20684
20688
  attr_dev(div1, "class", div1_class_value = "PlayerChangePasswordBox " + (/*invalidNewPassword*/ ctx[3] ? "InvalidField" : ""));
20685
- add_location(div1, file$j, 147, 8, 8487);
20689
+ add_location(div1, file$j, 153, 8, 8768);
20686
20690
  attr_dev(label2, "for", "ConfirmPassword");
20687
- add_location(label2, file$j, 162, 10, 12331);
20691
+ add_location(label2, file$j, 168, 10, 12612);
20688
20692
  attr_dev(input2, "id", "ConfirmPassword");
20689
20693
  attr_dev(input2, "type", "password");
20690
- add_location(input2, file$j, 163, 10, 12396);
20694
+ add_location(input2, file$j, 169, 10, 12677);
20691
20695
  attr_dev(div2, "class", div2_class_value = "PlayerChangePasswordBox " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidField" : ""));
20692
- add_location(div2, file$j, 161, 8, 12234);
20696
+ add_location(div2, file$j, 167, 8, 12515);
20693
20697
  attr_dev(section0, "class", "PlayerChangePasswordContent");
20694
- add_location(section0, file$j, 134, 6, 4769);
20698
+ add_location(section0, file$j, 140, 6, 5050);
20695
20699
  attr_dev(div3, "class", div3_class_value = "PlayerChangePasswordSaveButton " + (/*activateSubmit*/ ctx[1] ? "" : "ButtonInactive"));
20696
20700
  attr_dev(div3, "disabled", div3_disabled_value = !/*activateSubmit*/ ctx[1]);
20697
- add_location(div3, file$j, 175, 8, 15920);
20701
+ add_location(div3, file$j, 186, 8, 16348);
20698
20702
  attr_dev(section1, "class", "PlayerChangePasswordButtonsArea");
20699
- add_location(section1, file$j, 174, 6, 15862);
20703
+ add_location(section1, file$j, 185, 6, 16290);
20700
20704
  },
20701
20705
  m: function mount(target, anchor) {
20702
20706
  if (if_block0) if_block0.m(target, anchor);
@@ -20710,7 +20714,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20710
20714
  append_dev(div0, t4);
20711
20715
  append_dev(div0, input0);
20712
20716
  set_input_value(input0, /*userCurrentPassword*/ ctx[12]);
20713
- /*input0_binding*/ ctx[25](input0);
20717
+ /*input0_binding*/ ctx[27](input0);
20714
20718
  append_dev(div0, t5);
20715
20719
  if_block1.m(div0, null);
20716
20720
  append_dev(div0, t6);
@@ -20721,7 +20725,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20721
20725
  append_dev(div1, t9);
20722
20726
  append_dev(div1, input1);
20723
20727
  set_input_value(input1, /*userNewPassword*/ ctx[13]);
20724
- /*input1_binding*/ ctx[29](input1);
20728
+ /*input1_binding*/ ctx[31](input1);
20725
20729
  append_dev(div1, t10);
20726
20730
  if_block3.m(div1, null);
20727
20731
  append_dev(div1, t11);
@@ -20732,52 +20736,54 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20732
20736
  append_dev(div2, t14);
20733
20737
  append_dev(div2, input2);
20734
20738
  set_input_value(input2, /*userConfirmPassword*/ ctx[14]);
20735
- /*input2_binding*/ ctx[33](input2);
20739
+ /*input2_binding*/ ctx[35](input2);
20736
20740
  append_dev(div2, t15);
20737
20741
  if_block5.m(div2, null);
20738
20742
  append_dev(div2, t16);
20739
20743
  if (if_block6) if_block6.m(div2, null);
20740
20744
  insert_dev(target, t17, anchor);
20745
+ if (if_block7) if_block7.m(target, anchor);
20746
+ insert_dev(target, t18, anchor);
20741
20747
  insert_dev(target, section1, anchor);
20742
20748
  append_dev(section1, div3);
20743
- append_dev(div3, t18);
20749
+ append_dev(div3, t19);
20744
20750
 
20745
20751
  if (!mounted) {
20746
20752
  dispose = [
20747
- listen_dev(input0, "input", /*input0_input_handler*/ ctx[24]),
20753
+ listen_dev(input0, "input", /*input0_input_handler*/ ctx[26]),
20748
20754
  listen_dev(
20749
20755
  input0,
20750
20756
  "blur",
20751
20757
  function () {
20752
- if (is_function(/*validatePassword*/ ctx[19](/*invalidCurrentPassword*/ ctx[2], /*userCurrentPassword*/ ctx[12], /*currentPasswordVisibilityToggle*/ ctx[5]))) /*validatePassword*/ ctx[19](/*invalidCurrentPassword*/ ctx[2], /*userCurrentPassword*/ ctx[12], /*currentPasswordVisibilityToggle*/ ctx[5]).apply(this, arguments);
20758
+ if (is_function(/*validatePassword*/ ctx[21](/*invalidCurrentPassword*/ ctx[2], /*userCurrentPassword*/ ctx[12], /*currentPasswordVisibilityToggle*/ ctx[5]))) /*validatePassword*/ ctx[21](/*invalidCurrentPassword*/ ctx[2], /*userCurrentPassword*/ ctx[12], /*currentPasswordVisibilityToggle*/ ctx[5]).apply(this, arguments);
20753
20759
  },
20754
20760
  false,
20755
20761
  false,
20756
20762
  false
20757
20763
  ),
20758
- listen_dev(input1, "input", /*input1_input_handler*/ ctx[28]),
20764
+ listen_dev(input1, "input", /*input1_input_handler*/ ctx[30]),
20759
20765
  listen_dev(
20760
20766
  input1,
20761
20767
  "blur",
20762
20768
  function () {
20763
- if (is_function(/*validatePassword*/ ctx[19](/*invalidNewPassword*/ ctx[3], /*userNewPassword*/ ctx[13], /*newPasswordVisibilityToggle*/ ctx[6]))) /*validatePassword*/ ctx[19](/*invalidNewPassword*/ ctx[3], /*userNewPassword*/ ctx[13], /*newPasswordVisibilityToggle*/ ctx[6]).apply(this, arguments);
20769
+ if (is_function(/*validatePassword*/ ctx[21](/*invalidNewPassword*/ ctx[3], /*userNewPassword*/ ctx[13], /*newPasswordVisibilityToggle*/ ctx[6]))) /*validatePassword*/ ctx[21](/*invalidNewPassword*/ ctx[3], /*userNewPassword*/ ctx[13], /*newPasswordVisibilityToggle*/ ctx[6]).apply(this, arguments);
20764
20770
  },
20765
20771
  false,
20766
20772
  false,
20767
20773
  false
20768
20774
  ),
20769
- listen_dev(input2, "input", /*input2_input_handler*/ ctx[32]),
20775
+ listen_dev(input2, "input", /*input2_input_handler*/ ctx[34]),
20770
20776
  listen_dev(
20771
20777
  input2,
20772
20778
  "blur",
20773
20779
  function () {
20774
- if (is_function(/*validatePassword*/ ctx[19](/*invalidConfirmPassword*/ ctx[4], /*userConfirmPassword*/ ctx[14], /*confirmPasswordVisibilityToggle*/ ctx[7]))) /*validatePassword*/ ctx[19](/*invalidConfirmPassword*/ ctx[4], /*userConfirmPassword*/ ctx[14], /*confirmPasswordVisibilityToggle*/ ctx[7]).apply(this, arguments);
20780
+ if (is_function(/*validatePassword*/ ctx[21](/*invalidConfirmPassword*/ ctx[4], /*userConfirmPassword*/ ctx[14], /*confirmPasswordVisibilityToggle*/ ctx[7]))) /*validatePassword*/ ctx[21](/*invalidConfirmPassword*/ ctx[4], /*userConfirmPassword*/ ctx[14], /*confirmPasswordVisibilityToggle*/ ctx[7]).apply(this, arguments);
20775
20781
  },
20776
20782
  false,
20777
20783
  false,
20778
20784
  false
20779
20785
  ),
20780
- listen_dev(div3, "click", /*click_handler_7*/ ctx[36], false, false, false)
20786
+ listen_dev(div3, "click", /*click_handler_7*/ ctx[38], false, false, false)
20781
20787
  ];
20782
20788
 
20783
20789
  mounted = true;
@@ -20785,7 +20791,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20785
20791
  },
20786
20792
  p: function update(new_ctx, dirty) {
20787
20793
  ctx = new_ctx;
20788
- if (/*isMobile*/ ctx[16]) if_block0.p(ctx, dirty);
20794
+ if (/*isMobile*/ ctx[18]) if_block0.p(ctx, dirty);
20789
20795
 
20790
20796
  if (dirty[0] & /*userCurrentPassword*/ 4096 && input0.value !== /*userCurrentPassword*/ ctx[12]) {
20791
20797
  set_input_value(input0, /*userCurrentPassword*/ ctx[12]);
@@ -20805,7 +20811,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20805
20811
 
20806
20812
  if (/*invalidCurrentPassword*/ ctx[2]) {
20807
20813
  if (if_block2) ; else {
20808
- if_block2 = create_if_block_7$4(ctx);
20814
+ if_block2 = create_if_block_8$3(ctx);
20809
20815
  if_block2.c();
20810
20816
  if_block2.m(div0, null);
20811
20817
  }
@@ -20866,7 +20872,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20866
20872
 
20867
20873
  if (/*invalidConfirmPassword*/ ctx[4]) {
20868
20874
  if (if_block6) ; else {
20869
- if_block6 = create_if_block_2$9(ctx);
20875
+ if_block6 = create_if_block_3$7(ctx);
20870
20876
  if_block6.c();
20871
20877
  if_block6.m(div2, null);
20872
20878
  }
@@ -20879,6 +20885,19 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20879
20885
  attr_dev(div2, "class", div2_class_value);
20880
20886
  }
20881
20887
 
20888
+ if (/*showErrorPasswordChanged*/ ctx[16]) {
20889
+ if (if_block7) {
20890
+ if_block7.p(ctx, dirty);
20891
+ } else {
20892
+ if_block7 = create_if_block_2$9(ctx);
20893
+ if_block7.c();
20894
+ if_block7.m(t18.parentNode, t18);
20895
+ }
20896
+ } else if (if_block7) {
20897
+ if_block7.d(1);
20898
+ if_block7 = null;
20899
+ }
20900
+
20882
20901
  if (dirty[0] & /*activateSubmit*/ 2 && div3_class_value !== (div3_class_value = "PlayerChangePasswordSaveButton " + (/*activateSubmit*/ ctx[1] ? "" : "ButtonInactive"))) {
20883
20902
  attr_dev(div3, "class", div3_class_value);
20884
20903
  }
@@ -20893,20 +20912,22 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20893
20912
  if (detaching) detach_dev(h2);
20894
20913
  if (detaching) detach_dev(t2);
20895
20914
  if (detaching) detach_dev(section0);
20896
- /*input0_binding*/ ctx[25](null);
20915
+ /*input0_binding*/ ctx[27](null);
20897
20916
  if_block1.d();
20898
20917
  if (if_block2) if_block2.d();
20899
- /*input1_binding*/ ctx[29](null);
20918
+ /*input1_binding*/ ctx[31](null);
20900
20919
  if_block3.d();
20901
20920
 
20902
20921
  if (if_block4) {
20903
20922
  if_block4.d();
20904
20923
  }
20905
20924
 
20906
- /*input2_binding*/ ctx[33](null);
20925
+ /*input2_binding*/ ctx[35](null);
20907
20926
  if_block5.d();
20908
20927
  if (if_block6) if_block6.d();
20909
20928
  if (detaching) detach_dev(t17);
20929
+ if (if_block7) if_block7.d(detaching);
20930
+ if (detaching) detach_dev(t18);
20910
20931
  if (detaching) detach_dev(section1);
20911
20932
  mounted = false;
20912
20933
  run_all(dispose);
@@ -20917,15 +20938,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20917
20938
  block,
20918
20939
  id: create_if_block_1$f.name,
20919
20940
  type: "if",
20920
- source: "(121:4) {#if !passwordChanged}",
20941
+ source: "(127:4) {#if !passwordChanged}",
20921
20942
  ctx
20922
20943
  });
20923
20944
 
20924
20945
  return block;
20925
20946
  }
20926
20947
 
20927
- // (184:6) {#if isMobile}
20928
- function create_if_block_10$3(ctx) {
20948
+ // (195:6) {#if isMobile}
20949
+ function create_if_block_11$3(ctx) {
20929
20950
  let div;
20930
20951
  let svg;
20931
20952
  let g;
@@ -20946,8 +20967,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20946
20967
  span.textContent = "Return to menu";
20947
20968
  attr_dev(path, "id", "Chevron_Right");
20948
20969
  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");
20949
- add_location(path, file$j, 188, 14, 16837);
20950
- add_location(g, file$j, 187, 12, 16819);
20970
+ add_location(path, file$j, 199, 14, 17265);
20971
+ add_location(g, file$j, 198, 12, 17247);
20951
20972
  attr_dev(svg, "version", "1.1");
20952
20973
  attr_dev(svg, "id", "Capa_1");
20953
20974
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -20959,10 +20980,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20959
20980
  attr_dev(svg, "xml:space", "preserve");
20960
20981
  attr_dev(svg, "width", "18px");
20961
20982
  attr_dev(svg, "fill", "#58586B");
20962
- add_location(svg, file$j, 185, 10, 16539);
20963
- add_location(span, file$j, 193, 10, 17198);
20983
+ add_location(svg, file$j, 196, 10, 16967);
20984
+ add_location(span, file$j, 204, 10, 17626);
20964
20985
  attr_dev(div, "class", "MenuReturnButton");
20965
- add_location(div, file$j, 184, 8, 16466);
20986
+ add_location(div, file$j, 195, 8, 16894);
20966
20987
  },
20967
20988
  m: function mount(target, anchor) {
20968
20989
  insert_dev(target, div, anchor);
@@ -20973,7 +20994,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20973
20994
  append_dev(div, span);
20974
20995
 
20975
20996
  if (!mounted) {
20976
- dispose = listen_dev(div, "click", /*click_handler_8*/ ctx[37], false, false, false);
20997
+ dispose = listen_dev(div, "click", /*click_handler_8*/ ctx[39], false, false, false);
20977
20998
  mounted = true;
20978
20999
  }
20979
21000
  },
@@ -20987,17 +21008,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
20987
21008
 
20988
21009
  dispatch_dev("SvelteRegisterBlock", {
20989
21010
  block,
20990
- id: create_if_block_10$3.name,
21011
+ id: create_if_block_11$3.name,
20991
21012
  type: "if",
20992
- source: "(184:6) {#if isMobile}",
21013
+ source: "(195:6) {#if isMobile}",
20993
21014
  ctx
20994
21015
  });
20995
21016
 
20996
21017
  return block;
20997
21018
  }
20998
21019
 
20999
- // (123:6) {#if isMobile}
21000
- function create_if_block_9$3(ctx) {
21020
+ // (129:6) {#if isMobile}
21021
+ function create_if_block_10$3(ctx) {
21001
21022
  let div;
21002
21023
  let svg;
21003
21024
  let defs;
@@ -21024,25 +21045,25 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21024
21045
  t1 = space();
21025
21046
  h2 = element("h2");
21026
21047
  h2.textContent = "Change Password";
21027
- add_location(style, file$j, 124, 99, 4252);
21028
- add_location(defs, file$j, 124, 93, 4246);
21048
+ add_location(style, file$j, 130, 99, 4533);
21049
+ add_location(defs, file$j, 130, 93, 4527);
21029
21050
  attr_dev(path, "class", "aaa");
21030
21051
  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");
21031
21052
  attr_dev(path, "transform", "translate(15 15) rotate(180)");
21032
- add_location(path, file$j, 126, 14, 4389);
21053
+ add_location(path, file$j, 132, 14, 4670);
21033
21054
  attr_dev(g0, "transform", "translate(20 158)");
21034
- add_location(g0, file$j, 125, 12, 4341);
21055
+ add_location(g0, file$j, 131, 12, 4622);
21035
21056
  attr_dev(g1, "transform", "translate(-20 -158)");
21036
- add_location(g1, file$j, 124, 140, 4293);
21057
+ add_location(g1, file$j, 130, 140, 4574);
21037
21058
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
21038
21059
  attr_dev(svg, "width", "15");
21039
21060
  attr_dev(svg, "height", "15");
21040
21061
  attr_dev(svg, "viewBox", "0 0 15 15");
21041
- add_location(svg, file$j, 124, 10, 4163);
21062
+ add_location(svg, file$j, 130, 10, 4444);
21042
21063
  attr_dev(h2, "class", "ChangePasswordTitleMobile");
21043
- add_location(h2, file$j, 129, 10, 4573);
21064
+ add_location(h2, file$j, 135, 10, 4854);
21044
21065
  attr_dev(div, "class", "MenuReturnButton");
21045
- add_location(div, file$j, 123, 8, 4090);
21066
+ add_location(div, file$j, 129, 8, 4371);
21046
21067
  },
21047
21068
  m: function mount(target, anchor) {
21048
21069
  insert_dev(target, div, anchor);
@@ -21057,7 +21078,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21057
21078
  append_dev(div, h2);
21058
21079
 
21059
21080
  if (!mounted) {
21060
- dispose = listen_dev(div, "click", /*click_handler*/ ctx[23], false, false, false);
21081
+ dispose = listen_dev(div, "click", /*click_handler*/ ctx[25], false, false, false);
21061
21082
  mounted = true;
21062
21083
  }
21063
21084
  },
@@ -21071,16 +21092,16 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21071
21092
 
21072
21093
  dispatch_dev("SvelteRegisterBlock", {
21073
21094
  block,
21074
- id: create_if_block_9$3.name,
21095
+ id: create_if_block_10$3.name,
21075
21096
  type: "if",
21076
- source: "(123:6) {#if isMobile}",
21097
+ source: "(129:6) {#if isMobile}",
21077
21098
  ctx
21078
21099
  });
21079
21100
 
21080
21101
  return block;
21081
21102
  }
21082
21103
 
21083
- // (141:10) {:else}
21104
+ // (147:10) {:else}
21084
21105
  function create_else_block_3$1(ctx) {
21085
21106
  let svg;
21086
21107
  let defs;
@@ -21102,26 +21123,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21102
21123
  g = svg_element("g");
21103
21124
  path = svg_element("path");
21104
21125
  circle = svg_element("circle");
21105
- add_location(style, file$j, 141, 249, 7286);
21106
- add_location(defs, file$j, 141, 243, 7280);
21126
+ add_location(style, file$j, 147, 249, 7567);
21127
+ add_location(defs, file$j, 147, 243, 7561);
21107
21128
  attr_dev(path, "class", "a");
21108
21129
  attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
21109
21130
  attr_dev(path, "transform", "translate(0)");
21110
- add_location(path, file$j, 141, 327, 7364);
21131
+ add_location(path, file$j, 147, 327, 7645);
21111
21132
  attr_dev(circle, "class", "a");
21112
21133
  attr_dev(circle, "cx", "2.779");
21113
21134
  attr_dev(circle, "cy", "2.779");
21114
21135
  attr_dev(circle, "r", "2.779");
21115
21136
  attr_dev(circle, "transform", "translate(20.827 30.303)");
21116
- add_location(circle, file$j, 141, 1097, 8134);
21137
+ add_location(circle, file$j, 147, 1097, 8415);
21117
21138
  attr_dev(g, "transform", "translate(-14.185 -27.832)");
21118
- add_location(g, file$j, 141, 285, 7322);
21139
+ add_location(g, file$j, 147, 285, 7603);
21119
21140
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidToggle" : ""));
21120
21141
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
21121
21142
  attr_dev(svg, "width", "18.843");
21122
21143
  attr_dev(svg, "height", "10.5");
21123
21144
  attr_dev(svg, "viewBox", "0 0 18.843 10.5");
21124
- add_location(svg, file$j, 141, 12, 7049);
21145
+ add_location(svg, file$j, 147, 12, 7330);
21125
21146
  },
21126
21147
  m: function mount(target, anchor) {
21127
21148
  insert_dev(target, svg, anchor);
@@ -21133,7 +21154,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21133
21154
  append_dev(g, circle);
21134
21155
 
21135
21156
  if (!mounted) {
21136
- dispose = listen_dev(svg, "click", /*click_handler_2*/ ctx[27], false, false, false);
21157
+ dispose = listen_dev(svg, "click", /*click_handler_2*/ ctx[29], false, false, false);
21137
21158
  mounted = true;
21138
21159
  }
21139
21160
  },
@@ -21153,15 +21174,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21153
21174
  block,
21154
21175
  id: create_else_block_3$1.name,
21155
21176
  type: "else",
21156
- source: "(141:10) {:else}",
21177
+ source: "(147:10) {:else}",
21157
21178
  ctx
21158
21179
  });
21159
21180
 
21160
21181
  return block;
21161
21182
  }
21162
21183
 
21163
- // (139:10) {#if isCurrentPasswordVisible}
21164
- function create_if_block_8$3(ctx) {
21184
+ // (145:10) {#if isCurrentPasswordVisible}
21185
+ function create_if_block_9$3(ctx) {
21165
21186
  let svg;
21166
21187
  let defs;
21167
21188
  let style;
@@ -21194,48 +21215,48 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21194
21215
  path2 = svg_element("path");
21195
21216
  path3 = svg_element("path");
21196
21217
  rect = svg_element("rect");
21197
- add_location(style, file$j, 139, 253, 5508);
21198
- add_location(defs, file$j, 139, 247, 5502);
21218
+ add_location(style, file$j, 145, 253, 5789);
21219
+ add_location(defs, file$j, 145, 247, 5783);
21199
21220
  attr_dev(circle, "class", "a");
21200
21221
  attr_dev(circle, "cx", "0.05");
21201
21222
  attr_dev(circle, "cy", "0.05");
21202
21223
  attr_dev(circle, "r", "0.05");
21203
21224
  attr_dev(circle, "transform", "translate(121.017 31.148)");
21204
- add_location(circle, file$j, 139, 332, 5587);
21225
+ add_location(circle, file$j, 145, 332, 5868);
21205
21226
  attr_dev(path0, "class", "a");
21206
21227
  attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
21207
21228
  attr_dev(path0, "transform", "translate(-142.164 -39.123)");
21208
- add_location(path0, file$j, 139, 458, 5713);
21229
+ add_location(path0, file$j, 145, 458, 5994);
21209
21230
  attr_dev(path1, "class", "a");
21210
21231
  attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
21211
21232
  attr_dev(path1, "transform", "translate(-136.413 -42.068)");
21212
- add_location(path1, file$j, 139, 566, 5821);
21233
+ add_location(path1, file$j, 145, 566, 6102);
21213
21234
  attr_dev(g0, "transform", "translate(117.499 27.37)");
21214
- add_location(g0, file$j, 139, 418, 5673);
21235
+ add_location(g0, file$j, 145, 418, 5954);
21215
21236
  attr_dev(path2, "class", "a");
21216
21237
  attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
21217
21238
  attr_dev(path2, "transform", "translate(-110.856 -33.157)");
21218
- add_location(path2, file$j, 139, 717, 5972);
21239
+ add_location(path2, file$j, 145, 717, 6253);
21219
21240
  attr_dev(path3, "class", "a");
21220
21241
  attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
21221
21242
  attr_dev(path3, "transform", "translate(-130.743 -29.617)");
21222
- add_location(path3, file$j, 139, 1176, 6431);
21243
+ add_location(path3, file$j, 145, 1176, 6712);
21223
21244
  attr_dev(g1, "transform", "translate(110.856 24.899)");
21224
- add_location(g1, file$j, 139, 676, 5931);
21245
+ add_location(g1, file$j, 145, 676, 6212);
21225
21246
  attr_dev(rect, "class", "a");
21226
21247
  attr_dev(rect, "width", "0.972");
21227
21248
  attr_dev(rect, "height", "15.861");
21228
21249
  attr_dev(rect, "rx", "0.486");
21229
21250
  attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
21230
- add_location(rect, file$j, 139, 1641, 6896);
21251
+ add_location(rect, file$j, 145, 1641, 7177);
21231
21252
  attr_dev(g2, "transform", "translate(-110.856 -23.242)");
21232
- add_location(g2, file$j, 139, 289, 5544);
21253
+ add_location(g2, file$j, 145, 289, 5825);
21233
21254
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidToggle" : ""));
21234
21255
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
21235
21256
  attr_dev(svg, "width", "18.844");
21236
21257
  attr_dev(svg, "height", "12.887");
21237
21258
  attr_dev(svg, "viewBox", "0 0 18.844 12.887");
21238
- add_location(svg, file$j, 139, 12, 5267);
21259
+ add_location(svg, file$j, 145, 12, 5548);
21239
21260
  },
21240
21261
  m: function mount(target, anchor) {
21241
21262
  insert_dev(target, svg, anchor);
@@ -21253,7 +21274,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21253
21274
  append_dev(g2, rect);
21254
21275
 
21255
21276
  if (!mounted) {
21256
- dispose = listen_dev(svg, "click", /*click_handler_1*/ ctx[26], false, false, false);
21277
+ dispose = listen_dev(svg, "click", /*click_handler_1*/ ctx[28], false, false, false);
21257
21278
  mounted = true;
21258
21279
  }
21259
21280
  },
@@ -21271,17 +21292,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21271
21292
 
21272
21293
  dispatch_dev("SvelteRegisterBlock", {
21273
21294
  block,
21274
- id: create_if_block_8$3.name,
21295
+ id: create_if_block_9$3.name,
21275
21296
  type: "if",
21276
- source: "(139:10) {#if isCurrentPasswordVisible}",
21297
+ source: "(145:10) {#if isCurrentPasswordVisible}",
21277
21298
  ctx
21278
21299
  });
21279
21300
 
21280
21301
  return block;
21281
21302
  }
21282
21303
 
21283
- // (144:10) {#if invalidCurrentPassword}
21284
- function create_if_block_7$4(ctx) {
21304
+ // (150:10) {#if invalidCurrentPassword}
21305
+ function create_if_block_8$3(ctx) {
21285
21306
  let p;
21286
21307
 
21287
21308
  const block = {
@@ -21289,7 +21310,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21289
21310
  p = element("p");
21290
21311
  p.textContent = "The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.";
21291
21312
  attr_dev(p, "class", "InvalidInput");
21292
- add_location(p, file$j, 144, 12, 8300);
21313
+ add_location(p, file$j, 150, 12, 8581);
21293
21314
  },
21294
21315
  m: function mount(target, anchor) {
21295
21316
  insert_dev(target, p, anchor);
@@ -21301,16 +21322,16 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21301
21322
 
21302
21323
  dispatch_dev("SvelteRegisterBlock", {
21303
21324
  block,
21304
- id: create_if_block_7$4.name,
21325
+ id: create_if_block_8$3.name,
21305
21326
  type: "if",
21306
- source: "(144:10) {#if invalidCurrentPassword}",
21327
+ source: "(150:10) {#if invalidCurrentPassword}",
21307
21328
  ctx
21308
21329
  });
21309
21330
 
21310
21331
  return block;
21311
21332
  }
21312
21333
 
21313
- // (153:10) {:else}
21334
+ // (159:10) {:else}
21314
21335
  function create_else_block_2$4(ctx) {
21315
21336
  let svg;
21316
21337
  let defs;
@@ -21332,26 +21353,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21332
21353
  g = svg_element("g");
21333
21354
  path = svg_element("path");
21334
21355
  circle = svg_element("circle");
21335
- add_location(style, file$j, 153, 241, 10894);
21336
- add_location(defs, file$j, 153, 235, 10888);
21356
+ add_location(style, file$j, 159, 241, 11175);
21357
+ add_location(defs, file$j, 159, 235, 11169);
21337
21358
  attr_dev(path, "class", "a");
21338
21359
  attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
21339
21360
  attr_dev(path, "transform", "translate(0)");
21340
- add_location(path, file$j, 153, 319, 10972);
21361
+ add_location(path, file$j, 159, 319, 11253);
21341
21362
  attr_dev(circle, "class", "a");
21342
21363
  attr_dev(circle, "cx", "2.779");
21343
21364
  attr_dev(circle, "cy", "2.779");
21344
21365
  attr_dev(circle, "r", "2.779");
21345
21366
  attr_dev(circle, "transform", "translate(20.827 30.303)");
21346
- add_location(circle, file$j, 153, 1089, 11742);
21367
+ add_location(circle, file$j, 159, 1089, 12023);
21347
21368
  attr_dev(g, "transform", "translate(-14.185 -27.832)");
21348
- add_location(g, file$j, 153, 277, 10930);
21369
+ add_location(g, file$j, 159, 277, 11211);
21349
21370
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidNewPassword*/ ctx[3] ? "InvalidToggle" : ""));
21350
21371
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
21351
21372
  attr_dev(svg, "width", "18.843");
21352
21373
  attr_dev(svg, "height", "10.5");
21353
21374
  attr_dev(svg, "viewBox", "0 0 18.843 10.5");
21354
- add_location(svg, file$j, 153, 12, 10665);
21375
+ add_location(svg, file$j, 159, 12, 10946);
21355
21376
  },
21356
21377
  m: function mount(target, anchor) {
21357
21378
  insert_dev(target, svg, anchor);
@@ -21363,7 +21384,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21363
21384
  append_dev(g, circle);
21364
21385
 
21365
21386
  if (!mounted) {
21366
- dispose = listen_dev(svg, "click", /*click_handler_4*/ ctx[31], false, false, false);
21387
+ dispose = listen_dev(svg, "click", /*click_handler_4*/ ctx[33], false, false, false);
21367
21388
  mounted = true;
21368
21389
  }
21369
21390
  },
@@ -21383,15 +21404,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21383
21404
  block,
21384
21405
  id: create_else_block_2$4.name,
21385
21406
  type: "else",
21386
- source: "(153:10) {:else}",
21407
+ source: "(159:10) {:else}",
21387
21408
  ctx
21388
21409
  });
21389
21410
 
21390
21411
  return block;
21391
21412
  }
21392
21413
 
21393
- // (151:10) {#if isNewPasswordVisible}
21394
- function create_if_block_6$4(ctx) {
21414
+ // (157:10) {#if isNewPasswordVisible}
21415
+ function create_if_block_7$4(ctx) {
21395
21416
  let svg;
21396
21417
  let defs;
21397
21418
  let style;
@@ -21424,48 +21445,48 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21424
21445
  path2 = svg_element("path");
21425
21446
  path3 = svg_element("path");
21426
21447
  rect = svg_element("rect");
21427
- add_location(style, file$j, 151, 245, 9124);
21428
- add_location(defs, file$j, 151, 239, 9118);
21448
+ add_location(style, file$j, 157, 245, 9405);
21449
+ add_location(defs, file$j, 157, 239, 9399);
21429
21450
  attr_dev(circle, "class", "a");
21430
21451
  attr_dev(circle, "cx", "0.05");
21431
21452
  attr_dev(circle, "cy", "0.05");
21432
21453
  attr_dev(circle, "r", "0.05");
21433
21454
  attr_dev(circle, "transform", "translate(121.017 31.148)");
21434
- add_location(circle, file$j, 151, 324, 9203);
21455
+ add_location(circle, file$j, 157, 324, 9484);
21435
21456
  attr_dev(path0, "class", "a");
21436
21457
  attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
21437
21458
  attr_dev(path0, "transform", "translate(-142.164 -39.123)");
21438
- add_location(path0, file$j, 151, 450, 9329);
21459
+ add_location(path0, file$j, 157, 450, 9610);
21439
21460
  attr_dev(path1, "class", "a");
21440
21461
  attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
21441
21462
  attr_dev(path1, "transform", "translate(-136.413 -42.068)");
21442
- add_location(path1, file$j, 151, 558, 9437);
21463
+ add_location(path1, file$j, 157, 558, 9718);
21443
21464
  attr_dev(g0, "transform", "translate(117.499 27.37)");
21444
- add_location(g0, file$j, 151, 410, 9289);
21465
+ add_location(g0, file$j, 157, 410, 9570);
21445
21466
  attr_dev(path2, "class", "a");
21446
21467
  attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
21447
21468
  attr_dev(path2, "transform", "translate(-110.856 -33.157)");
21448
- add_location(path2, file$j, 151, 709, 9588);
21469
+ add_location(path2, file$j, 157, 709, 9869);
21449
21470
  attr_dev(path3, "class", "a");
21450
21471
  attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
21451
21472
  attr_dev(path3, "transform", "translate(-130.743 -29.617)");
21452
- add_location(path3, file$j, 151, 1168, 10047);
21473
+ add_location(path3, file$j, 157, 1168, 10328);
21453
21474
  attr_dev(g1, "transform", "translate(110.856 24.899)");
21454
- add_location(g1, file$j, 151, 668, 9547);
21475
+ add_location(g1, file$j, 157, 668, 9828);
21455
21476
  attr_dev(rect, "class", "a");
21456
21477
  attr_dev(rect, "width", "0.972");
21457
21478
  attr_dev(rect, "height", "15.861");
21458
21479
  attr_dev(rect, "rx", "0.486");
21459
21480
  attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
21460
- add_location(rect, file$j, 151, 1633, 10512);
21481
+ add_location(rect, file$j, 157, 1633, 10793);
21461
21482
  attr_dev(g2, "transform", "translate(-110.856 -23.242)");
21462
- add_location(g2, file$j, 151, 281, 9160);
21483
+ add_location(g2, file$j, 157, 281, 9441);
21463
21484
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidNewPassword*/ ctx[3] ? "InvalidToggle" : ""));
21464
21485
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
21465
21486
  attr_dev(svg, "width", "18.844");
21466
21487
  attr_dev(svg, "height", "12.887");
21467
21488
  attr_dev(svg, "viewBox", "0 0 18.844 12.887");
21468
- add_location(svg, file$j, 151, 12, 8891);
21489
+ add_location(svg, file$j, 157, 12, 9172);
21469
21490
  },
21470
21491
  m: function mount(target, anchor) {
21471
21492
  insert_dev(target, svg, anchor);
@@ -21483,7 +21504,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21483
21504
  append_dev(g2, rect);
21484
21505
 
21485
21506
  if (!mounted) {
21486
- dispose = listen_dev(svg, "click", /*click_handler_3*/ ctx[30], false, false, false);
21507
+ dispose = listen_dev(svg, "click", /*click_handler_3*/ ctx[32], false, false, false);
21487
21508
  mounted = true;
21488
21509
  }
21489
21510
  },
@@ -21501,17 +21522,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21501
21522
 
21502
21523
  dispatch_dev("SvelteRegisterBlock", {
21503
21524
  block,
21504
- id: create_if_block_6$4.name,
21525
+ id: create_if_block_7$4.name,
21505
21526
  type: "if",
21506
- source: "(151:10) {#if isNewPasswordVisible}",
21527
+ source: "(157:10) {#if isNewPasswordVisible}",
21507
21528
  ctx
21508
21529
  });
21509
21530
 
21510
21531
  return block;
21511
21532
  }
21512
21533
 
21513
- // (158:39)
21514
- function create_if_block_5$4(ctx) {
21534
+ // (164:39)
21535
+ function create_if_block_6$4(ctx) {
21515
21536
  let p;
21516
21537
 
21517
21538
  const block = {
@@ -21519,7 +21540,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21519
21540
  p = element("p");
21520
21541
  p.textContent = "The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.";
21521
21542
  attr_dev(p, "class", "InvalidInput");
21522
- add_location(p, file$j, 158, 12, 12047);
21543
+ add_location(p, file$j, 164, 12, 12328);
21523
21544
  },
21524
21545
  m: function mount(target, anchor) {
21525
21546
  insert_dev(target, p, anchor);
@@ -21531,17 +21552,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21531
21552
 
21532
21553
  dispatch_dev("SvelteRegisterBlock", {
21533
21554
  block,
21534
- id: create_if_block_5$4.name,
21555
+ id: create_if_block_6$4.name,
21535
21556
  type: "if",
21536
- source: "(158:39) ",
21557
+ source: "(164:39) ",
21537
21558
  ctx
21538
21559
  });
21539
21560
 
21540
21561
  return block;
21541
21562
  }
21542
21563
 
21543
- // (156:10) {#if oldPasswordSameAsNew}
21544
- function create_if_block_4$5(ctx) {
21564
+ // (162:10) {#if oldPasswordSameAsNew}
21565
+ function create_if_block_5$4(ctx) {
21545
21566
  let p;
21546
21567
 
21547
21568
  const block = {
@@ -21549,7 +21570,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21549
21570
  p = element("p");
21550
21571
  p.textContent = "The new password must be different from the old password.";
21551
21572
  attr_dev(p, "class", "InvalidInputNew");
21552
- add_location(p, file$j, 156, 12, 11906);
21573
+ add_location(p, file$j, 162, 12, 12187);
21553
21574
  },
21554
21575
  m: function mount(target, anchor) {
21555
21576
  insert_dev(target, p, anchor);
@@ -21561,16 +21582,16 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21561
21582
 
21562
21583
  dispatch_dev("SvelteRegisterBlock", {
21563
21584
  block,
21564
- id: create_if_block_4$5.name,
21585
+ id: create_if_block_5$4.name,
21565
21586
  type: "if",
21566
- source: "(156:10) {#if oldPasswordSameAsNew}",
21587
+ source: "(162:10) {#if oldPasswordSameAsNew}",
21567
21588
  ctx
21568
21589
  });
21569
21590
 
21570
21591
  return block;
21571
21592
  }
21572
21593
 
21573
- // (167:10) {:else}
21594
+ // (173:10) {:else}
21574
21595
  function create_else_block_1$5(ctx) {
21575
21596
  let svg;
21576
21597
  let defs;
@@ -21592,26 +21613,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21592
21613
  g = svg_element("g");
21593
21614
  path = svg_element("path");
21594
21615
  circle = svg_element("circle");
21595
- add_location(style, file$j, 167, 249, 14697);
21596
- add_location(defs, file$j, 167, 243, 14691);
21616
+ add_location(style, file$j, 173, 249, 14978);
21617
+ add_location(defs, file$j, 173, 243, 14972);
21597
21618
  attr_dev(path, "class", "a");
21598
21619
  attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
21599
21620
  attr_dev(path, "transform", "translate(0)");
21600
- add_location(path, file$j, 167, 327, 14775);
21621
+ add_location(path, file$j, 173, 327, 15056);
21601
21622
  attr_dev(circle, "class", "a");
21602
21623
  attr_dev(circle, "cx", "2.779");
21603
21624
  attr_dev(circle, "cy", "2.779");
21604
21625
  attr_dev(circle, "r", "2.779");
21605
21626
  attr_dev(circle, "transform", "translate(20.827 30.303)");
21606
- add_location(circle, file$j, 167, 1097, 15545);
21627
+ add_location(circle, file$j, 173, 1097, 15826);
21607
21628
  attr_dev(g, "transform", "translate(-14.185 -27.832)");
21608
- add_location(g, file$j, 167, 285, 14733);
21629
+ add_location(g, file$j, 173, 285, 15014);
21609
21630
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidToggle" : ""));
21610
21631
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
21611
21632
  attr_dev(svg, "width", "18.843");
21612
21633
  attr_dev(svg, "height", "10.5");
21613
21634
  attr_dev(svg, "viewBox", "0 0 18.843 10.5");
21614
- add_location(svg, file$j, 167, 12, 14460);
21635
+ add_location(svg, file$j, 173, 12, 14741);
21615
21636
  },
21616
21637
  m: function mount(target, anchor) {
21617
21638
  insert_dev(target, svg, anchor);
@@ -21623,7 +21644,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21623
21644
  append_dev(g, circle);
21624
21645
 
21625
21646
  if (!mounted) {
21626
- dispose = listen_dev(svg, "click", /*click_handler_6*/ ctx[35], false, false, false);
21647
+ dispose = listen_dev(svg, "click", /*click_handler_6*/ ctx[37], false, false, false);
21627
21648
  mounted = true;
21628
21649
  }
21629
21650
  },
@@ -21643,15 +21664,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21643
21664
  block,
21644
21665
  id: create_else_block_1$5.name,
21645
21666
  type: "else",
21646
- source: "(167:10) {:else}",
21667
+ source: "(173:10) {:else}",
21647
21668
  ctx
21648
21669
  });
21649
21670
 
21650
21671
  return block;
21651
21672
  }
21652
21673
 
21653
- // (165:10) {#if isConfirmPasswordVisible}
21654
- function create_if_block_3$7(ctx) {
21674
+ // (171:10) {#if isConfirmPasswordVisible}
21675
+ function create_if_block_4$5(ctx) {
21655
21676
  let svg;
21656
21677
  let defs;
21657
21678
  let style;
@@ -21684,48 +21705,48 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21684
21705
  path2 = svg_element("path");
21685
21706
  path3 = svg_element("path");
21686
21707
  rect = svg_element("rect");
21687
- add_location(style, file$j, 165, 253, 12919);
21688
- add_location(defs, file$j, 165, 247, 12913);
21708
+ add_location(style, file$j, 171, 253, 13200);
21709
+ add_location(defs, file$j, 171, 247, 13194);
21689
21710
  attr_dev(circle, "class", "a");
21690
21711
  attr_dev(circle, "cx", "0.05");
21691
21712
  attr_dev(circle, "cy", "0.05");
21692
21713
  attr_dev(circle, "r", "0.05");
21693
21714
  attr_dev(circle, "transform", "translate(121.017 31.148)");
21694
- add_location(circle, file$j, 165, 332, 12998);
21715
+ add_location(circle, file$j, 171, 332, 13279);
21695
21716
  attr_dev(path0, "class", "a");
21696
21717
  attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
21697
21718
  attr_dev(path0, "transform", "translate(-142.164 -39.123)");
21698
- add_location(path0, file$j, 165, 458, 13124);
21719
+ add_location(path0, file$j, 171, 458, 13405);
21699
21720
  attr_dev(path1, "class", "a");
21700
21721
  attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
21701
21722
  attr_dev(path1, "transform", "translate(-136.413 -42.068)");
21702
- add_location(path1, file$j, 165, 566, 13232);
21723
+ add_location(path1, file$j, 171, 566, 13513);
21703
21724
  attr_dev(g0, "transform", "translate(117.499 27.37)");
21704
- add_location(g0, file$j, 165, 418, 13084);
21725
+ add_location(g0, file$j, 171, 418, 13365);
21705
21726
  attr_dev(path2, "class", "a");
21706
21727
  attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
21707
21728
  attr_dev(path2, "transform", "translate(-110.856 -33.157)");
21708
- add_location(path2, file$j, 165, 717, 13383);
21729
+ add_location(path2, file$j, 171, 717, 13664);
21709
21730
  attr_dev(path3, "class", "a");
21710
21731
  attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
21711
21732
  attr_dev(path3, "transform", "translate(-130.743 -29.617)");
21712
- add_location(path3, file$j, 165, 1176, 13842);
21733
+ add_location(path3, file$j, 171, 1176, 14123);
21713
21734
  attr_dev(g1, "transform", "translate(110.856 24.899)");
21714
- add_location(g1, file$j, 165, 676, 13342);
21735
+ add_location(g1, file$j, 171, 676, 13623);
21715
21736
  attr_dev(rect, "class", "a");
21716
21737
  attr_dev(rect, "width", "0.972");
21717
21738
  attr_dev(rect, "height", "15.861");
21718
21739
  attr_dev(rect, "rx", "0.486");
21719
21740
  attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
21720
- add_location(rect, file$j, 165, 1641, 14307);
21741
+ add_location(rect, file$j, 171, 1641, 14588);
21721
21742
  attr_dev(g2, "transform", "translate(-110.856 -23.242)");
21722
- add_location(g2, file$j, 165, 289, 12955);
21743
+ add_location(g2, file$j, 171, 289, 13236);
21723
21744
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidToggle" : ""));
21724
21745
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
21725
21746
  attr_dev(svg, "width", "18.844");
21726
21747
  attr_dev(svg, "height", "12.887");
21727
21748
  attr_dev(svg, "viewBox", "0 0 18.844 12.887");
21728
- add_location(svg, file$j, 165, 12, 12678);
21749
+ add_location(svg, file$j, 171, 12, 12959);
21729
21750
  },
21730
21751
  m: function mount(target, anchor) {
21731
21752
  insert_dev(target, svg, anchor);
@@ -21743,7 +21764,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21743
21764
  append_dev(g2, rect);
21744
21765
 
21745
21766
  if (!mounted) {
21746
- dispose = listen_dev(svg, "click", /*click_handler_5*/ ctx[34], false, false, false);
21767
+ dispose = listen_dev(svg, "click", /*click_handler_5*/ ctx[36], false, false, false);
21747
21768
  mounted = true;
21748
21769
  }
21749
21770
  },
@@ -21761,17 +21782,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21761
21782
 
21762
21783
  dispatch_dev("SvelteRegisterBlock", {
21763
21784
  block,
21764
- id: create_if_block_3$7.name,
21785
+ id: create_if_block_4$5.name,
21765
21786
  type: "if",
21766
- source: "(165:10) {#if isConfirmPasswordVisible}",
21787
+ source: "(171:10) {#if isConfirmPasswordVisible}",
21767
21788
  ctx
21768
21789
  });
21769
21790
 
21770
21791
  return block;
21771
21792
  }
21772
21793
 
21773
- // (170:10) {#if invalidConfirmPassword}
21774
- function create_if_block_2$9(ctx) {
21794
+ // (176:10) {#if invalidConfirmPassword}
21795
+ function create_if_block_3$7(ctx) {
21775
21796
  let p;
21776
21797
 
21777
21798
  const block = {
@@ -21779,7 +21800,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21779
21800
  p = element("p");
21780
21801
  p.textContent = "Password must match the new password and must follow the same rules.";
21781
21802
  attr_dev(p, "class", "InvalidInput");
21782
- add_location(p, file$j, 170, 12, 15711);
21803
+ add_location(p, file$j, 176, 12, 15992);
21783
21804
  },
21784
21805
  m: function mount(target, anchor) {
21785
21806
  insert_dev(target, p, anchor);
@@ -21789,11 +21810,50 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21789
21810
  }
21790
21811
  };
21791
21812
 
21813
+ dispatch_dev("SvelteRegisterBlock", {
21814
+ block,
21815
+ id: create_if_block_3$7.name,
21816
+ type: "if",
21817
+ source: "(176:10) {#if invalidConfirmPassword}",
21818
+ ctx
21819
+ });
21820
+
21821
+ return block;
21822
+ }
21823
+
21824
+ // (181:6) {#if showErrorPasswordChanged}
21825
+ function create_if_block_2$9(ctx) {
21826
+ let div;
21827
+ let p;
21828
+ let t;
21829
+
21830
+ const block = {
21831
+ c: function create() {
21832
+ div = element("div");
21833
+ p = element("p");
21834
+ t = text(/*errorPasswordChanged*/ ctx[15]);
21835
+ attr_dev(p, "class", "PasswordChangedError");
21836
+ add_location(p, file$j, 182, 10, 16198);
21837
+ add_location(div, file$j, 181, 8, 16182);
21838
+ },
21839
+ m: function mount(target, anchor) {
21840
+ insert_dev(target, div, anchor);
21841
+ append_dev(div, p);
21842
+ append_dev(p, t);
21843
+ },
21844
+ p: function update(ctx, dirty) {
21845
+ if (dirty[0] & /*errorPasswordChanged*/ 32768) set_data_dev(t, /*errorPasswordChanged*/ ctx[15]);
21846
+ },
21847
+ d: function destroy(detaching) {
21848
+ if (detaching) detach_dev(div);
21849
+ }
21850
+ };
21851
+
21792
21852
  dispatch_dev("SvelteRegisterBlock", {
21793
21853
  block,
21794
21854
  id: create_if_block_2$9.name,
21795
21855
  type: "if",
21796
- source: "(170:10) {#if invalidConfirmPassword}",
21856
+ source: "(181:6) {#if showErrorPasswordChanged}",
21797
21857
  ctx
21798
21858
  });
21799
21859
 
@@ -21804,7 +21864,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21804
21864
  let if_block_anchor;
21805
21865
 
21806
21866
  function select_block_type(ctx, dirty) {
21807
- if (/*isLoading*/ ctx[15]) return create_if_block$i;
21867
+ if (/*isLoading*/ ctx[17]) return create_if_block$i;
21808
21868
  return create_else_block$d;
21809
21869
  }
21810
21870
 
@@ -21873,6 +21933,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21873
21933
  let userNewPassword = "";
21874
21934
  let userConfirmPassword = "";
21875
21935
  let passwordChanged = false;
21936
+ let errorPasswordChanged = "";
21937
+ let showErrorPasswordChanged = false;
21876
21938
 
21877
21939
  const togglePassword = field => {
21878
21940
  switch (field) {
@@ -21965,6 +22027,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
21965
22027
  case "PasswordChangedSuccessfully":
21966
22028
  $$invalidate(0, passwordChanged = true);
21967
22029
  break;
22030
+ case "ShowPasswordChangedError":
22031
+ $$invalidate(16, showErrorPasswordChanged = e.data.showErrorPasswordChanged);
22032
+ $$invalidate(15, errorPasswordChanged = e.data.errorPasswordChanged);
22033
+ break;
21968
22034
  }
21969
22035
  }
21970
22036
  };
@@ -22056,6 +22122,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22056
22122
  userNewPassword,
22057
22123
  userConfirmPassword,
22058
22124
  passwordChanged,
22125
+ errorPasswordChanged,
22126
+ showErrorPasswordChanged,
22059
22127
  togglePassword,
22060
22128
  validatePassword,
22061
22129
  checkUserPassword,
@@ -22068,9 +22136,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22068
22136
  });
22069
22137
 
22070
22138
  $$self.$inject_state = $$props => {
22071
- if ("isLoading" in $$props) $$invalidate(15, isLoading = $$props.isLoading);
22139
+ if ("isLoading" in $$props) $$invalidate(17, isLoading = $$props.isLoading);
22072
22140
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
22073
- if ("isMobile" in $$props) $$invalidate(16, isMobile = $$props.isMobile);
22141
+ if ("isMobile" in $$props) $$invalidate(18, isMobile = $$props.isMobile);
22074
22142
  if ("activateSubmit" in $$props) $$invalidate(1, activateSubmit = $$props.activateSubmit);
22075
22143
  if ("invalidCurrentPassword" in $$props) $$invalidate(2, invalidCurrentPassword = $$props.invalidCurrentPassword);
22076
22144
  if ("invalidNewPassword" in $$props) $$invalidate(3, invalidNewPassword = $$props.invalidNewPassword);
@@ -22086,6 +22154,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22086
22154
  if ("userNewPassword" in $$props) $$invalidate(13, userNewPassword = $$props.userNewPassword);
22087
22155
  if ("userConfirmPassword" in $$props) $$invalidate(14, userConfirmPassword = $$props.userConfirmPassword);
22088
22156
  if ("passwordChanged" in $$props) $$invalidate(0, passwordChanged = $$props.passwordChanged);
22157
+ if ("errorPasswordChanged" in $$props) $$invalidate(15, errorPasswordChanged = $$props.errorPasswordChanged);
22158
+ if ("showErrorPasswordChanged" in $$props) $$invalidate(16, showErrorPasswordChanged = $$props.showErrorPasswordChanged);
22089
22159
  };
22090
22160
 
22091
22161
  if ($$props && "$$inject" in $$props) {
@@ -22112,6 +22182,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22112
22182
  userCurrentPassword,
22113
22183
  userNewPassword,
22114
22184
  userConfirmPassword,
22185
+ errorPasswordChanged,
22186
+ showErrorPasswordChanged,
22115
22187
  isLoading,
22116
22188
  isMobile,
22117
22189
  mediaQuery,
@@ -22142,7 +22214,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22142
22214
  class PlayerChangePassword extends SvelteElement {
22143
22215
  constructor(options) {
22144
22216
  super();
22145
- this.shadowRoot.innerHTML = `<style>.PlayerChangePasswordWrapper{color:#07072A;padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:#58586B}.InvalidInput,.InvalidInputNew{color:#D0046C;font-size:10px;position:absolute;bottom:-25px;margin:0;line-height:10px}.InvalidInputNew{bottom:-24px}.ChangedPasswordSuccessfully{color:#fff;position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid #16CE16;border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:solid #16CE16;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:#16CE16}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid #D0046C;background:#D0046C;max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:#D0046C;background:#fff}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;height:100%}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:#58586B}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:#58586B}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:40px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:#58586B}</style>`;
22217
+ this.shadowRoot.innerHTML = `<style>.PlayerChangePasswordWrapper{color:#07072A;padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:#58586B}.InvalidInput,.InvalidInputNew{color:#D0046C;font-size:10px;position:absolute;bottom:-25px;margin:0;line-height:10px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:#FD2839;font-size:16px;line-height:19.2px;margin-top:0}.ChangedPasswordSuccessfully{color:#fff;position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid #16CE16;border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:solid #16CE16;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:#16CE16}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid #D0046C;background:#D0046C;max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:#D0046C;background:#fff}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;height:100%}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:#58586B}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:#58586B}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:40px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:#58586B}</style>`;
22146
22218
 
22147
22219
  init(
22148
22220
  this,
@@ -43027,7 +43099,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43027
43099
  const { Object: Object_1, console: console_1 } = globals;
43028
43100
  const file = "src/PlayerAccountController.svelte";
43029
43101
 
43030
- // (491:0) {:else}
43102
+ // (505:0) {:else}
43031
43103
  function create_else_block(ctx) {
43032
43104
  let section;
43033
43105
 
@@ -43044,7 +43116,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43044
43116
  section = element("section");
43045
43117
  if_block.c();
43046
43118
  attr_dev(section, "class", "PlayerAccountPage " + (/*isMobile*/ ctx[14] ? "PlayerAccountMobilePage" : ""));
43047
- add_location(section, file, 491, 2, 18184);
43119
+ add_location(section, file, 505, 2, 19160);
43048
43120
  },
43049
43121
  m: function mount(target, anchor) {
43050
43122
  insert_dev(target, section, anchor);
@@ -43063,14 +43135,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43063
43135
  block,
43064
43136
  id: create_else_block.name,
43065
43137
  type: "else",
43066
- source: "(491:0) {:else}",
43138
+ source: "(505:0) {:else}",
43067
43139
  ctx
43068
43140
  });
43069
43141
 
43070
43142
  return block;
43071
43143
  }
43072
43144
 
43073
- // (489:0) {#if isLoading}
43145
+ // (503:0) {#if isLoading}
43074
43146
  function create_if_block(ctx) {
43075
43147
  let div;
43076
43148
 
@@ -43078,7 +43150,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43078
43150
  c: function create() {
43079
43151
  div = element("div");
43080
43152
  attr_dev(div, "class", "ModalLoader");
43081
- add_location(div, file, 489, 2, 18142);
43153
+ add_location(div, file, 503, 2, 19118);
43082
43154
  },
43083
43155
  m: function mount(target, anchor) {
43084
43156
  insert_dev(target, div, anchor);
@@ -43093,14 +43165,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43093
43165
  block,
43094
43166
  id: create_if_block.name,
43095
43167
  type: "if",
43096
- source: "(489:0) {#if isLoading}",
43168
+ source: "(503:0) {#if isLoading}",
43097
43169
  ctx
43098
43170
  });
43099
43171
 
43100
43172
  return block;
43101
43173
  }
43102
43174
 
43103
- // (530:4) {:else}
43175
+ // (544:4) {:else}
43104
43176
  function create_else_block_1(ctx) {
43105
43177
  let nav;
43106
43178
  let player_account_menu;
@@ -43143,12 +43215,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43143
43215
  set_custom_element_data(player_account_menu, "endpoint", /*endpoint*/ ctx[3]);
43144
43216
  set_custom_element_data(player_account_menu, "session", /*session*/ ctx[2]);
43145
43217
  set_custom_element_data(player_account_menu, "playerid", /*playerid*/ ctx[1]);
43146
- add_location(player_account_menu, file, 531, 8, 20726);
43147
- add_location(nav, file, 530, 6, 20712);
43148
- add_location(main, file, 533, 6, 20821);
43218
+ add_location(player_account_menu, file, 545, 8, 21702);
43219
+ add_location(nav, file, 544, 6, 21688);
43220
+ add_location(main, file, 547, 6, 21797);
43149
43221
  set_custom_element_data(player_account_notifications, "customnotif", /*customnotifications*/ ctx[0]);
43150
- add_location(player_account_notifications, file, 565, 8, 22973);
43151
- add_location(aside, file, 564, 6, 22957);
43222
+ add_location(player_account_notifications, file, 579, 8, 23949);
43223
+ add_location(aside, file, 578, 6, 23933);
43152
43224
  },
43153
43225
  m: function mount(target, anchor) {
43154
43226
  insert_dev(target, nav, anchor);
@@ -43207,14 +43279,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43207
43279
  block,
43208
43280
  id: create_else_block_1.name,
43209
43281
  type: "else",
43210
- source: "(530:4) {:else}",
43282
+ source: "(544:4) {:else}",
43211
43283
  ctx
43212
43284
  });
43213
43285
 
43214
43286
  return block;
43215
43287
  }
43216
43288
 
43217
- // (493:4) {#if isMobile}
43289
+ // (507:4) {#if isMobile}
43218
43290
  function create_if_block_1(ctx) {
43219
43291
  let if_block_anchor;
43220
43292
 
@@ -43274,14 +43346,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43274
43346
  block,
43275
43347
  id: create_if_block_1.name,
43276
43348
  type: "if",
43277
- source: "(493:4) {#if isMobile}",
43349
+ source: "(507:4) {#if isMobile}",
43278
43350
  ctx
43279
43351
  });
43280
43352
 
43281
43353
  return block;
43282
43354
  }
43283
43355
 
43284
- // (561:64)
43356
+ // (575:64)
43285
43357
  function create_if_block_30(ctx) {
43286
43358
  let player_transaction_history;
43287
43359
 
@@ -43291,7 +43363,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43291
43363
  set_custom_element_data(player_transaction_history, "endpoint", /*endpoint*/ ctx[3]);
43292
43364
  set_custom_element_data(player_transaction_history, "session", /*session*/ ctx[2]);
43293
43365
  set_custom_element_data(player_transaction_history, "playerid", /*playerid*/ ctx[1]);
43294
- add_location(player_transaction_history, file, 561, 10, 22833);
43366
+ add_location(player_transaction_history, file, 575, 10, 23809);
43295
43367
  },
43296
43368
  m: function mount(target, anchor) {
43297
43369
  insert_dev(target, player_transaction_history, anchor);
@@ -43318,14 +43390,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43318
43390
  block,
43319
43391
  id: create_if_block_30.name,
43320
43392
  type: "if",
43321
- source: "(561:64) ",
43393
+ source: "(575:64) ",
43322
43394
  ctx
43323
43395
  });
43324
43396
 
43325
43397
  return block;
43326
43398
  }
43327
43399
 
43328
- // (559:64)
43400
+ // (573:64)
43329
43401
  function create_if_block_29(ctx) {
43330
43402
  let player_pending_withdrawals;
43331
43403
 
@@ -43335,7 +43407,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43335
43407
  set_custom_element_data(player_pending_withdrawals, "endpoint", /*endpoint*/ ctx[3]);
43336
43408
  set_custom_element_data(player_pending_withdrawals, "session", /*session*/ ctx[2]);
43337
43409
  set_custom_element_data(player_pending_withdrawals, "playerid", /*playerid*/ ctx[1]);
43338
- add_location(player_pending_withdrawals, file, 559, 10, 22668);
43410
+ add_location(player_pending_withdrawals, file, 573, 10, 23644);
43339
43411
  },
43340
43412
  m: function mount(target, anchor) {
43341
43413
  insert_dev(target, player_pending_withdrawals, anchor);
@@ -43362,14 +43434,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43362
43434
  block,
43363
43435
  id: create_if_block_29.name,
43364
43436
  type: "if",
43365
- source: "(559:64) ",
43437
+ source: "(573:64) ",
43366
43438
  ctx
43367
43439
  });
43368
43440
 
43369
43441
  return block;
43370
43442
  }
43371
43443
 
43372
- // (557:64)
43444
+ // (571:64)
43373
43445
  function create_if_block_28(ctx) {
43374
43446
  let player_withdrawal;
43375
43447
 
@@ -43379,7 +43451,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43379
43451
  set_custom_element_data(player_withdrawal, "endpoint", /*endpoint*/ ctx[3]);
43380
43452
  set_custom_element_data(player_withdrawal, "session", /*session*/ ctx[2]);
43381
43453
  set_custom_element_data(player_withdrawal, "playerid", /*playerid*/ ctx[1]);
43382
- add_location(player_withdrawal, file, 557, 10, 22521);
43454
+ add_location(player_withdrawal, file, 571, 10, 23497);
43383
43455
  },
43384
43456
  m: function mount(target, anchor) {
43385
43457
  insert_dev(target, player_withdrawal, anchor);
@@ -43406,14 +43478,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43406
43478
  block,
43407
43479
  id: create_if_block_28.name,
43408
43480
  type: "if",
43409
- source: "(557:64) ",
43481
+ source: "(571:64) ",
43410
43482
  ctx
43411
43483
  });
43412
43484
 
43413
43485
  return block;
43414
43486
  }
43415
43487
 
43416
- // (555:64)
43488
+ // (569:64)
43417
43489
  function create_if_block_27(ctx) {
43418
43490
  let player_deposit;
43419
43491
 
@@ -43423,7 +43495,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43423
43495
  set_custom_element_data(player_deposit, "endpoint", /*endpoint*/ ctx[3]);
43424
43496
  set_custom_element_data(player_deposit, "session", /*session*/ ctx[2]);
43425
43497
  set_custom_element_data(player_deposit, "playerid", /*playerid*/ ctx[1]);
43426
- add_location(player_deposit, file, 555, 10, 22380);
43498
+ add_location(player_deposit, file, 569, 10, 23356);
43427
43499
  },
43428
43500
  m: function mount(target, anchor) {
43429
43501
  insert_dev(target, player_deposit, anchor);
@@ -43450,14 +43522,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43450
43522
  block,
43451
43523
  id: create_if_block_27.name,
43452
43524
  type: "if",
43453
- source: "(555:64) ",
43525
+ source: "(569:64) ",
43454
43526
  ctx
43455
43527
  });
43456
43528
 
43457
43529
  return block;
43458
43530
  }
43459
43531
 
43460
- // (553:63)
43532
+ // (567:63)
43461
43533
  function create_if_block_26(ctx) {
43462
43534
  let player_gaming_history;
43463
43535
 
@@ -43467,7 +43539,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43467
43539
  set_custom_element_data(player_gaming_history, "endpoint", /*endpoint*/ ctx[3]);
43468
43540
  set_custom_element_data(player_gaming_history, "session", /*session*/ ctx[2]);
43469
43541
  set_custom_element_data(player_gaming_history, "playerid", /*playerid*/ ctx[1]);
43470
- add_location(player_gaming_history, file, 553, 10, 22225);
43542
+ add_location(player_gaming_history, file, 567, 10, 23201);
43471
43543
  },
43472
43544
  m: function mount(target, anchor) {
43473
43545
  insert_dev(target, player_gaming_history, anchor);
@@ -43494,14 +43566,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43494
43566
  block,
43495
43567
  id: create_if_block_26.name,
43496
43568
  type: "if",
43497
- source: "(553:63) ",
43569
+ source: "(567:63) ",
43498
43570
  ctx
43499
43571
  });
43500
43572
 
43501
43573
  return block;
43502
43574
  }
43503
43575
 
43504
- // (551:63)
43576
+ // (565:63)
43505
43577
  function create_if_block_25(ctx) {
43506
43578
  let player_bonus_history;
43507
43579
 
@@ -43511,7 +43583,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43511
43583
  set_custom_element_data(player_bonus_history, "endpoint", /*endpoint*/ ctx[3]);
43512
43584
  set_custom_element_data(player_bonus_history, "session", /*session*/ ctx[2]);
43513
43585
  set_custom_element_data(player_bonus_history, "playerid", /*playerid*/ ctx[1]);
43514
- add_location(player_bonus_history, file, 551, 10, 22073);
43586
+ add_location(player_bonus_history, file, 565, 10, 23049);
43515
43587
  },
43516
43588
  m: function mount(target, anchor) {
43517
43589
  insert_dev(target, player_bonus_history, anchor);
@@ -43538,14 +43610,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43538
43610
  block,
43539
43611
  id: create_if_block_25.name,
43540
43612
  type: "if",
43541
- source: "(551:63) ",
43613
+ source: "(565:63) ",
43542
43614
  ctx
43543
43615
  });
43544
43616
 
43545
43617
  return block;
43546
43618
  }
43547
43619
 
43548
- // (549:63)
43620
+ // (563:63)
43549
43621
  function create_if_block_24(ctx) {
43550
43622
  let player_active_bonuses;
43551
43623
 
@@ -43555,7 +43627,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43555
43627
  set_custom_element_data(player_active_bonuses, "endpoint", /*endpoint*/ ctx[3]);
43556
43628
  set_custom_element_data(player_active_bonuses, "session", /*session*/ ctx[2]);
43557
43629
  set_custom_element_data(player_active_bonuses, "playerid", /*playerid*/ ctx[1]);
43558
- add_location(player_active_bonuses, file, 549, 10, 21919);
43630
+ add_location(player_active_bonuses, file, 563, 10, 22895);
43559
43631
  },
43560
43632
  m: function mount(target, anchor) {
43561
43633
  insert_dev(target, player_active_bonuses, anchor);
@@ -43582,21 +43654,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43582
43654
  block,
43583
43655
  id: create_if_block_24.name,
43584
43656
  type: "if",
43585
- source: "(549:63) ",
43657
+ source: "(563:63) ",
43586
43658
  ctx
43587
43659
  });
43588
43660
 
43589
43661
  return block;
43590
43662
  }
43591
43663
 
43592
- // (547:63)
43664
+ // (561:63)
43593
43665
  function create_if_block_23(ctx) {
43594
43666
  let player_account_self_exclusion;
43595
43667
 
43596
43668
  const block = {
43597
43669
  c: function create() {
43598
43670
  player_account_self_exclusion = element("player-account-self-exclusion");
43599
- add_location(player_account_self_exclusion, file, 547, 10, 21781);
43671
+ add_location(player_account_self_exclusion, file, 561, 10, 22757);
43600
43672
  },
43601
43673
  m: function mount(target, anchor) {
43602
43674
  insert_dev(target, player_account_self_exclusion, anchor);
@@ -43611,14 +43683,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43611
43683
  block,
43612
43684
  id: create_if_block_23.name,
43613
43685
  type: "if",
43614
- source: "(547:63) ",
43686
+ source: "(561:63) ",
43615
43687
  ctx
43616
43688
  });
43617
43689
 
43618
43690
  return block;
43619
43691
  }
43620
43692
 
43621
- // (545:63)
43693
+ // (559:63)
43622
43694
  function create_if_block_22(ctx) {
43623
43695
  let player_account_gaming_limits;
43624
43696
 
@@ -43631,7 +43703,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43631
43703
  set_custom_element_data(player_account_gaming_limits, "timelimit", /*timelimit*/ ctx[8]);
43632
43704
  set_custom_element_data(player_account_gaming_limits, "showsuccessnotification", /*showsuccessnotification*/ ctx[9]);
43633
43705
  set_custom_element_data(player_account_gaming_limits, "showdeletenotification", /*showdeletenotification*/ ctx[10]);
43634
- add_location(player_account_gaming_limits, file, 545, 10, 21539);
43706
+ add_location(player_account_gaming_limits, file, 559, 10, 22515);
43635
43707
  },
43636
43708
  m: function mount(target, anchor) {
43637
43709
  insert_dev(target, player_account_gaming_limits, anchor);
@@ -43670,21 +43742,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43670
43742
  block,
43671
43743
  id: create_if_block_22.name,
43672
43744
  type: "if",
43673
- source: "(545:63) ",
43745
+ source: "(559:63) ",
43674
43746
  ctx
43675
43747
  });
43676
43748
 
43677
43749
  return block;
43678
43750
  }
43679
43751
 
43680
- // (543:63)
43752
+ // (557:63)
43681
43753
  function create_if_block_21(ctx) {
43682
43754
  let player_account_closure;
43683
43755
 
43684
43756
  const block = {
43685
43757
  c: function create() {
43686
43758
  player_account_closure = element("player-account-closure");
43687
- add_location(player_account_closure, file, 543, 10, 21415);
43759
+ add_location(player_account_closure, file, 557, 10, 22391);
43688
43760
  },
43689
43761
  m: function mount(target, anchor) {
43690
43762
  insert_dev(target, player_account_closure, anchor);
@@ -43699,21 +43771,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43699
43771
  block,
43700
43772
  id: create_if_block_21.name,
43701
43773
  type: "if",
43702
- source: "(543:63) ",
43774
+ source: "(557:63) ",
43703
43775
  ctx
43704
43776
  });
43705
43777
 
43706
43778
  return block;
43707
43779
  }
43708
43780
 
43709
- // (541:63)
43781
+ // (555:63)
43710
43782
  function create_if_block_20(ctx) {
43711
43783
  let player_account_timeout;
43712
43784
 
43713
43785
  const block = {
43714
43786
  c: function create() {
43715
43787
  player_account_timeout = element("player-account-timeout");
43716
- add_location(player_account_timeout, file, 541, 10, 21291);
43788
+ add_location(player_account_timeout, file, 555, 10, 22267);
43717
43789
  },
43718
43790
  m: function mount(target, anchor) {
43719
43791
  insert_dev(target, player_account_timeout, anchor);
@@ -43728,14 +43800,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43728
43800
  block,
43729
43801
  id: create_if_block_20.name,
43730
43802
  type: "if",
43731
- source: "(541:63) ",
43803
+ source: "(555:63) ",
43732
43804
  ctx
43733
43805
  });
43734
43806
 
43735
43807
  return block;
43736
43808
  }
43737
43809
 
43738
- // (539:63)
43810
+ // (553:63)
43739
43811
  function create_if_block_19(ctx) {
43740
43812
  let player_reality_check;
43741
43813
 
@@ -43743,7 +43815,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43743
43815
  c: function create() {
43744
43816
  player_reality_check = element("player-reality-check");
43745
43817
  set_custom_element_data(player_reality_check, "realitycheck", /*realityCheckData*/ ctx[11]);
43746
- add_location(player_reality_check, file, 539, 10, 21139);
43818
+ add_location(player_reality_check, file, 553, 10, 22115);
43747
43819
  },
43748
43820
  m: function mount(target, anchor) {
43749
43821
  insert_dev(target, player_reality_check, anchor);
@@ -43762,21 +43834,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43762
43834
  block,
43763
43835
  id: create_if_block_19.name,
43764
43836
  type: "if",
43765
- source: "(539:63) ",
43837
+ source: "(553:63) ",
43766
43838
  ctx
43767
43839
  });
43768
43840
 
43769
43841
  return block;
43770
43842
  }
43771
43843
 
43772
- // (537:63)
43844
+ // (551:63)
43773
43845
  function create_if_block_18(ctx) {
43774
43846
  let player_change_password;
43775
43847
 
43776
43848
  const block = {
43777
43849
  c: function create() {
43778
43850
  player_change_password = element("player-change-password");
43779
- add_location(player_change_password, file, 537, 10, 21015);
43851
+ add_location(player_change_password, file, 551, 10, 21991);
43780
43852
  },
43781
43853
  m: function mount(target, anchor) {
43782
43854
  insert_dev(target, player_change_password, anchor);
@@ -43791,21 +43863,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43791
43863
  block,
43792
43864
  id: create_if_block_18.name,
43793
43865
  type: "if",
43794
- source: "(537:63) ",
43866
+ source: "(551:63) ",
43795
43867
  ctx
43796
43868
  });
43797
43869
 
43798
43870
  return block;
43799
43871
  }
43800
43872
 
43801
- // (535:8) {#if switchContent && pageName === widgetTitle[0]}
43873
+ // (549:8) {#if switchContent && pageName === widgetTitle[0]}
43802
43874
  function create_if_block_17(ctx) {
43803
43875
  let player_profile_info;
43804
43876
 
43805
43877
  const block = {
43806
43878
  c: function create() {
43807
43879
  player_profile_info = element("player-profile-info");
43808
- add_location(player_profile_info, file, 535, 10, 20897);
43880
+ add_location(player_profile_info, file, 549, 10, 21873);
43809
43881
  },
43810
43882
  m: function mount(target, anchor) {
43811
43883
  insert_dev(target, player_profile_info, anchor);
@@ -43820,14 +43892,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43820
43892
  block,
43821
43893
  id: create_if_block_17.name,
43822
43894
  type: "if",
43823
- source: "(535:8) {#if switchContent && pageName === widgetTitle[0]}",
43895
+ source: "(549:8) {#if switchContent && pageName === widgetTitle[0]}",
43824
43896
  ctx
43825
43897
  });
43826
43898
 
43827
43899
  return block;
43828
43900
  }
43829
43901
 
43830
- // (526:64)
43902
+ // (540:64)
43831
43903
  function create_if_block_16(ctx) {
43832
43904
  let player_transaction_history;
43833
43905
 
@@ -43837,7 +43909,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43837
43909
  set_custom_element_data(player_transaction_history, "endpoint", /*endpoint*/ ctx[3]);
43838
43910
  set_custom_element_data(player_transaction_history, "session", /*session*/ ctx[2]);
43839
43911
  set_custom_element_data(player_transaction_history, "playerid", /*playerid*/ ctx[1]);
43840
- add_location(player_transaction_history, file, 526, 10, 20578);
43912
+ add_location(player_transaction_history, file, 540, 10, 21554);
43841
43913
  },
43842
43914
  m: function mount(target, anchor) {
43843
43915
  insert_dev(target, player_transaction_history, anchor);
@@ -43864,14 +43936,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43864
43936
  block,
43865
43937
  id: create_if_block_16.name,
43866
43938
  type: "if",
43867
- source: "(526:64) ",
43939
+ source: "(540:64) ",
43868
43940
  ctx
43869
43941
  });
43870
43942
 
43871
43943
  return block;
43872
43944
  }
43873
43945
 
43874
- // (524:64)
43946
+ // (538:64)
43875
43947
  function create_if_block_15(ctx) {
43876
43948
  let player_pending_withdrawals;
43877
43949
 
@@ -43881,7 +43953,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43881
43953
  set_custom_element_data(player_pending_withdrawals, "endpoint", /*endpoint*/ ctx[3]);
43882
43954
  set_custom_element_data(player_pending_withdrawals, "session", /*session*/ ctx[2]);
43883
43955
  set_custom_element_data(player_pending_withdrawals, "playerid", /*playerid*/ ctx[1]);
43884
- add_location(player_pending_withdrawals, file, 524, 10, 20413);
43956
+ add_location(player_pending_withdrawals, file, 538, 10, 21389);
43885
43957
  },
43886
43958
  m: function mount(target, anchor) {
43887
43959
  insert_dev(target, player_pending_withdrawals, anchor);
@@ -43908,14 +43980,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43908
43980
  block,
43909
43981
  id: create_if_block_15.name,
43910
43982
  type: "if",
43911
- source: "(524:64) ",
43983
+ source: "(538:64) ",
43912
43984
  ctx
43913
43985
  });
43914
43986
 
43915
43987
  return block;
43916
43988
  }
43917
43989
 
43918
- // (522:64)
43990
+ // (536:64)
43919
43991
  function create_if_block_14(ctx) {
43920
43992
  let player_withdrawal;
43921
43993
 
@@ -43925,7 +43997,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43925
43997
  set_custom_element_data(player_withdrawal, "endpoint", /*endpoint*/ ctx[3]);
43926
43998
  set_custom_element_data(player_withdrawal, "session", /*session*/ ctx[2]);
43927
43999
  set_custom_element_data(player_withdrawal, "playerid", /*playerid*/ ctx[1]);
43928
- add_location(player_withdrawal, file, 522, 10, 20266);
44000
+ add_location(player_withdrawal, file, 536, 10, 21242);
43929
44001
  },
43930
44002
  m: function mount(target, anchor) {
43931
44003
  insert_dev(target, player_withdrawal, anchor);
@@ -43952,14 +44024,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43952
44024
  block,
43953
44025
  id: create_if_block_14.name,
43954
44026
  type: "if",
43955
- source: "(522:64) ",
44027
+ source: "(536:64) ",
43956
44028
  ctx
43957
44029
  });
43958
44030
 
43959
44031
  return block;
43960
44032
  }
43961
44033
 
43962
- // (520:64)
44034
+ // (534:64)
43963
44035
  function create_if_block_13(ctx) {
43964
44036
  let player_deposit;
43965
44037
 
@@ -43969,7 +44041,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43969
44041
  set_custom_element_data(player_deposit, "endpoint", /*endpoint*/ ctx[3]);
43970
44042
  set_custom_element_data(player_deposit, "session", /*session*/ ctx[2]);
43971
44043
  set_custom_element_data(player_deposit, "playerid", /*playerid*/ ctx[1]);
43972
- add_location(player_deposit, file, 520, 10, 20125);
44044
+ add_location(player_deposit, file, 534, 10, 21101);
43973
44045
  },
43974
44046
  m: function mount(target, anchor) {
43975
44047
  insert_dev(target, player_deposit, anchor);
@@ -43996,14 +44068,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
43996
44068
  block,
43997
44069
  id: create_if_block_13.name,
43998
44070
  type: "if",
43999
- source: "(520:64) ",
44071
+ source: "(534:64) ",
44000
44072
  ctx
44001
44073
  });
44002
44074
 
44003
44075
  return block;
44004
44076
  }
44005
44077
 
44006
- // (518:63)
44078
+ // (532:63)
44007
44079
  function create_if_block_12(ctx) {
44008
44080
  let player_gaming_history;
44009
44081
 
@@ -44013,7 +44085,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44013
44085
  set_custom_element_data(player_gaming_history, "endpoint", /*endpoint*/ ctx[3]);
44014
44086
  set_custom_element_data(player_gaming_history, "session", /*session*/ ctx[2]);
44015
44087
  set_custom_element_data(player_gaming_history, "playerid", /*playerid*/ ctx[1]);
44016
- add_location(player_gaming_history, file, 518, 10, 19970);
44088
+ add_location(player_gaming_history, file, 532, 10, 20946);
44017
44089
  },
44018
44090
  m: function mount(target, anchor) {
44019
44091
  insert_dev(target, player_gaming_history, anchor);
@@ -44040,14 +44112,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44040
44112
  block,
44041
44113
  id: create_if_block_12.name,
44042
44114
  type: "if",
44043
- source: "(518:63) ",
44115
+ source: "(532:63) ",
44044
44116
  ctx
44045
44117
  });
44046
44118
 
44047
44119
  return block;
44048
44120
  }
44049
44121
 
44050
- // (516:63)
44122
+ // (530:63)
44051
44123
  function create_if_block_11(ctx) {
44052
44124
  let player_bonus_history;
44053
44125
 
@@ -44057,7 +44129,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44057
44129
  set_custom_element_data(player_bonus_history, "endpoint", /*endpoint*/ ctx[3]);
44058
44130
  set_custom_element_data(player_bonus_history, "session", /*session*/ ctx[2]);
44059
44131
  set_custom_element_data(player_bonus_history, "playerid", /*playerid*/ ctx[1]);
44060
- add_location(player_bonus_history, file, 516, 10, 19818);
44132
+ add_location(player_bonus_history, file, 530, 10, 20794);
44061
44133
  },
44062
44134
  m: function mount(target, anchor) {
44063
44135
  insert_dev(target, player_bonus_history, anchor);
@@ -44084,14 +44156,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44084
44156
  block,
44085
44157
  id: create_if_block_11.name,
44086
44158
  type: "if",
44087
- source: "(516:63) ",
44159
+ source: "(530:63) ",
44088
44160
  ctx
44089
44161
  });
44090
44162
 
44091
44163
  return block;
44092
44164
  }
44093
44165
 
44094
- // (514:63)
44166
+ // (528:63)
44095
44167
  function create_if_block_10(ctx) {
44096
44168
  let player_active_bonuses;
44097
44169
 
@@ -44101,7 +44173,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44101
44173
  set_custom_element_data(player_active_bonuses, "endpoint", /*endpoint*/ ctx[3]);
44102
44174
  set_custom_element_data(player_active_bonuses, "session", /*session*/ ctx[2]);
44103
44175
  set_custom_element_data(player_active_bonuses, "playerid", /*playerid*/ ctx[1]);
44104
- add_location(player_active_bonuses, file, 514, 10, 19664);
44176
+ add_location(player_active_bonuses, file, 528, 10, 20640);
44105
44177
  },
44106
44178
  m: function mount(target, anchor) {
44107
44179
  insert_dev(target, player_active_bonuses, anchor);
@@ -44128,21 +44200,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44128
44200
  block,
44129
44201
  id: create_if_block_10.name,
44130
44202
  type: "if",
44131
- source: "(514:63) ",
44203
+ source: "(528:63) ",
44132
44204
  ctx
44133
44205
  });
44134
44206
 
44135
44207
  return block;
44136
44208
  }
44137
44209
 
44138
- // (512:63)
44210
+ // (526:63)
44139
44211
  function create_if_block_9(ctx) {
44140
44212
  let player_account_self_exclusion;
44141
44213
 
44142
44214
  const block = {
44143
44215
  c: function create() {
44144
44216
  player_account_self_exclusion = element("player-account-self-exclusion");
44145
- add_location(player_account_self_exclusion, file, 512, 10, 19526);
44217
+ add_location(player_account_self_exclusion, file, 526, 10, 20502);
44146
44218
  },
44147
44219
  m: function mount(target, anchor) {
44148
44220
  insert_dev(target, player_account_self_exclusion, anchor);
@@ -44157,14 +44229,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44157
44229
  block,
44158
44230
  id: create_if_block_9.name,
44159
44231
  type: "if",
44160
- source: "(512:63) ",
44232
+ source: "(526:63) ",
44161
44233
  ctx
44162
44234
  });
44163
44235
 
44164
44236
  return block;
44165
44237
  }
44166
44238
 
44167
- // (510:63)
44239
+ // (524:63)
44168
44240
  function create_if_block_8(ctx) {
44169
44241
  let player_account_gaming_limits;
44170
44242
 
@@ -44177,7 +44249,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44177
44249
  set_custom_element_data(player_account_gaming_limits, "timelimit", /*timelimit*/ ctx[8]);
44178
44250
  set_custom_element_data(player_account_gaming_limits, "showsuccessnotification", /*showsuccessnotification*/ ctx[9]);
44179
44251
  set_custom_element_data(player_account_gaming_limits, "showdeletenotification", /*showdeletenotification*/ ctx[10]);
44180
- add_location(player_account_gaming_limits, file, 510, 10, 19284);
44252
+ add_location(player_account_gaming_limits, file, 524, 10, 20260);
44181
44253
  },
44182
44254
  m: function mount(target, anchor) {
44183
44255
  insert_dev(target, player_account_gaming_limits, anchor);
@@ -44216,21 +44288,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44216
44288
  block,
44217
44289
  id: create_if_block_8.name,
44218
44290
  type: "if",
44219
- source: "(510:63) ",
44291
+ source: "(524:63) ",
44220
44292
  ctx
44221
44293
  });
44222
44294
 
44223
44295
  return block;
44224
44296
  }
44225
44297
 
44226
- // (508:63)
44298
+ // (522:63)
44227
44299
  function create_if_block_7(ctx) {
44228
44300
  let player_account_closure;
44229
44301
 
44230
44302
  const block = {
44231
44303
  c: function create() {
44232
44304
  player_account_closure = element("player-account-closure");
44233
- add_location(player_account_closure, file, 508, 10, 19160);
44305
+ add_location(player_account_closure, file, 522, 10, 20136);
44234
44306
  },
44235
44307
  m: function mount(target, anchor) {
44236
44308
  insert_dev(target, player_account_closure, anchor);
@@ -44245,21 +44317,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44245
44317
  block,
44246
44318
  id: create_if_block_7.name,
44247
44319
  type: "if",
44248
- source: "(508:63) ",
44320
+ source: "(522:63) ",
44249
44321
  ctx
44250
44322
  });
44251
44323
 
44252
44324
  return block;
44253
44325
  }
44254
44326
 
44255
- // (506:63)
44327
+ // (520:63)
44256
44328
  function create_if_block_6(ctx) {
44257
44329
  let player_account_timeout;
44258
44330
 
44259
44331
  const block = {
44260
44332
  c: function create() {
44261
44333
  player_account_timeout = element("player-account-timeout");
44262
- add_location(player_account_timeout, file, 506, 10, 19036);
44334
+ add_location(player_account_timeout, file, 520, 10, 20012);
44263
44335
  },
44264
44336
  m: function mount(target, anchor) {
44265
44337
  insert_dev(target, player_account_timeout, anchor);
@@ -44274,14 +44346,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44274
44346
  block,
44275
44347
  id: create_if_block_6.name,
44276
44348
  type: "if",
44277
- source: "(506:63) ",
44349
+ source: "(520:63) ",
44278
44350
  ctx
44279
44351
  });
44280
44352
 
44281
44353
  return block;
44282
44354
  }
44283
44355
 
44284
- // (504:63)
44356
+ // (518:63)
44285
44357
  function create_if_block_5(ctx) {
44286
44358
  let player_reality_check;
44287
44359
 
@@ -44289,7 +44361,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44289
44361
  c: function create() {
44290
44362
  player_reality_check = element("player-reality-check");
44291
44363
  set_custom_element_data(player_reality_check, "realitycheck", /*realityCheckData*/ ctx[11]);
44292
- add_location(player_reality_check, file, 504, 10, 18884);
44364
+ add_location(player_reality_check, file, 518, 10, 19860);
44293
44365
  },
44294
44366
  m: function mount(target, anchor) {
44295
44367
  insert_dev(target, player_reality_check, anchor);
@@ -44308,21 +44380,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44308
44380
  block,
44309
44381
  id: create_if_block_5.name,
44310
44382
  type: "if",
44311
- source: "(504:63) ",
44383
+ source: "(518:63) ",
44312
44384
  ctx
44313
44385
  });
44314
44386
 
44315
44387
  return block;
44316
44388
  }
44317
44389
 
44318
- // (502:63)
44390
+ // (516:63)
44319
44391
  function create_if_block_4(ctx) {
44320
44392
  let player_change_password;
44321
44393
 
44322
44394
  const block = {
44323
44395
  c: function create() {
44324
44396
  player_change_password = element("player-change-password");
44325
- add_location(player_change_password, file, 502, 10, 18760);
44397
+ add_location(player_change_password, file, 516, 10, 19736);
44326
44398
  },
44327
44399
  m: function mount(target, anchor) {
44328
44400
  insert_dev(target, player_change_password, anchor);
@@ -44337,21 +44409,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44337
44409
  block,
44338
44410
  id: create_if_block_4.name,
44339
44411
  type: "if",
44340
- source: "(502:63) ",
44412
+ source: "(516:63) ",
44341
44413
  ctx
44342
44414
  });
44343
44415
 
44344
44416
  return block;
44345
44417
  }
44346
44418
 
44347
- // (500:8) {#if switchContent && pageName === widgetTitle[0]}
44419
+ // (514:8) {#if switchContent && pageName === widgetTitle[0]}
44348
44420
  function create_if_block_3(ctx) {
44349
44421
  let player_profile_info;
44350
44422
 
44351
44423
  const block = {
44352
44424
  c: function create() {
44353
44425
  player_profile_info = element("player-profile-info");
44354
- add_location(player_profile_info, file, 500, 10, 18642);
44426
+ add_location(player_profile_info, file, 514, 10, 19618);
44355
44427
  },
44356
44428
  m: function mount(target, anchor) {
44357
44429
  insert_dev(target, player_profile_info, anchor);
@@ -44366,14 +44438,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44366
44438
  block,
44367
44439
  id: create_if_block_3.name,
44368
44440
  type: "if",
44369
- source: "(500:8) {#if switchContent && pageName === widgetTitle[0]}",
44441
+ source: "(514:8) {#if switchContent && pageName === widgetTitle[0]}",
44370
44442
  ctx
44371
44443
  });
44372
44444
 
44373
44445
  return block;
44374
44446
  }
44375
44447
 
44376
- // (494:6) {#if !switchContent}
44448
+ // (508:6) {#if !switchContent}
44377
44449
  function create_if_block_2(ctx) {
44378
44450
  let nav;
44379
44451
  let player_account_menu;
@@ -44389,11 +44461,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44389
44461
  set_custom_element_data(player_account_menu, "endpoint", /*endpoint*/ ctx[3]);
44390
44462
  set_custom_element_data(player_account_menu, "session", /*session*/ ctx[2]);
44391
44463
  set_custom_element_data(player_account_menu, "playerid", /*playerid*/ ctx[1]);
44392
- add_location(player_account_menu, file, 495, 10, 18362);
44464
+ add_location(player_account_menu, file, 509, 10, 19338);
44393
44465
  set_custom_element_data(player_account_notifications, "customnotif", /*customnotifications*/ ctx[0]);
44394
- add_location(player_account_notifications, file, 496, 10, 18448);
44466
+ add_location(player_account_notifications, file, 510, 10, 19424);
44395
44467
  attr_dev(nav, "class", "PlayerAccountMobile");
44396
- add_location(nav, file, 494, 8, 18318);
44468
+ add_location(nav, file, 508, 8, 19294);
44397
44469
  },
44398
44470
  m: function mount(target, anchor) {
44399
44471
  insert_dev(target, nav, anchor);
@@ -44427,7 +44499,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44427
44499
  block,
44428
44500
  id: create_if_block_2.name,
44429
44501
  type: "if",
44430
- source: "(494:6) {#if !switchContent}",
44502
+ source: "(508:6) {#if !switchContent}",
44431
44503
  ctx
44432
44504
  });
44433
44505
 
@@ -44483,6 +44555,43 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44483
44555
  function instance($$self, $$props, $$invalidate) {
44484
44556
  let { $$slots: slots = {}, $$scope } = $$props;
44485
44557
  validate_slots("undefined", slots, []);
44558
+
44559
+ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
44560
+ function adopt(value) {
44561
+ return value instanceof P
44562
+ ? value
44563
+ : new P(function (resolve) {
44564
+ resolve(value);
44565
+ });
44566
+ }
44567
+
44568
+ return new (P || (P = Promise))(function (resolve, reject) {
44569
+ function fulfilled(value) {
44570
+ try {
44571
+ step(generator.next(value));
44572
+ } catch(e) {
44573
+ reject(e);
44574
+ }
44575
+ }
44576
+
44577
+ function rejected(value) {
44578
+ try {
44579
+ step(generator["throw"](value));
44580
+ } catch(e) {
44581
+ reject(e);
44582
+ }
44583
+ }
44584
+
44585
+ function step(result) {
44586
+ result.done
44587
+ ? resolve(result.value)
44588
+ : adopt(result.value).then(fulfilled, rejected);
44589
+ }
44590
+
44591
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
44592
+ });
44593
+ };
44594
+
44486
44595
  let { cmsendpoint = "" } = $$props;
44487
44596
  let { accountpath = "" } = $$props;
44488
44597
  let { notificationpath = "" } = $$props;
@@ -44513,6 +44622,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44513
44622
  let showdeletenotification = false;
44514
44623
  let realityCheckData;
44515
44624
  let storedRealityCheck = "";
44625
+ let errorPasswordChanged = "";
44626
+ let showErrorPasswordChanged = false;
44516
44627
 
44517
44628
  const widgetTitle = [
44518
44629
  "Profile Info",
@@ -44583,26 +44694,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44583
44694
  });
44584
44695
  break;
44585
44696
  case "ChangePassword":
44586
- let playerCurrentPassword = e.data.userCurrentPassword;
44587
- let playerNewPassword = e.data.userNewPassword;
44588
- let data = {
44589
- currentPassword: playerCurrentPassword,
44590
- newPassword: playerNewPassword
44591
- };
44592
- let optionsChangePassword = {
44593
- method: "POST",
44594
- headers: {
44595
- "X-SessionID": sessionId,
44596
- "Content-Type": "application/json",
44597
- "Accept": "application/json"
44598
- },
44599
- body: JSON.stringify(data)
44600
- };
44601
- fetch(`${endpoint}/player/${userId}/password`, optionsChangePassword).then(res => {
44602
- if (res.status == 200) {
44603
- window.postMessage({ type: "PasswordChangedSuccessfully" }, window.location.href);
44604
- } // ERROR
44605
- });
44697
+ sendChangePassword(e.data.userCurrentPassword, e.data.userNewPassword);
44606
44698
  break;
44607
44699
  case "SetPlayerAccountTimeout":
44608
44700
  let timeoutValue = e.data.timeoutSelected;
@@ -44826,6 +44918,44 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
44826
44918
  );
44827
44919
  };
44828
44920
 
44921
+ const sendChangePassword = (playerCurrentPassword, playerNewPassword) => __awaiter(void 0, void 0, void 0, function* () {
44922
+ let data = {
44923
+ currentPassword: playerCurrentPassword,
44924
+ newPassword: playerNewPassword
44925
+ };
44926
+
44927
+ let optionsChangePassword = {
44928
+ method: "POST",
44929
+ headers: {
44930
+ "X-SessionID": sessionId,
44931
+ "Content-Type": "application/json",
44932
+ "Accept": "application/json"
44933
+ },
44934
+ body: JSON.stringify(data)
44935
+ };
44936
+
44937
+ let response = yield fetch(`${endpoint}/player/${userId}/password`, optionsChangePassword);
44938
+ let dataResponse = yield response.json();
44939
+
44940
+ if (response.ok) {
44941
+ window.postMessage({ type: "PasswordChangedSuccessfully" }, window.location.href);
44942
+ } else {
44943
+ // Parsing GMCore message 'cuz it's stupid and it doesn't know how to send error messages in 2021 ffs
44944
+ errorPasswordChanged = dataResponse.error.substring(dataResponse.error.indexOf("errorMessage") + 13, dataResponse.error.length);
44945
+
44946
+ showErrorPasswordChanged = true;
44947
+
44948
+ window.postMessage(
44949
+ {
44950
+ type: "ShowPasswordChangedError",
44951
+ showErrorPasswordChanged,
44952
+ errorPasswordChanged
44953
+ },
44954
+ window.location.href
44955
+ );
44956
+ }
44957
+ });
44958
+
44829
44959
  const getRealityCheckData = url => {
44830
44960
  let options = {
44831
44961
  method: "GET",
@@ -45001,6 +45131,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
45001
45131
  };
45002
45132
 
45003
45133
  $$self.$capture_state = () => ({
45134
+ __awaiter,
45004
45135
  onMount,
45005
45136
  tick,
45006
45137
  getDevice,
@@ -45034,6 +45165,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
45034
45165
  showdeletenotification,
45035
45166
  realityCheckData,
45036
45167
  storedRealityCheck,
45168
+ errorPasswordChanged,
45169
+ showErrorPasswordChanged,
45037
45170
  widgetTitle,
45038
45171
  accountMenuEndpointURL,
45039
45172
  notificationsEndpointURL,
@@ -45042,6 +45175,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
45042
45175
  getAccountMenuDetails,
45043
45176
  getNotificationsDetails,
45044
45177
  getUserProfileInfo,
45178
+ sendChangePassword,
45045
45179
  getRealityCheckData,
45046
45180
  setRealityCheckValue,
45047
45181
  getGamingLimits,
@@ -45050,6 +45184,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
45050
45184
  });
45051
45185
 
45052
45186
  $$self.$inject_state = $$props => {
45187
+ if ("__awaiter" in $$props) __awaiter = $$props.__awaiter;
45053
45188
  if ("cmsendpoint" in $$props) $$invalidate(16, cmsendpoint = $$props.cmsendpoint);
45054
45189
  if ("accountpath" in $$props) $$invalidate(17, accountpath = $$props.accountpath);
45055
45190
  if ("notificationpath" in $$props) $$invalidate(18, notificationpath = $$props.notificationpath);
@@ -45076,6 +45211,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
45076
45211
  if ("showdeletenotification" in $$props) $$invalidate(10, showdeletenotification = $$props.showdeletenotification);
45077
45212
  if ("realityCheckData" in $$props) $$invalidate(11, realityCheckData = $$props.realityCheckData);
45078
45213
  if ("storedRealityCheck" in $$props) storedRealityCheck = $$props.storedRealityCheck;
45214
+ if ("errorPasswordChanged" in $$props) errorPasswordChanged = $$props.errorPasswordChanged;
45215
+ if ("showErrorPasswordChanged" in $$props) showErrorPasswordChanged = $$props.showErrorPasswordChanged;
45079
45216
  if ("switchContent" in $$props) $$invalidate(12, switchContent = $$props.switchContent);
45080
45217
  };
45081
45218