@everymatrix/general-player-register-form-step1 0.0.128 → 0.0.132

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.
@@ -356,7 +356,7 @@
356
356
  /* src/GeneralPlayerRegisterFormStep1.svelte generated by Svelte v3.37.0 */
357
357
  const file = "src/GeneralPlayerRegisterFormStep1.svelte";
358
358
 
359
- // (162:4) {#if invalidEmail}
359
+ // (165:4) {#if invalidEmail}
360
360
  function create_if_block_7(ctx) {
361
361
  let p;
362
362
 
@@ -365,7 +365,7 @@
365
365
  p = element("p");
366
366
  p.textContent = "Email should contain '@' and a 2-3 letter long domain.";
367
367
  attr_dev(p, "class", "InvalidInput");
368
- add_location(p, file, 162, 6, 5062);
368
+ add_location(p, file, 165, 6, 5288);
369
369
  },
370
370
  m: function mount(target, anchor) {
371
371
  insert_dev(target, p, anchor);
@@ -379,14 +379,14 @@
379
379
  block,
380
380
  id: create_if_block_7.name,
381
381
  type: "if",
382
- source: "(162:4) {#if invalidEmail}",
382
+ source: "(165:4) {#if invalidEmail}",
383
383
  ctx
384
384
  });
385
385
 
386
386
  return block;
387
387
  }
388
388
 
389
- // (169:4) {#if invalidName}
389
+ // (172:4) {#if invalidName}
390
390
  function create_if_block_6(ctx) {
391
391
  let p;
392
392
 
@@ -395,7 +395,7 @@
395
395
  p = element("p");
396
396
  p.textContent = "Name must be at least 2 characters long and contain no special characters.";
397
397
  attr_dev(p, "class", "InvalidInput");
398
- add_location(p, file, 169, 6, 5427);
398
+ add_location(p, file, 172, 6, 5653);
399
399
  },
400
400
  m: function mount(target, anchor) {
401
401
  insert_dev(target, p, anchor);
@@ -409,14 +409,14 @@
409
409
  block,
410
410
  id: create_if_block_6.name,
411
411
  type: "if",
412
- source: "(169:4) {#if invalidName}",
412
+ source: "(172:4) {#if invalidName}",
413
413
  ctx
414
414
  });
415
415
 
416
416
  return block;
417
417
  }
418
418
 
419
- // (178:4) {:else}
419
+ // (181:4) {:else}
420
420
  function create_else_block_1(ctx) {
421
421
  let svg;
422
422
  let defs;
@@ -437,26 +437,26 @@
437
437
  g = svg_element("g");
438
438
  path = svg_element("path");
439
439
  circle = svg_element("circle");
440
- add_location(style, file, 178, 172, 7738);
441
- add_location(defs, file, 178, 166, 7732);
440
+ add_location(style, file, 181, 172, 7964);
441
+ add_location(defs, file, 181, 166, 7958);
442
442
  attr_dev(path, "class", "a");
443
443
  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");
444
444
  attr_dev(path, "transform", "translate(0)");
445
- add_location(path, file, 178, 253, 7819);
445
+ add_location(path, file, 181, 253, 8045);
446
446
  attr_dev(circle, "class", "a");
447
447
  attr_dev(circle, "cx", "2.779");
448
448
  attr_dev(circle, "cy", "2.779");
449
449
  attr_dev(circle, "r", "2.779");
450
450
  attr_dev(circle, "transform", "translate(20.827 30.303)");
451
- add_location(circle, file, 178, 1023, 8589);
451
+ add_location(circle, file, 181, 1023, 8815);
452
452
  attr_dev(g, "transform", "translate(-14.185 -27.832)");
453
- add_location(g, file, 178, 211, 7777);
453
+ add_location(g, file, 181, 211, 8003);
454
454
  attr_dev(svg, "class", "TogglePasswordVisibility");
455
455
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
456
456
  attr_dev(svg, "width", "18.843");
457
457
  attr_dev(svg, "height", "10.5");
458
458
  attr_dev(svg, "viewBox", "0 0 18.843 10.5");
459
- add_location(svg, file, 178, 6, 7572);
459
+ add_location(svg, file, 181, 6, 7798);
460
460
  },
461
461
  m: function mount(target, anchor) {
462
462
  insert_dev(target, svg, anchor);
@@ -484,14 +484,14 @@
484
484
  block,
485
485
  id: create_else_block_1.name,
486
486
  type: "else",
487
- source: "(178:4) {:else}",
487
+ source: "(181:4) {:else}",
488
488
  ctx
489
489
  });
490
490
 
491
491
  return block;
492
492
  }
493
493
 
494
- // (176:4) {#if isPasswordVisible}
494
+ // (179:4) {#if isPasswordVisible}
495
495
  function create_if_block_5(ctx) {
496
496
  let svg;
497
497
  let defs;
@@ -524,48 +524,48 @@
524
524
  path2 = svg_element("path");
525
525
  path3 = svg_element("path");
526
526
  rect = svg_element("rect");
527
- add_location(style, file, 176, 176, 6040);
528
- add_location(defs, file, 176, 170, 6034);
527
+ add_location(style, file, 179, 176, 6266);
528
+ add_location(defs, file, 179, 170, 6260);
529
529
  attr_dev(circle, "class", "a");
530
530
  attr_dev(circle, "cx", "0.05");
531
531
  attr_dev(circle, "cy", "0.05");
532
532
  attr_dev(circle, "r", "0.05");
533
533
  attr_dev(circle, "transform", "translate(121.017 31.148)");
534
- add_location(circle, file, 176, 258, 6122);
534
+ add_location(circle, file, 179, 258, 6348);
535
535
  attr_dev(path0, "class", "a");
536
536
  attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
537
537
  attr_dev(path0, "transform", "translate(-142.164 -39.123)");
538
- add_location(path0, file, 176, 384, 6248);
538
+ add_location(path0, file, 179, 384, 6474);
539
539
  attr_dev(path1, "class", "a");
540
540
  attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
541
541
  attr_dev(path1, "transform", "translate(-136.413 -42.068)");
542
- add_location(path1, file, 176, 492, 6356);
542
+ add_location(path1, file, 179, 492, 6582);
543
543
  attr_dev(g0, "transform", "translate(117.499 27.37)");
544
- add_location(g0, file, 176, 344, 6208);
544
+ add_location(g0, file, 179, 344, 6434);
545
545
  attr_dev(path2, "class", "a");
546
546
  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");
547
547
  attr_dev(path2, "transform", "translate(-110.856 -33.157)");
548
- add_location(path2, file, 176, 643, 6507);
548
+ add_location(path2, file, 179, 643, 6733);
549
549
  attr_dev(path3, "class", "a");
550
550
  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");
551
551
  attr_dev(path3, "transform", "translate(-130.743 -29.617)");
552
- add_location(path3, file, 176, 1102, 6966);
552
+ add_location(path3, file, 179, 1102, 7192);
553
553
  attr_dev(g1, "transform", "translate(110.856 24.899)");
554
- add_location(g1, file, 176, 602, 6466);
554
+ add_location(g1, file, 179, 602, 6692);
555
555
  attr_dev(rect, "class", "a");
556
556
  attr_dev(rect, "width", "0.972");
557
557
  attr_dev(rect, "height", "15.861");
558
558
  attr_dev(rect, "rx", "0.486");
559
559
  attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
560
- add_location(rect, file, 176, 1567, 7431);
560
+ add_location(rect, file, 179, 1567, 7657);
561
561
  attr_dev(g2, "transform", "translate(-110.856 -23.242)");
562
- add_location(g2, file, 176, 215, 6079);
562
+ add_location(g2, file, 179, 215, 6305);
563
563
  attr_dev(svg, "class", "TogglePasswordVisibility");
564
564
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
565
565
  attr_dev(svg, "width", "18.844");
566
566
  attr_dev(svg, "height", "12.887");
567
567
  attr_dev(svg, "viewBox", "0 0 18.844 12.887");
568
- add_location(svg, file, 176, 6, 5870);
568
+ add_location(svg, file, 179, 6, 6096);
569
569
  },
570
570
  m: function mount(target, anchor) {
571
571
  insert_dev(target, svg, anchor);
@@ -599,14 +599,14 @@
599
599
  block,
600
600
  id: create_if_block_5.name,
601
601
  type: "if",
602
- source: "(176:4) {#if isPasswordVisible}",
602
+ source: "(179:4) {#if isPasswordVisible}",
603
603
  ctx
604
604
  });
605
605
 
606
606
  return block;
607
607
  }
608
608
 
609
- // (181:4) {#if invalidPassword}
609
+ // (184:4) {#if invalidPassword}
610
610
  function create_if_block_4(ctx) {
611
611
  let p;
612
612
 
@@ -615,7 +615,7 @@
615
615
  p = element("p");
616
616
  p.textContent = "Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.";
617
617
  attr_dev(p, "class", "InvalidInput");
618
- add_location(p, file, 181, 6, 8730);
618
+ add_location(p, file, 184, 6, 8956);
619
619
  },
620
620
  m: function mount(target, anchor) {
621
621
  insert_dev(target, p, anchor);
@@ -629,14 +629,14 @@
629
629
  block,
630
630
  id: create_if_block_4.name,
631
631
  type: "if",
632
- source: "(181:4) {#if invalidPassword}",
632
+ source: "(184:4) {#if invalidPassword}",
633
633
  ctx
634
634
  });
635
635
 
636
636
  return block;
637
637
  }
638
638
 
639
- // (190:4) {:else}
639
+ // (193:4) {:else}
640
640
  function create_else_block(ctx) {
641
641
  let svg;
642
642
  let defs;
@@ -657,26 +657,26 @@
657
657
  g = svg_element("g");
658
658
  path = svg_element("path");
659
659
  circle = svg_element("circle");
660
- add_location(style, file, 190, 186, 11172);
661
- add_location(defs, file, 190, 180, 11166);
660
+ add_location(style, file, 193, 186, 11398);
661
+ add_location(defs, file, 193, 180, 11392);
662
662
  attr_dev(path, "class", "a");
663
663
  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");
664
664
  attr_dev(path, "transform", "translate(0)");
665
- add_location(path, file, 190, 267, 11253);
665
+ add_location(path, file, 193, 267, 11479);
666
666
  attr_dev(circle, "class", "a");
667
667
  attr_dev(circle, "cx", "2.779");
668
668
  attr_dev(circle, "cy", "2.779");
669
669
  attr_dev(circle, "r", "2.779");
670
670
  attr_dev(circle, "transform", "translate(20.827 30.303)");
671
- add_location(circle, file, 190, 1037, 12023);
671
+ add_location(circle, file, 193, 1037, 12249);
672
672
  attr_dev(g, "transform", "translate(-14.185 -27.832)");
673
- add_location(g, file, 190, 225, 11211);
673
+ add_location(g, file, 193, 225, 11437);
674
674
  attr_dev(svg, "class", "ToggleConfirmPasswordVisibility");
675
675
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
676
676
  attr_dev(svg, "width", "18.843");
677
677
  attr_dev(svg, "height", "10.5");
678
678
  attr_dev(svg, "viewBox", "0 0 18.843 10.5");
679
- add_location(svg, file, 190, 6, 10992);
679
+ add_location(svg, file, 193, 6, 11218);
680
680
  },
681
681
  m: function mount(target, anchor) {
682
682
  insert_dev(target, svg, anchor);
@@ -704,14 +704,14 @@
704
704
  block,
705
705
  id: create_else_block.name,
706
706
  type: "else",
707
- source: "(190:4) {:else}",
707
+ source: "(193:4) {:else}",
708
708
  ctx
709
709
  });
710
710
 
711
711
  return block;
712
712
  }
713
713
 
714
- // (188:4) {#if isConfirmPasswordVisible}
714
+ // (191:4) {#if isConfirmPasswordVisible}
715
715
  function create_if_block_3(ctx) {
716
716
  let svg;
717
717
  let defs;
@@ -744,48 +744,48 @@
744
744
  path2 = svg_element("path");
745
745
  path3 = svg_element("path");
746
746
  rect = svg_element("rect");
747
- add_location(style, file, 188, 190, 9460);
748
- add_location(defs, file, 188, 184, 9454);
747
+ add_location(style, file, 191, 190, 9686);
748
+ add_location(defs, file, 191, 184, 9680);
749
749
  attr_dev(circle, "class", "a");
750
750
  attr_dev(circle, "cx", "0.05");
751
751
  attr_dev(circle, "cy", "0.05");
752
752
  attr_dev(circle, "r", "0.05");
753
753
  attr_dev(circle, "transform", "translate(121.017 31.148)");
754
- add_location(circle, file, 188, 272, 9542);
754
+ add_location(circle, file, 191, 272, 9768);
755
755
  attr_dev(path0, "class", "a");
756
756
  attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
757
757
  attr_dev(path0, "transform", "translate(-142.164 -39.123)");
758
- add_location(path0, file, 188, 398, 9668);
758
+ add_location(path0, file, 191, 398, 9894);
759
759
  attr_dev(path1, "class", "a");
760
760
  attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
761
761
  attr_dev(path1, "transform", "translate(-136.413 -42.068)");
762
- add_location(path1, file, 188, 506, 9776);
762
+ add_location(path1, file, 191, 506, 10002);
763
763
  attr_dev(g0, "transform", "translate(117.499 27.37)");
764
- add_location(g0, file, 188, 358, 9628);
764
+ add_location(g0, file, 191, 358, 9854);
765
765
  attr_dev(path2, "class", "a");
766
766
  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");
767
767
  attr_dev(path2, "transform", "translate(-110.856 -33.157)");
768
- add_location(path2, file, 188, 657, 9927);
768
+ add_location(path2, file, 191, 657, 10153);
769
769
  attr_dev(path3, "class", "a");
770
770
  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");
771
771
  attr_dev(path3, "transform", "translate(-130.743 -29.617)");
772
- add_location(path3, file, 188, 1116, 10386);
772
+ add_location(path3, file, 191, 1116, 10612);
773
773
  attr_dev(g1, "transform", "translate(110.856 24.899)");
774
- add_location(g1, file, 188, 616, 9886);
774
+ add_location(g1, file, 191, 616, 10112);
775
775
  attr_dev(rect, "class", "a");
776
776
  attr_dev(rect, "width", "0.972");
777
777
  attr_dev(rect, "height", "15.861");
778
778
  attr_dev(rect, "rx", "0.486");
779
779
  attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
780
- add_location(rect, file, 188, 1581, 10851);
780
+ add_location(rect, file, 191, 1581, 11077);
781
781
  attr_dev(g2, "transform", "translate(-110.856 -23.242)");
782
- add_location(g2, file, 188, 229, 9499);
782
+ add_location(g2, file, 191, 229, 9725);
783
783
  attr_dev(svg, "class", "ToggleConfirmPasswordVisibility");
784
784
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
785
785
  attr_dev(svg, "width", "18.844");
786
786
  attr_dev(svg, "height", "12.887");
787
787
  attr_dev(svg, "viewBox", "0 0 18.844 12.887");
788
- add_location(svg, file, 188, 6, 9276);
788
+ add_location(svg, file, 191, 6, 9502);
789
789
  },
790
790
  m: function mount(target, anchor) {
791
791
  insert_dev(target, svg, anchor);
@@ -819,14 +819,14 @@
819
819
  block,
820
820
  id: create_if_block_3.name,
821
821
  type: "if",
822
- source: "(188:4) {#if isConfirmPasswordVisible}",
822
+ source: "(191:4) {#if isConfirmPasswordVisible}",
823
823
  ctx
824
824
  });
825
825
 
826
826
  return block;
827
827
  }
828
828
 
829
- // (193:4) {#if invalidConfirmPassword}
829
+ // (196:4) {#if invalidConfirmPassword}
830
830
  function create_if_block_2(ctx) {
831
831
  let p;
832
832
 
@@ -835,7 +835,7 @@
835
835
  p = element("p");
836
836
  p.textContent = "Do not match with password.";
837
837
  attr_dev(p, "class", "InvalidInput");
838
- add_location(p, file, 193, 6, 12171);
838
+ add_location(p, file, 196, 6, 12397);
839
839
  },
840
840
  m: function mount(target, anchor) {
841
841
  insert_dev(target, p, anchor);
@@ -849,23 +849,23 @@
849
849
  block,
850
850
  id: create_if_block_2.name,
851
851
  type: "if",
852
- source: "(193:4) {#if invalidConfirmPassword}",
852
+ source: "(196:4) {#if invalidConfirmPassword}",
853
853
  ctx
854
854
  });
855
855
 
856
856
  return block;
857
857
  }
858
858
 
859
- // (200:4) {#if invalidSecurityQuestion}
859
+ // (203:4) {#if invalidSecurityQuestion}
860
860
  function create_if_block_1(ctx) {
861
861
  let p;
862
862
 
863
863
  const block = {
864
864
  c: function create() {
865
865
  p = element("p");
866
- p.textContent = "Security question must be at least 1 character long.";
866
+ p.textContent = "Security question must be at least 1 character long and maximum 120 characters.";
867
867
  attr_dev(p, "class", "InvalidInput");
868
- add_location(p, file, 200, 6, 12585);
868
+ add_location(p, file, 203, 6, 12811);
869
869
  },
870
870
  m: function mount(target, anchor) {
871
871
  insert_dev(target, p, anchor);
@@ -879,23 +879,23 @@
879
879
  block,
880
880
  id: create_if_block_1.name,
881
881
  type: "if",
882
- source: "(200:4) {#if invalidSecurityQuestion}",
882
+ source: "(203:4) {#if invalidSecurityQuestion}",
883
883
  ctx
884
884
  });
885
885
 
886
886
  return block;
887
887
  }
888
888
 
889
- // (207:4) {#if invalidSecurityAnswer}
889
+ // (210:4) {#if invalidSecurityAnswer}
890
890
  function create_if_block(ctx) {
891
891
  let p;
892
892
 
893
893
  const block = {
894
894
  c: function create() {
895
895
  p = element("p");
896
- p.textContent = "Security answer must be at least 1 character long.";
896
+ p.textContent = "Security answer must be at least 1 character long and maximum 120 characters.";
897
897
  attr_dev(p, "class", "InvalidInput");
898
- add_location(p, file, 207, 6, 13008);
898
+ add_location(p, file, 210, 6, 13261);
899
899
  },
900
900
  m: function mount(target, anchor) {
901
901
  insert_dev(target, p, anchor);
@@ -909,7 +909,7 @@
909
909
  block,
910
910
  id: create_if_block.name,
911
911
  type: "if",
912
- source: "(207:4) {#if invalidSecurityAnswer}",
912
+ source: "(210:4) {#if invalidSecurityAnswer}",
913
913
  ctx
914
914
  });
915
915
 
@@ -1089,72 +1089,72 @@
1089
1089
  t37 = text("Next");
1090
1090
  this.c = noop;
1091
1091
  attr_dev(h2, "class", "RegisterFormTitle");
1092
- add_location(h2, file, 154, 2, 4567);
1092
+ add_location(h2, file, 157, 2, 4793);
1093
1093
  attr_dev(span0, "class", "FormLoginCallToAction");
1094
- add_location(span0, file, 155, 59, 4681);
1094
+ add_location(span0, file, 158, 59, 4907);
1095
1095
  attr_dev(p, "class", "RegisterFormSubtitle");
1096
- add_location(p, file, 155, 2, 4624);
1096
+ add_location(p, file, 158, 2, 4850);
1097
1097
  attr_dev(div0, "class", "RegisterFormHeader");
1098
- add_location(div0, file, 153, 0, 4532);
1098
+ add_location(div0, file, 156, 0, 4758);
1099
1099
  attr_dev(span1, "class", "FormRequired");
1100
- add_location(span1, file, 159, 29, 4905);
1100
+ add_location(span1, file, 162, 29, 5131);
1101
1101
  attr_dev(label0, "for", "Email");
1102
- add_location(label0, file, 159, 4, 4880);
1102
+ add_location(label0, file, 162, 4, 5106);
1103
1103
  attr_dev(input0, "type", "text");
1104
1104
  attr_dev(input0, "id", "Email");
1105
- add_location(input0, file, 160, 4, 4953);
1105
+ add_location(input0, file, 163, 4, 5179);
1106
1106
  attr_dev(div1, "class", div1_class_value = "EmailContainer " + (/*invalidEmail*/ ctx[0] ? "InvalidField" : ""));
1107
- add_location(div1, file, 158, 2, 4810);
1107
+ add_location(div1, file, 161, 2, 5036);
1108
1108
  attr_dev(span2, "class", "FormRequired");
1109
- add_location(span2, file, 166, 35, 5265);
1109
+ add_location(span2, file, 169, 35, 5491);
1110
1110
  attr_dev(label1, "for", "UserName");
1111
- add_location(label1, file, 166, 4, 5234);
1111
+ add_location(label1, file, 169, 4, 5460);
1112
1112
  attr_dev(input1, "type", "text");
1113
1113
  attr_dev(input1, "id", "UserName");
1114
- add_location(input1, file, 167, 4, 5313);
1114
+ add_location(input1, file, 170, 4, 5539);
1115
1115
  attr_dev(div2, "class", div2_class_value = "UserContainer " + (/*invalidName*/ ctx[1] ? "InvalidField" : ""));
1116
- add_location(div2, file, 165, 2, 5166);
1116
+ add_location(div2, file, 168, 2, 5392);
1117
1117
  attr_dev(span3, "class", "FormRequired");
1118
- add_location(span3, file, 173, 35, 5658);
1118
+ add_location(span3, file, 176, 35, 5884);
1119
1119
  attr_dev(label2, "for", "Password");
1120
- add_location(label2, file, 173, 4, 5627);
1120
+ add_location(label2, file, 176, 4, 5853);
1121
1121
  attr_dev(input2, "type", "password");
1122
1122
  attr_dev(input2, "id", "Password");
1123
- add_location(input2, file, 174, 4, 5706);
1123
+ add_location(input2, file, 177, 4, 5932);
1124
1124
  attr_dev(div3, "class", div3_class_value = "PasswordContainer " + (/*invalidPassword*/ ctx[2] ? "InvalidField" : ""));
1125
- add_location(div3, file, 172, 2, 5551);
1125
+ add_location(div3, file, 175, 2, 5777);
1126
1126
  attr_dev(span4, "class", "FormRequired");
1127
- add_location(span4, file, 185, 50, 9029);
1127
+ add_location(span4, file, 188, 50, 9255);
1128
1128
  attr_dev(label3, "for", "ConfirmPassword");
1129
- add_location(label3, file, 185, 4, 8983);
1129
+ add_location(label3, file, 188, 4, 9209);
1130
1130
  attr_dev(input3, "type", "password");
1131
1131
  attr_dev(input3, "id", "ConfirmPassword");
1132
- add_location(input3, file, 186, 4, 9077);
1132
+ add_location(input3, file, 189, 4, 9303);
1133
1133
  attr_dev(div4, "class", div4_class_value = "ConfirmPasswordContainer " + (/*invalidConfirmPassword*/ ctx[3] ? "InvalidField" : ""));
1134
- add_location(div4, file, 184, 2, 8893);
1134
+ add_location(div4, file, 187, 2, 9119);
1135
1135
  attr_dev(span5, "class", "FormRequired");
1136
- add_location(span5, file, 197, 52, 12388);
1136
+ add_location(span5, file, 200, 52, 12614);
1137
1137
  attr_dev(label4, "for", "SecurityQuestion");
1138
- add_location(label4, file, 197, 4, 12340);
1138
+ add_location(label4, file, 200, 4, 12566);
1139
1139
  attr_dev(input4, "type", "text");
1140
1140
  attr_dev(input4, "id", "SecurityQuestion");
1141
- add_location(input4, file, 198, 4, 12436);
1141
+ add_location(input4, file, 201, 4, 12662);
1142
1142
  attr_dev(div5, "class", div5_class_value = "SecurityQuestionContainer " + (/*invalidSecurityQuestion*/ ctx[4] ? "InvalidField" : ""));
1143
- add_location(div5, file, 196, 2, 12248);
1143
+ add_location(div5, file, 199, 2, 12474);
1144
1144
  attr_dev(span6, "class", "FormRequired");
1145
- add_location(span6, file, 204, 48, 12819);
1145
+ add_location(span6, file, 207, 48, 13072);
1146
1146
  attr_dev(label5, "for", "SecurityAnswer");
1147
- add_location(label5, file, 204, 4, 12775);
1147
+ add_location(label5, file, 207, 4, 13028);
1148
1148
  attr_dev(input5, "type", "text");
1149
1149
  attr_dev(input5, "id", "SecurityAnswer");
1150
- add_location(input5, file, 205, 4, 12867);
1150
+ add_location(input5, file, 208, 4, 13120);
1151
1151
  attr_dev(div6, "class", div6_class_value = "SecurityAnswerContainer " + (/*invalidSecurityAnswer*/ ctx[5] ? "InvalidField" : ""));
1152
- add_location(div6, file, 203, 2, 12687);
1152
+ add_location(div6, file, 206, 2, 12940);
1153
1153
  attr_dev(div7, "class", "RegisterFormContent");
1154
- add_location(div7, file, 157, 0, 4774);
1154
+ add_location(div7, file, 160, 0, 5000);
1155
1155
  attr_dev(button, "class", "RegisterStepNext");
1156
1156
  button.disabled = button_disabled_value = !/*isValid*/ ctx[16];
1157
- add_location(button, file, 211, 0, 13113);
1157
+ add_location(button, file, 214, 0, 13393);
1158
1158
  },
1159
1159
  l: function claim(nodes) {
1160
1160
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -1538,11 +1538,16 @@
1538
1538
 
1539
1539
  const validatePassword = () => {
1540
1540
  $$invalidate(2, invalidPassword = !checkUserPassword(userPassword));
1541
+
1542
+ if (userPassword !== confirmUserPassword && confirmUserPassword.length > 0) {
1543
+ $$invalidate(3, invalidConfirmPassword = true);
1544
+ }
1545
+
1541
1546
  checkIsValid();
1542
1547
  };
1543
1548
 
1544
1549
  const checkUserConfirmPassword = () => {
1545
- if (userPassword == confirmUserPassword) {
1550
+ if (userPassword === confirmUserPassword) {
1546
1551
  return true;
1547
1552
  }
1548
1553
 
@@ -1555,7 +1560,7 @@
1555
1560
  };
1556
1561
 
1557
1562
  const checkSecurityQuestion = () => {
1558
- if (securityQuestion) {
1563
+ if (securityQuestion && securityQuestion.length <= 120) {
1559
1564
  return true;
1560
1565
  }
1561
1566
 
@@ -1568,7 +1573,7 @@
1568
1573
  };
1569
1574
 
1570
1575
  const checkSecurityAnswer = () => {
1571
- if (securityAnswer) {
1576
+ if (securityAnswer && securityAnswer.length <= 120) {
1572
1577
  return true;
1573
1578
  }
1574
1579
 
@@ -1581,7 +1586,7 @@
1581
1586
  };
1582
1587
 
1583
1588
  const goNext = () => {
1584
- let Step1Data = {
1589
+ let registerStepOneData = {
1585
1590
  userEmail,
1586
1591
  userValue,
1587
1592
  userPassword,
@@ -1590,13 +1595,19 @@
1590
1595
  securityAnswer
1591
1596
  };
1592
1597
 
1593
- window.postMessage({ type: "Step1", Step1Data }, window.location.href);
1598
+ window.postMessage(
1599
+ {
1600
+ type: "RegisterStepOne",
1601
+ registerStepOneData
1602
+ },
1603
+ window.location.href
1604
+ );
1594
1605
  };
1595
1606
 
1596
1607
  const messageHandler = e => {
1597
1608
  if (e.data) {
1598
1609
  switch (e.data.type) {
1599
- case "Step1DataBackup":
1610
+ case "StepOneDataBackup":
1600
1611
  $$invalidate(7, userEmail = e.data.userData.email);
1601
1612
  $$invalidate(6, userValue = e.data.userData.username);
1602
1613
  $$invalidate(8, userPassword = e.data.userData.password);
@@ -1792,7 +1803,7 @@
1792
1803
  class GeneralPlayerRegisterFormStep1 extends SvelteElement {
1793
1804
  constructor(options) {
1794
1805
  super();
1795
- this.shadowRoot.innerHTML = `<style>.RegisterFormTitle{font-size:32px;text-transform:uppercase;font-weight:400;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:#D0046C;font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:#58586B;display:flex;flex-direction:column;padding-bottom:30px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid #D1D1D1;border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:#FD2839}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:45.008px}.InvalidInput{color:#D0046C;font-size:10px;position:absolute;bottom:-3px;line-height:10px}.UserContainer .InvalidInput{bottom:-3px}.RegisterStepNext{color:#fff;background:#D0046C;border:1px solid #D0046C;border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:#c1c1c1;border:1px solid #c1c1c1;cursor:not-allowed}</style>`;
1806
+ this.shadowRoot.innerHTML = `<style>.RegisterFormTitle{font-size:24px;text-transform:uppercase;font-weight:400;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:#D0046C;font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:#58586B;display:flex;flex-direction:column;padding-bottom:30px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid #D1D1D1;border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:#FD2839}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:45.008px}.InvalidInput{color:#D0046C;font-size:10px;position:absolute;bottom:-3px;line-height:10px}.UserContainer .InvalidInput{bottom:-3px}.RegisterStepNext{color:#fff;background:#D0046C;border:1px solid #D0046C;border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:#c1c1c1;border:1px solid #c1c1c1;cursor:not-allowed}</style>`;
1796
1807
 
1797
1808
  init(
1798
1809
  this,
@@ -1 +1 @@
1
- {"version":3,"file":"general-player-register-form-step1.js","sources":["../../../node_modules/svelte/internal/index.mjs","../src/GeneralPlayerRegisterFormStep1.svelte","../src/index.ts"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot_spread(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_spread_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_spread_changes_fn(dirty) | get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value = ret) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction claim_element(nodes, name, attributes, svg) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeName === name) {\n let j = 0;\n const remove = [];\n while (j < node.attributes.length) {\n const attribute = node.attributes[j++];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n for (let k = 0; k < remove.length; k++) {\n node.removeAttribute(remove[k]);\n }\n return nodes.splice(i, 1)[0];\n }\n }\n return svg ? svg_element(name) : element(name);\n}\nfunction claim_text(nodes, data) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 3) {\n node.data = '' + data;\n return nodes.splice(i, 1)[0];\n }\n }\n return text(data);\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n node.style.setProperty(key, value, important ? 'important' : '');\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}</script>\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, false, false, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(anchor = null) {\n this.a = anchor;\n this.e = this.n = null;\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n this.e = element(target.nodeName);\n this.t = target;\n this.h(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\nconst active_docs = new Set();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = node.ownerDocument;\n active_docs.add(doc);\n const stylesheet = doc.__svelte_stylesheet || (doc.__svelte_stylesheet = doc.head.appendChild(element('style')).sheet);\n const current_rules = doc.__svelte_rules || (doc.__svelte_rules = {});\n if (!current_rules[name]) {\n current_rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n active_docs.forEach(doc => {\n const stylesheet = doc.__svelte_stylesheet;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n doc.__svelte_rules = {};\n });\n active_docs.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n callbacks.slice().forEach(fn => fn(event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\nlet flushing = false;\nconst seen_callbacks = new Set();\nfunction flush() {\n if (flushing)\n return;\n flushing = true;\n do {\n // first, call beforeUpdate functions\n // and update components\n for (let i = 0; i < dirty_components.length; i += 1) {\n const component = dirty_components[i];\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n flushing = false;\n seen_callbacks.clear();\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = program.b - t;\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, classes_to_add) {\n const attributes = Object.assign({}, ...args);\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${String(value).replace(/\"/g, '&#34;').replace(/'/g, '&#39;')}\"`;\n }\n });\n return str;\n}\nconst escaped = {\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots, context) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(parent_component ? parent_component.$$.context : context || []),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, $$slots, context);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n return ` ${name}${value === true ? '' : `=${typeof value === 'string' ? JSON.stringify(escape(value)) : `\"${value}\"`}`}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(parent_component ? parent_component.$$.context : options.context || []),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false\n };\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.37.0' }, detail)));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * <script lang=\"ts\">\n * \timport { MyComponent } from \"component-library\";\n * </script>\n * <MyComponent foo={'bar'} />\n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to seperate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_transform, afterUpdate, append, append_dev, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_space, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, escape, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getContext, get_binding_group_value, get_current_component, get_custom_elements_slots, get_slot_changes, get_slot_context, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, listen, listen_dev, loop, loop_guard, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, update_keyed_each, update_slot, update_slot_spread, validate_component, validate_each_argument, validate_each_keys, validate_slots, validate_store, xlink_attr };\n","<svelte:options tag={null} />\n\n<script lang=\"typescript\">\n import { onMount } from \"svelte\";\n\n let invalidEmail:Boolean = false;\n let invalidName:Boolean = false;\n let invalidPassword:Boolean = false;\n let invalidConfirmPassword:Boolean = false;\n let invalidSecurityQuestion:Boolean = false;\n let invalidSecurityAnswer:Boolean = false;\n\n let userValue:string = '';\n let userEmail:string = '';\n let userPassword:string = '';\n let confirmUserPassword:string = '';\n let securityQuestion:string = '';\n let securityAnswer:string = '';\n\n let isPasswordVisible:Boolean = false;\n let isConfirmPasswordVisible:Boolean = false;\n\n let passwordVisibilityToggle:HTMLElement;\n let confirmPasswordVisibilityToggle:HTMLElement;\n\n let isValid:Boolean = false;\n\n const checkIsValid = () => {\n isValid = !(invalidEmail || invalidName || invalidPassword || invalidConfirmPassword || invalidSecurityQuestion || invalidSecurityAnswer);\n if (userValue.length <= 0 || userEmail.length <= 0 || userPassword.length <= 0 || confirmUserPassword.length <= 0 || securityQuestion.length <= 0 || securityAnswer.length <= 0) {\n isValid = false;\n }\n }\n\n const switchToLogin = () => {\n window.postMessage({ type: \"ToLogin\" }, window.location.href);\n }\n\n const regexValidators = {\n user: /^(?!(?:.*\\d){9})(?=(?:.*[a-zA-Z]){2})^[a-zA-Z\\d]*$/,\n email: /^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]{2,3}$/,\n password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\\w\\s]).{8,20}$/\n }\n\n const checkEmailIdentifier = (email:string) => {\n if (regexValidators.email.test(email)) {\n return true;\n }\n\n return false;\n }\n\n const validateEmail = () => {\n invalidEmail = !checkEmailIdentifier(userEmail);\n checkIsValid();\n }\n\n const checkUserIdentifier = (user:string) => {\n if(regexValidators.user.test(user)) {\n return true;\n }\n\n return false;\n }\n\n const validateUserName = () => {\n invalidName = !checkUserIdentifier(userValue);\n checkIsValid();\n }\n\n const showPassword = () => {\n isPasswordVisible = true;\n togglePasswordVisibility();\n }\n\n const showConfirmPassword = () => {\n isConfirmPasswordVisible = true;\n toggleConfirmPasswordVisibility();\n }\n\n const hidePassword = () => {\n isPasswordVisible = false;\n togglePasswordVisibility();\n }\n\n const hideConfirmPassword = () => {\n isConfirmPasswordVisible = false;\n toggleConfirmPasswordVisibility();\n }\n\n const togglePasswordVisibility = () => {\n passwordVisibilityToggle.type = isPasswordVisible ? \"text\" : \"password\";\n }\n\n const toggleConfirmPasswordVisibility = () => {\n confirmPasswordVisibilityToggle.type = isConfirmPasswordVisible ? \"text\" : \"password\";\n }\n\n const checkUserPassword = (password:string) => {\n if(regexValidators.password.test(password)) {\n return true;\n }\n\n return false;\n }\n\n const validatePassword = () => {\n invalidPassword = !checkUserPassword(userPassword);\n checkIsValid();\n }\n\n const checkUserConfirmPassword = () => {\n if (userPassword == confirmUserPassword) {\n return true;\n }\n\n return false;\n }\n\n const validateConfirmPassword = () => {\n invalidConfirmPassword = !checkUserConfirmPassword(confirmUserPassword);\n checkIsValid();\n }\n\n const checkSecurityQuestion = () => {\n if (securityQuestion) {\n return true;\n }\n\n return false;\n }\n\n const validateSecurityQuestion = () => {\n invalidSecurityQuestion = !checkSecurityQuestion();\n checkIsValid();\n }\n\n const checkSecurityAnswer = () => {\n if (securityAnswer) {\n return true;\n }\n\n return false;\n }\n\n const validateSecurityAnswer = () => {\n invalidSecurityAnswer = !checkSecurityAnswer();\n checkIsValid();\n }\n\n const goNext = () => {\n let Step1Data = {\n userEmail,\n userValue,\n userPassword,\n confirmUserPassword,\n securityQuestion,\n securityAnswer\n }\n window.postMessage({ type: 'Step1', Step1Data }, window.location.href);\n }\n\n const messageHandler = (e:any) => {\n if (e.data) {\n switch(e.data.type) {\n case 'Step1DataBackup':\n userEmail = e.data.userData.email;\n userValue = e.data.userData.username;\n userPassword = e.data.userData.password;\n confirmUserPassword = e.data.userData.password;\n securityQuestion = e.data.userData.securityQuestion;\n securityAnswer = e.data.userData.securityAnswer;\n checkIsValid();\n break;\n\n default:\n // do nothing\n break;\n }\n }\n }\n\n onMount(() => {\n window.addEventListener('message', messageHandler, false);\n\n return () => {\n window.removeEventListener('message', messageHandler);\n }\n });\n</script>\n\n<div class=\"RegisterFormHeader\">\n <h2 class=\"RegisterFormTitle\">Create your account</h2>\n <p class=\"RegisterFormSubtitle\">Already have an account? <span class=\"FormLoginCallToAction\" on:click={() => switchToLogin()}>Login</span></p>\n</div>\n<div class=\"RegisterFormContent\">\n <div class=\"EmailContainer {invalidEmail ? 'InvalidField' : ''}\">\n <label for=\"Email\">Email:<span class=\"FormRequired\">*</span></label>\n <input bind:value={userEmail} on:blur={validateEmail} type=\"text\" id=\"Email\" />\n {#if invalidEmail}\n <p class=\"InvalidInput\">Email should contain '@' and a 2-3 letter long domain.</p>\n {/if}\n </div>\n <div class=\"UserContainer {invalidName ? 'InvalidField' : ''}\">\n <label for=\"UserName\">Username:<span class=\"FormRequired\">*</span></label>\n <input bind:value={userValue} on:blur={validateUserName} type=\"text\" id=\"UserName\" />\n {#if invalidName}\n <p class=\"InvalidInput\">Name must be at least 2 characters long and contain no special characters.</p>\n {/if}\n </div>\n <div class=\"PasswordContainer {invalidPassword ? 'InvalidField' : ''}\">\n <label for=\"Password\">Password:<span class=\"FormRequired\">*</span></label>\n <input bind:value={userPassword} on:blur={validatePassword} type=\"password\" id=\"Password\" bind:this={passwordVisibilityToggle} />\n {#if isPasswordVisible}\n <svg on:click={() => hidePassword()} class=\"TogglePasswordVisibility\" xmlns=\"http://www.w3.org/2000/svg\" width=\"18.844\" height=\"12.887\" viewBox=\"0 0 18.844 12.887\"><defs><style>.a{fill:#07072a;}</style></defs><g transform=\"translate(-110.856 -23.242)\"><circle class=\"a\" cx=\"0.05\" cy=\"0.05\" r=\"0.05\" transform=\"translate(121.017 31.148)\"/><g transform=\"translate(117.499 27.37)\"><path class=\"a\" d=\"M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z\" transform=\"translate(-142.164 -39.123)\"/><path class=\"a\" d=\"M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z\" transform=\"translate(-136.413 -42.068)\"/></g><g transform=\"translate(110.856 24.899)\"><path class=\"a\" 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\" transform=\"translate(-110.856 -33.157)\"/><path class=\"a\" 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\" transform=\"translate(-130.743 -29.617)\"/></g><rect class=\"a\" width=\"0.972\" height=\"15.861\" rx=\"0.486\" transform=\"translate(114.827 23.858) rotate(-39.315)\"/></g></svg>\n {:else}\n <svg on:click={() => showPassword()} class=\"TogglePasswordVisibility\" xmlns=\"http://www.w3.org/2000/svg\" width=\"18.843\" height=\"10.5\" viewBox=\"0 0 18.843 10.5\"><defs><style>.a{fill:#07072a;}</style></defs><g transform=\"translate(-14.185 -27.832)\"><path class=\"a\" 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\" transform=\"translate(0)\"/><circle class=\"a\" cx=\"2.779\" cy=\"2.779\" r=\"2.779\" transform=\"translate(20.827 30.303)\"/></g></svg>\n {/if}\n {#if invalidPassword}\n <p class=\"InvalidInput\">Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.</p>\n {/if}\n </div>\n <div class=\"ConfirmPasswordContainer {invalidConfirmPassword ? 'InvalidField' : ''}\">\n <label for=\"ConfirmPassword\">Confirm Password:<span class=\"FormRequired\">*</span></label>\n <input bind:value={confirmUserPassword} on:blur={validateConfirmPassword} type=\"password\" id=\"ConfirmPassword\" bind:this={confirmPasswordVisibilityToggle} />\n {#if isConfirmPasswordVisible}\n <svg on:click={() => hideConfirmPassword()} class=\"ToggleConfirmPasswordVisibility\" xmlns=\"http://www.w3.org/2000/svg\" width=\"18.844\" height=\"12.887\" viewBox=\"0 0 18.844 12.887\"><defs><style>.a{fill:#07072a;}</style></defs><g transform=\"translate(-110.856 -23.242)\"><circle class=\"a\" cx=\"0.05\" cy=\"0.05\" r=\"0.05\" transform=\"translate(121.017 31.148)\"/><g transform=\"translate(117.499 27.37)\"><path class=\"a\" d=\"M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z\" transform=\"translate(-142.164 -39.123)\"/><path class=\"a\" d=\"M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z\" transform=\"translate(-136.413 -42.068)\"/></g><g transform=\"translate(110.856 24.899)\"><path class=\"a\" 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\" transform=\"translate(-110.856 -33.157)\"/><path class=\"a\" 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\" transform=\"translate(-130.743 -29.617)\"/></g><rect class=\"a\" width=\"0.972\" height=\"15.861\" rx=\"0.486\" transform=\"translate(114.827 23.858) rotate(-39.315)\"/></g></svg>\n {:else}\n <svg on:click={() => showConfirmPassword()} class=\"ToggleConfirmPasswordVisibility\" xmlns=\"http://www.w3.org/2000/svg\" width=\"18.843\" height=\"10.5\" viewBox=\"0 0 18.843 10.5\"><defs><style>.a{fill:#07072a;}</style></defs><g transform=\"translate(-14.185 -27.832)\"><path class=\"a\" 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\" transform=\"translate(0)\"/><circle class=\"a\" cx=\"2.779\" cy=\"2.779\" r=\"2.779\" transform=\"translate(20.827 30.303)\"/></g></svg>\n {/if}\n {#if invalidConfirmPassword}\n <p class=\"InvalidInput\">Do not match with password.</p>\n {/if}\n </div>\n <div class=\"SecurityQuestionContainer {invalidSecurityQuestion ? 'InvalidField' : ''}\">\n <label for=\"SecurityQuestion\">Security Question:<span class=\"FormRequired\">*</span></label>\n <input bind:value={securityQuestion} on:blur={validateSecurityQuestion} type=\"text\" id=\"SecurityQuestion\" />\n {#if invalidSecurityQuestion}\n <p class=\"InvalidInput\">Security question must be at least 1 character long.</p>\n {/if}\n </div>\n <div class=\"SecurityAnswerContainer {invalidSecurityAnswer ? 'InvalidField' : ''}\">\n <label for=\"SecurityAnswer\">Security Answer:<span class=\"FormRequired\">*</span></label>\n <input bind:value={securityAnswer} on:blur={validateSecurityAnswer} type=\"text\" id=\"SecurityAnswer\" />\n {#if invalidSecurityAnswer}\n <p class=\"InvalidInput\">Security answer must be at least 1 character long.</p>\n {/if}\n </div>\n</div>\n<button class=\"RegisterStepNext\" disabled={!isValid} on:click={goNext}>Next</button>\n\n<style lang=\"scss\">\n //This function does a multiplication\n // in order to work with px the\n // same way as working with em\n @function ttp($value) {\n $multiplicator: 16px;\n @return $value * $multiplicator;\n }\n\n .RegisterFormTitle {\n font-size: ttp(2);\n text-transform: uppercase;\n font-weight: 400;\n margin: 0;\n padding-bottom: ttp(0.5);\n }\n\n .RegisterFormSubtitle {\n font-size: ttp(0.875);\n margin: 0;\n padding-bottom: ttp(1.25);\n }\n\n .FormLoginCallToAction {\n color: #D0046C;\n font-size: ttp(0.875);\n font-weight: 400;\n text-decoration: none;\n cursor: pointer;\n }\n\n .EmailContainer,\n .UserContainer,\n .PasswordContainer,\n .ConfirmPasswordContainer,\n .SecurityQuestionContainer,\n .SecurityAnswerContainer {\n color: #58586B;\n display: flex;\n flex-direction: column;\n padding-bottom: ttp(1.875);\n position: relative;\n\n label {\n font-size: ttp(0.875);\n font-weight: 300;\n padding-bottom: ttp(0.3125);\n }\n\n input {\n width: 100%;\n height: ttp(2.75);\n border: 1px solid #D1D1D1;\n border-radius: ttp(0.3125);\n padding: ttp(0.3125);\n font-size: ttp(0.875);\n box-sizing: border-box;\n padding: ttp(0.3125) ttp(0.9375);\n font-size: ttp(1);\n line-height: ttp(1.125);\n }\n\n &.InvalidField {\n input {\n border: 1px solid #D0046C;\n background: #FBECF4;\n color: #D0046C;\n }\n }\n }\n\n .PasswordContainer, .ConfirmPasswordContainer {\n position: relative;\n }\n\n .PasswordContainer input,\n .ConfirmPasswordContainer input {\n padding: ttp(0.3125) ttp(1.875) ttp(0.3125) ttp(0.9375);\n }\n\n .FormRequired {\n color: #FD2839;\n }\n\n .TogglePasswordVisibility, .ToggleConfirmPasswordVisibility {\n height: ttp(0.8125);\n position: absolute;\n right: ttp(0.5);\n bottom: ttp(2.813);\n }\n\n .InvalidInput {\n color: #D0046C;\n font-size: ttp(0.625);\n position: absolute;\n bottom: -3px;\n line-height: ttp(0.625);\n }\n\n .ErrorMessage {\n margin: 0 0 ttp(0.938) 0;\n font-size: ttp(0.75);\n color: #D0046C;\n }\n\n .UserContainer {\n .InvalidInput {\n bottom: -3px;\n }\n }\n\n .RegisterStepNext {\n color: #fff;\n background: #D0046C;\n border: 1px solid #D0046C;\n border-radius: 5px;\n width: 100%;\n height: ttp(3.75);\n padding: 0;\n text-transform: uppercase;\n font-size: ttp(1.125);\n cursor: pointer;\n margin-top: ttp(1.5);\n &[disabled] {\n background: #c1c1c1;\n border: 1px solid #c1c1c1;\n cursor: not-allowed;\n }\n }\n</style>\n","import GeneralPlayerRegisterFormStep1 from './GeneralPlayerRegisterFormStep1.svelte';\n\n!customElements.get('general-player-register-form-step1') && customElements.define('general-player-register-form-step1', GeneralPlayerRegisterFormStep1);\nexport default GeneralPlayerRegisterFormStep1;\n"],"names":[],"mappings":";;;;;;IAAA,SAAS,IAAI,GAAG,GAAG;IAWnB,SAAS,YAAY,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACzD,IAAI,OAAO,CAAC,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,CAAC,cAAc,CAAC,GAAG,CAAC,oCAAoC,CAAC,IAAI,cAAc,CAAC,MAAM,CAAC,oCAAoC,EAAE,8BAA8B,CAAC;;;;;;;;"}
1
+ {"version":3,"file":"general-player-register-form-step1.js","sources":["../../../node_modules/svelte/internal/index.mjs","../src/GeneralPlayerRegisterFormStep1.svelte","../src/index.ts"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot_spread(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_spread_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_spread_changes_fn(dirty) | get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value = ret) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction claim_element(nodes, name, attributes, svg) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeName === name) {\n let j = 0;\n const remove = [];\n while (j < node.attributes.length) {\n const attribute = node.attributes[j++];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n for (let k = 0; k < remove.length; k++) {\n node.removeAttribute(remove[k]);\n }\n return nodes.splice(i, 1)[0];\n }\n }\n return svg ? svg_element(name) : element(name);\n}\nfunction claim_text(nodes, data) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 3) {\n node.data = '' + data;\n return nodes.splice(i, 1)[0];\n }\n }\n return text(data);\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n node.style.setProperty(key, value, important ? 'important' : '');\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}</script>\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, false, false, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(anchor = null) {\n this.a = anchor;\n this.e = this.n = null;\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n this.e = element(target.nodeName);\n this.t = target;\n this.h(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\nconst active_docs = new Set();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = node.ownerDocument;\n active_docs.add(doc);\n const stylesheet = doc.__svelte_stylesheet || (doc.__svelte_stylesheet = doc.head.appendChild(element('style')).sheet);\n const current_rules = doc.__svelte_rules || (doc.__svelte_rules = {});\n if (!current_rules[name]) {\n current_rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n active_docs.forEach(doc => {\n const stylesheet = doc.__svelte_stylesheet;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n doc.__svelte_rules = {};\n });\n active_docs.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n callbacks.slice().forEach(fn => fn(event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\nlet flushing = false;\nconst seen_callbacks = new Set();\nfunction flush() {\n if (flushing)\n return;\n flushing = true;\n do {\n // first, call beforeUpdate functions\n // and update components\n for (let i = 0; i < dirty_components.length; i += 1) {\n const component = dirty_components[i];\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n flushing = false;\n seen_callbacks.clear();\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = program.b - t;\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, classes_to_add) {\n const attributes = Object.assign({}, ...args);\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${String(value).replace(/\"/g, '&#34;').replace(/'/g, '&#39;')}\"`;\n }\n });\n return str;\n}\nconst escaped = {\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots, context) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(parent_component ? parent_component.$$.context : context || []),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, $$slots, context);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n return ` ${name}${value === true ? '' : `=${typeof value === 'string' ? JSON.stringify(escape(value)) : `\"${value}\"`}`}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(parent_component ? parent_component.$$.context : options.context || []),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false\n };\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.37.0' }, detail)));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * <script lang=\"ts\">\n * \timport { MyComponent } from \"component-library\";\n * </script>\n * <MyComponent foo={'bar'} />\n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to seperate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_transform, afterUpdate, append, append_dev, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_space, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, escape, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getContext, get_binding_group_value, get_current_component, get_custom_elements_slots, get_slot_changes, get_slot_context, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, listen, listen_dev, loop, loop_guard, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, update_keyed_each, update_slot, update_slot_spread, validate_component, validate_each_argument, validate_each_keys, validate_slots, validate_store, xlink_attr };\n","<svelte:options tag={null} />\n\n<script lang=\"typescript\">\n import { onMount } from \"svelte\";\n\n let invalidEmail:Boolean = false;\n let invalidName:Boolean = false;\n let invalidPassword:Boolean = false;\n let invalidConfirmPassword:Boolean = false;\n let invalidSecurityQuestion:Boolean = false;\n let invalidSecurityAnswer:Boolean = false;\n\n let userValue:string = '';\n let userEmail:string = '';\n let userPassword:string = '';\n let confirmUserPassword:string = '';\n let securityQuestion:string = '';\n let securityAnswer:string = '';\n\n let isPasswordVisible:Boolean = false;\n let isConfirmPasswordVisible:Boolean = false;\n\n let passwordVisibilityToggle:HTMLElement;\n let confirmPasswordVisibilityToggle:HTMLElement;\n\n let isValid:Boolean = false;\n\n const checkIsValid = () => {\n isValid = !(invalidEmail || invalidName || invalidPassword || invalidConfirmPassword || invalidSecurityQuestion || invalidSecurityAnswer);\n if (userValue.length <= 0 || userEmail.length <= 0 || userPassword.length <= 0 || confirmUserPassword.length <= 0 || securityQuestion.length <= 0 || securityAnswer.length <= 0) {\n isValid = false;\n }\n }\n\n const switchToLogin = () => {\n window.postMessage({ type: \"ToLogin\" }, window.location.href);\n }\n\n const regexValidators = {\n user: /^(?!(?:.*\\d){9})(?=(?:.*[a-zA-Z]){2})^[a-zA-Z\\d]*$/,\n email: /^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]{2,3}$/,\n password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\\w\\s]).{8,20}$/\n }\n\n const checkEmailIdentifier = (email:string) => {\n if (regexValidators.email.test(email)) {\n return true;\n }\n\n return false;\n }\n\n const validateEmail = () => {\n invalidEmail = !checkEmailIdentifier(userEmail);\n checkIsValid();\n }\n\n const checkUserIdentifier = (user:string) => {\n if(regexValidators.user.test(user)) {\n return true;\n }\n\n return false;\n }\n\n const validateUserName = () => {\n invalidName = !checkUserIdentifier(userValue);\n checkIsValid();\n }\n\n const showPassword = () => {\n isPasswordVisible = true;\n togglePasswordVisibility();\n }\n\n const showConfirmPassword = () => {\n isConfirmPasswordVisible = true;\n toggleConfirmPasswordVisibility();\n }\n\n const hidePassword = () => {\n isPasswordVisible = false;\n togglePasswordVisibility();\n }\n\n const hideConfirmPassword = () => {\n isConfirmPasswordVisible = false;\n toggleConfirmPasswordVisibility();\n }\n\n const togglePasswordVisibility = () => {\n passwordVisibilityToggle.type = isPasswordVisible ? \"text\" : \"password\";\n }\n\n const toggleConfirmPasswordVisibility = () => {\n confirmPasswordVisibilityToggle.type = isConfirmPasswordVisible ? \"text\" : \"password\";\n }\n\n const checkUserPassword = (password:string) => {\n if(regexValidators.password.test(password)) {\n return true;\n }\n\n return false;\n }\n\n const validatePassword = () => {\n invalidPassword = !checkUserPassword(userPassword);\n if (userPassword !== confirmUserPassword && confirmUserPassword.length > 0) {\n invalidConfirmPassword = true;\n }\n checkIsValid();\n }\n\n const checkUserConfirmPassword = () => {\n if (userPassword === confirmUserPassword) {\n return true;\n }\n\n return false;\n }\n\n const validateConfirmPassword = () => {\n invalidConfirmPassword = !checkUserConfirmPassword(confirmUserPassword);\n checkIsValid();\n }\n\n const checkSecurityQuestion = () => {\n if (securityQuestion && securityQuestion.length <= 120) {\n return true;\n }\n\n return false;\n }\n\n const validateSecurityQuestion = () => {\n invalidSecurityQuestion = !checkSecurityQuestion();\n checkIsValid();\n }\n\n const checkSecurityAnswer = () => {\n if (securityAnswer && securityAnswer.length <= 120) {\n return true;\n }\n\n return false;\n }\n\n const validateSecurityAnswer = () => {\n invalidSecurityAnswer = !checkSecurityAnswer();\n checkIsValid();\n }\n\n const goNext = () => {\n let registerStepOneData = {\n userEmail,\n userValue,\n userPassword,\n confirmUserPassword,\n securityQuestion,\n securityAnswer\n }\n window.postMessage({ type: 'RegisterStepOne', registerStepOneData }, window.location.href);\n }\n\n const messageHandler = (e:any) => {\n if (e.data) {\n switch(e.data.type) {\n case 'StepOneDataBackup':\n userEmail = e.data.userData.email;\n userValue = e.data.userData.username;\n userPassword = e.data.userData.password;\n confirmUserPassword = e.data.userData.password;\n securityQuestion = e.data.userData.securityQuestion;\n securityAnswer = e.data.userData.securityAnswer;\n checkIsValid();\n break;\n\n default:\n // do nothing\n break;\n }\n }\n }\n\n onMount(() => {\n window.addEventListener('message', messageHandler, false);\n\n return () => {\n window.removeEventListener('message', messageHandler);\n }\n });\n</script>\n\n<div class=\"RegisterFormHeader\">\n <h2 class=\"RegisterFormTitle\">Create your account</h2>\n <p class=\"RegisterFormSubtitle\">Already have an account? <span class=\"FormLoginCallToAction\" on:click={() => switchToLogin()}>Login</span></p>\n</div>\n<div class=\"RegisterFormContent\">\n <div class=\"EmailContainer {invalidEmail ? 'InvalidField' : ''}\">\n <label for=\"Email\">Email:<span class=\"FormRequired\">*</span></label>\n <input bind:value={userEmail} on:blur={validateEmail} type=\"text\" id=\"Email\" />\n {#if invalidEmail}\n <p class=\"InvalidInput\">Email should contain '@' and a 2-3 letter long domain.</p>\n {/if}\n </div>\n <div class=\"UserContainer {invalidName ? 'InvalidField' : ''}\">\n <label for=\"UserName\">Username:<span class=\"FormRequired\">*</span></label>\n <input bind:value={userValue} on:blur={validateUserName} type=\"text\" id=\"UserName\" />\n {#if invalidName}\n <p class=\"InvalidInput\">Name must be at least 2 characters long and contain no special characters.</p>\n {/if}\n </div>\n <div class=\"PasswordContainer {invalidPassword ? 'InvalidField' : ''}\">\n <label for=\"Password\">Password:<span class=\"FormRequired\">*</span></label>\n <input bind:value={userPassword} on:blur={validatePassword} type=\"password\" id=\"Password\" bind:this={passwordVisibilityToggle} />\n {#if isPasswordVisible}\n <svg on:click={() => hidePassword()} class=\"TogglePasswordVisibility\" xmlns=\"http://www.w3.org/2000/svg\" width=\"18.844\" height=\"12.887\" viewBox=\"0 0 18.844 12.887\"><defs><style>.a{fill:#07072a;}</style></defs><g transform=\"translate(-110.856 -23.242)\"><circle class=\"a\" cx=\"0.05\" cy=\"0.05\" r=\"0.05\" transform=\"translate(121.017 31.148)\"/><g transform=\"translate(117.499 27.37)\"><path class=\"a\" d=\"M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z\" transform=\"translate(-142.164 -39.123)\"/><path class=\"a\" d=\"M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z\" transform=\"translate(-136.413 -42.068)\"/></g><g transform=\"translate(110.856 24.899)\"><path class=\"a\" 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\" transform=\"translate(-110.856 -33.157)\"/><path class=\"a\" 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\" transform=\"translate(-130.743 -29.617)\"/></g><rect class=\"a\" width=\"0.972\" height=\"15.861\" rx=\"0.486\" transform=\"translate(114.827 23.858) rotate(-39.315)\"/></g></svg>\n {:else}\n <svg on:click={() => showPassword()} class=\"TogglePasswordVisibility\" xmlns=\"http://www.w3.org/2000/svg\" width=\"18.843\" height=\"10.5\" viewBox=\"0 0 18.843 10.5\"><defs><style>.a{fill:#07072a;}</style></defs><g transform=\"translate(-14.185 -27.832)\"><path class=\"a\" 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\" transform=\"translate(0)\"/><circle class=\"a\" cx=\"2.779\" cy=\"2.779\" r=\"2.779\" transform=\"translate(20.827 30.303)\"/></g></svg>\n {/if}\n {#if invalidPassword}\n <p class=\"InvalidInput\">Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.</p>\n {/if}\n </div>\n <div class=\"ConfirmPasswordContainer {invalidConfirmPassword ? 'InvalidField' : ''}\">\n <label for=\"ConfirmPassword\">Confirm Password:<span class=\"FormRequired\">*</span></label>\n <input bind:value={confirmUserPassword} on:blur={validateConfirmPassword} type=\"password\" id=\"ConfirmPassword\" bind:this={confirmPasswordVisibilityToggle} />\n {#if isConfirmPasswordVisible}\n <svg on:click={() => hideConfirmPassword()} class=\"ToggleConfirmPasswordVisibility\" xmlns=\"http://www.w3.org/2000/svg\" width=\"18.844\" height=\"12.887\" viewBox=\"0 0 18.844 12.887\"><defs><style>.a{fill:#07072a;}</style></defs><g transform=\"translate(-110.856 -23.242)\"><circle class=\"a\" cx=\"0.05\" cy=\"0.05\" r=\"0.05\" transform=\"translate(121.017 31.148)\"/><g transform=\"translate(117.499 27.37)\"><path class=\"a\" d=\"M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z\" transform=\"translate(-142.164 -39.123)\"/><path class=\"a\" d=\"M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z\" transform=\"translate(-136.413 -42.068)\"/></g><g transform=\"translate(110.856 24.899)\"><path class=\"a\" 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\" transform=\"translate(-110.856 -33.157)\"/><path class=\"a\" 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\" transform=\"translate(-130.743 -29.617)\"/></g><rect class=\"a\" width=\"0.972\" height=\"15.861\" rx=\"0.486\" transform=\"translate(114.827 23.858) rotate(-39.315)\"/></g></svg>\n {:else}\n <svg on:click={() => showConfirmPassword()} class=\"ToggleConfirmPasswordVisibility\" xmlns=\"http://www.w3.org/2000/svg\" width=\"18.843\" height=\"10.5\" viewBox=\"0 0 18.843 10.5\"><defs><style>.a{fill:#07072a;}</style></defs><g transform=\"translate(-14.185 -27.832)\"><path class=\"a\" 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\" transform=\"translate(0)\"/><circle class=\"a\" cx=\"2.779\" cy=\"2.779\" r=\"2.779\" transform=\"translate(20.827 30.303)\"/></g></svg>\n {/if}\n {#if invalidConfirmPassword}\n <p class=\"InvalidInput\">Do not match with password.</p>\n {/if}\n </div>\n <div class=\"SecurityQuestionContainer {invalidSecurityQuestion ? 'InvalidField' : ''}\">\n <label for=\"SecurityQuestion\">Security Question:<span class=\"FormRequired\">*</span></label>\n <input bind:value={securityQuestion} on:blur={validateSecurityQuestion} type=\"text\" id=\"SecurityQuestion\" />\n {#if invalidSecurityQuestion}\n <p class=\"InvalidInput\">Security question must be at least 1 character long and maximum 120 characters.</p>\n {/if}\n </div>\n <div class=\"SecurityAnswerContainer {invalidSecurityAnswer ? 'InvalidField' : ''}\">\n <label for=\"SecurityAnswer\">Security Answer:<span class=\"FormRequired\">*</span></label>\n <input bind:value={securityAnswer} on:blur={validateSecurityAnswer} type=\"text\" id=\"SecurityAnswer\" />\n {#if invalidSecurityAnswer}\n <p class=\"InvalidInput\">Security answer must be at least 1 character long and maximum 120 characters.</p>\n {/if}\n </div>\n</div>\n<button class=\"RegisterStepNext\" disabled={!isValid} on:click={goNext}>Next</button>\n\n<style lang=\"scss\">\n //This function does a multiplication\n // in order to work with px the\n // same way as working with em\n @function ttp($value) {\n $multiplicator: 16px;\n @return $value * $multiplicator;\n }\n\n .RegisterFormTitle {\n font-size: ttp(1.5);\n text-transform: uppercase;\n font-weight: 400;\n margin: 0;\n padding-bottom: ttp(0.5);\n }\n\n .RegisterFormSubtitle {\n font-size: ttp(0.875);\n margin: 0;\n padding-bottom: ttp(1.25);\n }\n\n .FormLoginCallToAction {\n color: #D0046C;\n font-size: ttp(0.875);\n font-weight: 400;\n text-decoration: none;\n cursor: pointer;\n }\n\n .EmailContainer,\n .UserContainer,\n .PasswordContainer,\n .ConfirmPasswordContainer,\n .SecurityQuestionContainer,\n .SecurityAnswerContainer {\n color: #58586B;\n display: flex;\n flex-direction: column;\n padding-bottom: ttp(1.875);\n position: relative;\n\n label {\n font-size: ttp(0.875);\n font-weight: 300;\n padding-bottom: ttp(0.3125);\n }\n\n input {\n width: 100%;\n height: ttp(2.75);\n border: 1px solid #D1D1D1;\n border-radius: ttp(0.3125);\n padding: ttp(0.3125);\n font-size: ttp(0.875);\n box-sizing: border-box;\n padding: ttp(0.3125) ttp(0.9375);\n font-size: ttp(1);\n line-height: ttp(1.125);\n }\n\n &.InvalidField {\n input {\n border: 1px solid #D0046C;\n background: #FBECF4;\n color: #D0046C;\n }\n }\n }\n\n .PasswordContainer, .ConfirmPasswordContainer {\n position: relative;\n }\n\n .PasswordContainer input,\n .ConfirmPasswordContainer input {\n padding: ttp(0.3125) ttp(1.875) ttp(0.3125) ttp(0.9375);\n }\n\n .FormRequired {\n color: #FD2839;\n }\n\n .TogglePasswordVisibility, .ToggleConfirmPasswordVisibility {\n height: ttp(0.8125);\n position: absolute;\n right: ttp(0.5);\n bottom: ttp(2.813);\n }\n\n .InvalidInput {\n color: #D0046C;\n font-size: ttp(0.625);\n position: absolute;\n bottom: -3px;\n line-height: ttp(0.625);\n }\n\n .ErrorMessage {\n margin: 0 0 ttp(0.938) 0;\n font-size: ttp(0.75);\n color: #D0046C;\n }\n\n .UserContainer {\n .InvalidInput {\n bottom: -3px;\n }\n }\n\n .RegisterStepNext {\n color: #fff;\n background: #D0046C;\n border: 1px solid #D0046C;\n border-radius: 5px;\n width: 100%;\n height: ttp(3.75);\n padding: 0;\n text-transform: uppercase;\n font-size: ttp(1.125);\n cursor: pointer;\n margin-top: ttp(1.5);\n &[disabled] {\n background: #c1c1c1;\n border: 1px solid #c1c1c1;\n cursor: not-allowed;\n }\n }\n</style>\n","import GeneralPlayerRegisterFormStep1 from './GeneralPlayerRegisterFormStep1.svelte';\n\n!customElements.get('general-player-register-form-step1') && customElements.define('general-player-register-form-step1', GeneralPlayerRegisterFormStep1);\nexport default GeneralPlayerRegisterFormStep1;\n"],"names":[],"mappings":";;;;;;IAAA,SAAS,IAAI,GAAG,GAAG;IAWnB,SAAS,YAAY,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACzD,IAAI,OAAO,CAAC,aAAa,GAAG;IAC5B,QAAQ,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACzC,KAAK,CAAC;IACN,CAAC;IACD,SAAS,GAAG,CAAC,EAAE,EAAE;IACjB,IAAI,OAAO,EAAE,EAAE,CAAC;IAChB,CAAC;IACD,SAAS,YAAY,GAAG;IACxB,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IACD,SAAS,OAAO,CAAC,GAAG,EAAE;IACtB,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;IACD,SAAS,WAAW,CAAC,KAAK,EAAE;IAC5B,IAAI,OAAO,OAAO,KAAK,KAAK,UAAU,CAAC;IACvC,CAAC;IACD,SAAS,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE;IAC9B,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,OAAO,CAAC,KAAK,QAAQ,KAAK,OAAO,CAAC,KAAK,UAAU,CAAC,CAAC;IAClG,CAAC;IAID,SAAS,QAAQ,CAAC,GAAG,EAAE;IACvB,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC;IACzC,CAAC;AA0JD;IACA,SAAS,MAAM,CAAC,MAAM,EAAE,IA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AC,SAAS,EAAE,cAAc,EAAE,KAAK;;;OAGtD,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,cAAc;;;;;;;;;;iCAOqD,aAAa;;;MAKrG,SAAS;;;;;MAOT,SAAS;;;;;MAOT,YAAY;;;;;;OAAsE,wBAAwB;;;;;mCAEtG,YAAY;mCAEZ,YAAY;;;MAQhB,mBAAmB;;;;;;OAAoF,+BAA+B;;;;;mCAElI,mBAAmB;mCAEnB,mBAAmB;;;MAQvB,gBAAgB;;;;;MAOhB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ICpPrC,CAAC,cAAc,CAAC,GAAG,CAAC,oCAAoC,CAAC,IAAI,cAAc,CAAC,MAAM,CAAC,oCAAoC,EAAE,8BAA8B,CAAC;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-register-form-step1",
3
- "version": "0.0.128",
3
+ "version": "0.0.132",
4
4
  "main": "dist/general-player-register-form-step1.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "4944e8974549d3e4eecb144753ab48ae69bf2934"
39
+ "gitHead": "ec744511f231600f458512fdb70cdfe4baf17673"
40
40
  }
@@ -106,11 +106,14 @@
106
106
 
107
107
  const validatePassword = () => {
108
108
  invalidPassword = !checkUserPassword(userPassword);
109
+ if (userPassword !== confirmUserPassword && confirmUserPassword.length > 0) {
110
+ invalidConfirmPassword = true;
111
+ }
109
112
  checkIsValid();
110
113
  }
111
114
 
112
115
  const checkUserConfirmPassword = () => {
113
- if (userPassword == confirmUserPassword) {
116
+ if (userPassword === confirmUserPassword) {
114
117
  return true;
115
118
  }
116
119
 
@@ -123,7 +126,7 @@
123
126
  }
124
127
 
125
128
  const checkSecurityQuestion = () => {
126
- if (securityQuestion) {
129
+ if (securityQuestion && securityQuestion.length <= 120) {
127
130
  return true;
128
131
  }
129
132
 
@@ -136,7 +139,7 @@
136
139
  }
137
140
 
138
141
  const checkSecurityAnswer = () => {
139
- if (securityAnswer) {
142
+ if (securityAnswer && securityAnswer.length <= 120) {
140
143
  return true;
141
144
  }
142
145
 
@@ -149,7 +152,7 @@
149
152
  }
150
153
 
151
154
  const goNext = () => {
152
- let Step1Data = {
155
+ let registerStepOneData = {
153
156
  userEmail,
154
157
  userValue,
155
158
  userPassword,
@@ -157,13 +160,13 @@
157
160
  securityQuestion,
158
161
  securityAnswer
159
162
  }
160
- window.postMessage({ type: 'Step1', Step1Data }, window.location.href);
163
+ window.postMessage({ type: 'RegisterStepOne', registerStepOneData }, window.location.href);
161
164
  }
162
165
 
163
166
  const messageHandler = (e:any) => {
164
167
  if (e.data) {
165
168
  switch(e.data.type) {
166
- case 'Step1DataBackup':
169
+ case 'StepOneDataBackup':
167
170
  userEmail = e.data.userData.email;
168
171
  userValue = e.data.userData.username;
169
172
  userPassword = e.data.userData.password;
@@ -236,14 +239,14 @@
236
239
  <label for="SecurityQuestion">Security Question:<span class="FormRequired">*</span></label>
237
240
  <input bind:value={securityQuestion} on:blur={validateSecurityQuestion} type="text" id="SecurityQuestion" />
238
241
  {#if invalidSecurityQuestion}
239
- <p class="InvalidInput">Security question must be at least 1 character long.</p>
242
+ <p class="InvalidInput">Security question must be at least 1 character long and maximum 120 characters.</p>
240
243
  {/if}
241
244
  </div>
242
245
  <div class="SecurityAnswerContainer {invalidSecurityAnswer ? 'InvalidField' : ''}">
243
246
  <label for="SecurityAnswer">Security Answer:<span class="FormRequired">*</span></label>
244
247
  <input bind:value={securityAnswer} on:blur={validateSecurityAnswer} type="text" id="SecurityAnswer" />
245
248
  {#if invalidSecurityAnswer}
246
- <p class="InvalidInput">Security answer must be at least 1 character long.</p>
249
+ <p class="InvalidInput">Security answer must be at least 1 character long and maximum 120 characters.</p>
247
250
  {/if}
248
251
  </div>
249
252
  </div>
@@ -259,7 +262,7 @@
259
262
  }
260
263
 
261
264
  .RegisterFormTitle {
262
- font-size: ttp(2);
265
+ font-size: ttp(1.5);
263
266
  text-transform: uppercase;
264
267
  font-weight: 400;
265
268
  margin: 0;