@micromag/screen-keypad 0.4.86 → 0.4.88

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.
Files changed (2) hide show
  1. package/es/index.js +801 -815
  2. package/package.json +18 -18
package/es/index.js CHANGED
@@ -54,7 +54,7 @@ const placeholderPopupBoxStyles = {
54
54
  }
55
55
  };
56
56
  function KeypadScreen(t0) {
57
- const $ = c(351);
57
+ const $ = c(350);
58
58
  const {
59
59
  items: t1,
60
60
  title: t2,
@@ -296,7 +296,7 @@ function KeypadScreen(t0) {
296
296
  isCurrent: t52
297
297
  } = usePlaybackMediaRef(current, video === null, video !== null ? "popup" : null);
298
298
  const isCurrentMedia = t52 === undefined ? false : t52;
299
- const videoPlaying = current && (isView || isEdit) && playing && (isCurrentMedia || !isView);
299
+ const videoPlaying = current && (isView || isEdit) && playing && (isCurrentMedia || !isView) && showPopup;
300
300
  const backgroundPlaying = current && (isView || isEdit) && (isCurrentMedia || !isView);
301
301
  const mediaShouldLoad = !isPlaceholder && (current || preload);
302
302
  const isInteractivePreview = isEdit && screenState === null;
@@ -409,9 +409,9 @@ function KeypadScreen(t0) {
409
409
  const popupButtonBoxStyle = t74 === undefined ? null : t74;
410
410
  let t75;
411
411
  let t76;
412
- if ($[40] !== color || $[41] !== current || $[42] !== progressColor || $[43] !== setControls || $[44] !== setControlsTheme || $[45] !== video || $[46] !== withControls || $[47] !== withSeekBar) {
412
+ if ($[40] !== color || $[41] !== current || $[42] !== progressColor || $[43] !== setControls || $[44] !== setControlsTheme || $[45] !== showPopup || $[46] !== video || $[47] !== withControls || $[48] !== withSeekBar) {
413
413
  t75 = () => {
414
- if (!current || video === null) {
414
+ if (!current || video === null || !showPopup) {
415
415
  return _temp;
416
416
  }
417
417
  setControlsTheme({
@@ -430,45 +430,46 @@ function KeypadScreen(t0) {
430
430
  }
431
431
  };
432
432
  };
433
- t76 = [video, current, withControls, setControls, setControlsTheme, withSeekBar, color, progressColor];
433
+ t76 = [showPopup, video, current, withControls, setControls, setControlsTheme, withSeekBar, color, progressColor];
434
434
  $[40] = color;
435
435
  $[41] = current;
436
436
  $[42] = progressColor;
437
437
  $[43] = setControls;
438
438
  $[44] = setControlsTheme;
439
- $[45] = video;
440
- $[46] = withControls;
441
- $[47] = withSeekBar;
442
- $[48] = t75;
443
- $[49] = t76;
439
+ $[45] = showPopup;
440
+ $[46] = video;
441
+ $[47] = withControls;
442
+ $[48] = withSeekBar;
443
+ $[49] = t75;
444
+ $[50] = t76;
444
445
  } else {
445
- t75 = $[48];
446
- t76 = $[49];
446
+ t75 = $[49];
447
+ t76 = $[50];
447
448
  }
448
449
  useEffect(t75, t76);
449
450
  let t77;
450
451
  let t78;
451
- if ($[50] !== autoPlay || $[51] !== current || $[52] !== setPlaying || $[53] !== video) {
452
+ if ($[51] !== autoPlay || $[52] !== current || $[53] !== setPlaying || $[54] !== video) {
452
453
  t77 = () => {
453
454
  if (current && autoPlay && video !== null) {
454
455
  setPlaying(true);
455
456
  }
456
457
  };
457
458
  t78 = [current, autoPlay, video, setPlaying];
458
- $[50] = autoPlay;
459
- $[51] = current;
460
- $[52] = setPlaying;
461
- $[53] = video;
462
- $[54] = t77;
463
- $[55] = t78;
459
+ $[51] = autoPlay;
460
+ $[52] = current;
461
+ $[53] = setPlaying;
462
+ $[54] = video;
463
+ $[55] = t77;
464
+ $[56] = t78;
464
465
  } else {
465
- t77 = $[54];
466
- t78 = $[55];
466
+ t77 = $[55];
467
+ t78 = $[56];
467
468
  }
468
469
  useEffect(t77, t78);
469
470
  const activityDetected = useViewerActivityDetected();
470
471
  let t79;
471
- if ($[56] !== activityDetected || $[57] !== hideControls || $[58] !== showControls) {
472
+ if ($[57] !== activityDetected || $[58] !== hideControls || $[59] !== showControls) {
472
473
  t79 = () => {
473
474
  if (activityDetected) {
474
475
  showControls();
@@ -476,81 +477,62 @@ function KeypadScreen(t0) {
476
477
  hideControls();
477
478
  }
478
479
  };
479
- $[56] = activityDetected;
480
- $[57] = hideControls;
481
- $[58] = showControls;
482
- $[59] = t79;
480
+ $[57] = activityDetected;
481
+ $[58] = hideControls;
482
+ $[59] = showControls;
483
+ $[60] = t79;
483
484
  } else {
484
- t79 = $[59];
485
+ t79 = $[60];
485
486
  }
486
487
  const toggleControlsVisibility = t79;
487
488
  useDebounce(video !== null && current ? toggleControlsVisibility : null, activityDetected, 1000);
488
- const [showNextPopup, setShowNextPopup] = useState(false);
489
489
  let t80;
490
- let t81;
491
- if ($[60] !== showNextPopup) {
492
- t80 = () => {
493
- if (showNextPopup) {
494
- setShowNextPopup(false);
495
- setShowPopup(true);
496
- }
497
- };
498
- t81 = [showNextPopup, setShowPopup, setShowNextPopup];
499
- $[60] = showNextPopup;
500
- $[61] = t80;
501
- $[62] = t81;
502
- } else {
503
- t80 = $[61];
504
- t81 = $[62];
505
- }
506
- useEffect(t80, t81);
507
- let t82;
508
- if ($[63] !== isNotInteractive || $[64] !== openWebView || $[65] !== trackScreenEvent) {
509
- t82 = (e, item, index) => {
490
+ if ($[61] !== isNotInteractive || $[62] !== openWebView || $[63] !== trackScreenEvent) {
491
+ t80 = (e, item, index) => {
510
492
  e.stopPropagation();
511
493
  if (isNotInteractive) {
512
494
  return;
513
495
  }
514
496
  const {
515
- label: t83,
516
- heading: t84,
517
- inWebView: t85,
518
- url: t86
497
+ label: t81,
498
+ heading: t82,
499
+ inWebView: t83,
500
+ url: t84
519
501
  } = item || {};
520
- const itemLabel = t83 === undefined ? null : t83;
521
- const heading = t84 === undefined ? null : t84;
522
- const inWebView = t85 === undefined ? false : t85;
523
- const url = t86 === undefined ? null : t86;
502
+ const itemLabel = t81 === undefined ? null : t81;
503
+ const heading = t82 === undefined ? null : t82;
504
+ const inWebView = t83 === undefined ? false : t83;
505
+ const url = t84 === undefined ? null : t84;
524
506
  if (inWebView && url !== null) {
525
507
  openWebView({
526
508
  url
527
509
  });
528
510
  } else {
529
511
  setPopup(item);
530
- setShowNextPopup(true);
512
+ setShowPopup(true);
531
513
  }
532
514
  const {
533
- body: t87
515
+ body: t85
534
516
  } = heading || {};
535
- const headingBody = t87 === undefined ? null : t87;
517
+ const headingBody = t85 === undefined ? null : t85;
536
518
  const finalLabel = isString(itemLabel) ? itemLabel : (itemLabel || {}).body || null;
537
519
  trackScreenEvent("click_item", [`#${index + 1}`, finalLabel || headingBody || ""].filter(_temp2).join(" "), {
538
520
  linkType: "keypad_item",
539
521
  linkUrl: url || null
540
522
  });
541
523
  };
542
- $[63] = isNotInteractive;
543
- $[64] = openWebView;
544
- $[65] = trackScreenEvent;
545
- $[66] = t82;
524
+ $[61] = isNotInteractive;
525
+ $[62] = openWebView;
526
+ $[63] = trackScreenEvent;
527
+ $[64] = t80;
546
528
  } else {
547
- t82 = $[66];
529
+ t80 = $[64];
548
530
  }
549
- const onItemClick = t82;
550
- let t83;
551
- if ($[67] !== isNotInteractive || $[68] !== trackScreenEvent) {
552
- t83 = t84 => {
553
- const isShowPopup = t84 === undefined ? false : t84;
531
+ const onItemClick = t80;
532
+ let t81;
533
+ if ($[65] !== isNotInteractive || $[66] !== trackScreenEvent) {
534
+ t81 = t82 => {
535
+ const isShowPopup = t82 === undefined ? false : t82;
554
536
  if (isNotInteractive) {
555
537
  return;
556
538
  }
@@ -560,16 +542,16 @@ function KeypadScreen(t0) {
560
542
  setShowPopup(false);
561
543
  setPopupDragDisabled(false);
562
544
  };
563
- $[67] = isNotInteractive;
564
- $[68] = trackScreenEvent;
565
- $[69] = t83;
545
+ $[65] = isNotInteractive;
546
+ $[66] = trackScreenEvent;
547
+ $[67] = t81;
566
548
  } else {
567
- t83 = $[69];
549
+ t81 = $[67];
568
550
  }
569
- const onCloseModal = t83;
570
- let t84;
571
- if ($[70] !== isNotInteractive || $[71] !== onCloseModal || $[72] !== showPopup) {
572
- t84 = e_0 => {
551
+ const onCloseModal = t81;
552
+ let t82;
553
+ if ($[68] !== isNotInteractive || $[69] !== onCloseModal || $[70] !== showPopup) {
554
+ t82 = e_0 => {
573
555
  if (isNotInteractive) {
574
556
  return;
575
557
  }
@@ -577,48 +559,48 @@ function KeypadScreen(t0) {
577
559
  e_0.stopPropagation();
578
560
  onCloseModal(showPopup);
579
561
  };
580
- $[70] = isNotInteractive;
581
- $[71] = onCloseModal;
582
- $[72] = showPopup;
583
- $[73] = t84;
562
+ $[68] = isNotInteractive;
563
+ $[69] = onCloseModal;
564
+ $[70] = showPopup;
565
+ $[71] = t82;
584
566
  } else {
585
- t84 = $[73];
567
+ t82 = $[71];
586
568
  }
587
- const onClickClose = t84;
569
+ const onClickClose = t82;
588
570
  const onClickCta = _temp3;
589
571
  const [popupDragDirection, setPopupDragDirection] = useState(null);
590
- let t85;
591
- if ($[74] !== height) {
592
- t85 = t86 => {
572
+ let t83;
573
+ if ($[72] !== height) {
574
+ t83 = t84 => {
593
575
  const {
594
- scrolleeHeight: t87
595
- } = t86;
596
- const scrolleeHeight = t87 === undefined ? 0 : t87;
576
+ scrolleeHeight: t85
577
+ } = t84;
578
+ const scrolleeHeight = t85 === undefined ? 0 : t85;
597
579
  if (Math.floor(scrolleeHeight) >= Math.floor(height)) {
598
580
  setPopupDragDirection("top");
599
581
  } else {
600
582
  setPopupDragDirection("bottom");
601
583
  }
602
584
  };
603
- $[74] = height;
604
- $[75] = t85;
585
+ $[72] = height;
586
+ $[73] = t83;
605
587
  } else {
606
- t85 = $[75];
588
+ t83 = $[73];
607
589
  }
608
- const onPopupScrollHeightChange = t85;
609
- let t86;
610
- if ($[76] !== onCloseModal || $[77] !== popupDragDirection) {
611
- t86 = t87 => {
590
+ const onPopupScrollHeightChange = t83;
591
+ let t84;
592
+ if ($[74] !== onCloseModal || $[75] !== popupDragDirection) {
593
+ t84 = t85 => {
612
594
  const {
613
- active: t88,
614
- movement: t89,
615
- velocity: t90
616
- } = t87;
617
- const dragActive = t88 === undefined ? false : t88;
618
- const [, t91] = t89;
619
- const my = t91 === undefined ? null : t91;
620
- const [, t92] = t90;
621
- const vy = t92 === undefined ? null : t92;
595
+ active: t86,
596
+ movement: t87,
597
+ velocity: t88
598
+ } = t85;
599
+ const dragActive = t86 === undefined ? false : t86;
600
+ const [, t89] = t87;
601
+ const my = t89 === undefined ? null : t89;
602
+ const [, t90] = t88;
603
+ const vy = t90 === undefined ? null : t90;
622
604
  const windowHeight = typeof window !== "undefined" ? window.innerHeight : 0;
623
605
  const delta = windowHeight > 0 && my !== null ? Math.abs(my) / windowHeight : 0;
624
606
  const reachedThreshold = vy !== null ? vy > 1 || delta > 0.3 : false;
@@ -639,37 +621,41 @@ function KeypadScreen(t0) {
639
621
  }
640
622
  return progress;
641
623
  };
642
- $[76] = onCloseModal;
643
- $[77] = popupDragDirection;
644
- $[78] = t86;
624
+ $[74] = onCloseModal;
625
+ $[75] = popupDragDirection;
626
+ $[76] = t84;
645
627
  } else {
646
- t86 = $[78];
628
+ t84 = $[76];
647
629
  }
648
- const computePopupProgress = t86;
649
- let t87;
650
- let t88;
651
- if ($[79] !== disableInteraction || $[80] !== enableInteraction || $[81] !== showPopup) {
652
- t87 = () => {
630
+ const computePopupProgress = t84;
631
+ let t85;
632
+ let t86;
633
+ if ($[77] !== current || $[78] !== disableInteraction || $[79] !== enableInteraction || $[80] !== showPopup) {
634
+ t85 = () => {
635
+ if (!current) {
636
+ return;
637
+ }
653
638
  if (showPopup) {
654
639
  disableInteraction();
655
640
  } else {
656
641
  enableInteraction();
657
642
  }
658
643
  };
659
- t88 = [showPopup, enableInteraction, disableInteraction];
660
- $[79] = disableInteraction;
661
- $[80] = enableInteraction;
662
- $[81] = showPopup;
663
- $[82] = t87;
664
- $[83] = t88;
665
- } else {
666
- t87 = $[82];
667
- t88 = $[83];
668
- }
669
- useEffect(t87, t88);
670
- let t89;
671
- if ($[84] !== current || $[85] !== isEdit || $[86] !== isInteractivePreview || $[87] !== isView || $[88] !== onCloseModal || $[89] !== showPopup) {
672
- t89 = () => {
644
+ t86 = [current, showPopup, enableInteraction, disableInteraction];
645
+ $[77] = current;
646
+ $[78] = disableInteraction;
647
+ $[79] = enableInteraction;
648
+ $[80] = showPopup;
649
+ $[81] = t85;
650
+ $[82] = t86;
651
+ } else {
652
+ t85 = $[81];
653
+ t86 = $[82];
654
+ }
655
+ useEffect(t85, t86);
656
+ let t87;
657
+ if ($[83] !== current || $[84] !== isEdit || $[85] !== isInteractivePreview || $[86] !== isView || $[87] !== onCloseModal || $[88] !== showPopup) {
658
+ t87 = () => {
673
659
  const handleClickOutside = function handleClickOutside(e_2) {
674
660
  if (!current && isView || popupInnerRef.current && !popupInnerRef.current.contains(e_2.target) && containerRef.current && containerRef.current.contains(e_2.target) && !isInteractivePreview && !isEdit && showPopup) {
675
661
  e_2.preventDefault();
@@ -682,52 +668,52 @@ function KeypadScreen(t0) {
682
668
  document.removeEventListener("mouseup", handleClickOutside);
683
669
  };
684
670
  };
685
- $[84] = current;
686
- $[85] = isEdit;
687
- $[86] = isInteractivePreview;
688
- $[87] = isView;
689
- $[88] = onCloseModal;
690
- $[89] = showPopup;
691
- $[90] = t89;
671
+ $[83] = current;
672
+ $[84] = isEdit;
673
+ $[85] = isInteractivePreview;
674
+ $[86] = isView;
675
+ $[87] = onCloseModal;
676
+ $[88] = showPopup;
677
+ $[89] = t87;
692
678
  } else {
693
- t89 = $[90];
679
+ t87 = $[89];
694
680
  }
695
- let t90;
696
- if ($[91] !== current || $[92] !== isEdit || $[93] !== isInteractivePreview || $[94] !== showPopup) {
697
- t90 = [current, popupInnerRef, containerRef, isInteractivePreview, isEdit, showPopup];
698
- $[91] = current;
699
- $[92] = isEdit;
700
- $[93] = isInteractivePreview;
701
- $[94] = showPopup;
702
- $[95] = t90;
681
+ let t88;
682
+ if ($[90] !== current || $[91] !== isEdit || $[92] !== isInteractivePreview || $[93] !== showPopup) {
683
+ t88 = [current, popupInnerRef, containerRef, isInteractivePreview, isEdit, showPopup];
684
+ $[90] = current;
685
+ $[91] = isEdit;
686
+ $[92] = isInteractivePreview;
687
+ $[93] = showPopup;
688
+ $[94] = t88;
703
689
  } else {
704
- t90 = $[95];
690
+ t88 = $[94];
705
691
  }
706
- useEffect(t89, t90);
707
- let t91;
708
- if ($[96] === Symbol.for("react.memo_cache_sentinel")) {
709
- t91 = () => {
692
+ useEffect(t87, t88);
693
+ let t89;
694
+ if ($[95] === Symbol.for("react.memo_cache_sentinel")) {
695
+ t89 = () => {
710
696
  setPopupDragDisabled(false);
711
697
  };
712
- $[96] = t91;
698
+ $[95] = t89;
713
699
  } else {
714
- t91 = $[96];
700
+ t89 = $[95];
715
701
  }
716
- const onPopupScrollBottom = t91;
717
- let t92;
718
- if ($[97] === Symbol.for("react.memo_cache_sentinel")) {
719
- t92 = () => {
702
+ const onPopupScrollBottom = t89;
703
+ let t90;
704
+ if ($[96] === Symbol.for("react.memo_cache_sentinel")) {
705
+ t90 = () => {
720
706
  setPopupDragDisabled(true);
721
707
  };
722
- $[97] = t92;
708
+ $[96] = t90;
723
709
  } else {
724
- t92 = $[97];
710
+ t90 = $[96];
725
711
  }
726
- const onPopupScrollNotBottom = t92;
727
- let t93;
728
- if ($[98] !== trackScreenEvent) {
729
- t93 = t94 => {
730
- const trigger = t94 === undefined ? null : t94;
712
+ const onPopupScrollNotBottom = t90;
713
+ let t91;
714
+ if ($[97] !== trackScreenEvent) {
715
+ t91 = t92 => {
716
+ const trigger = t92 === undefined ? null : t92;
731
717
  if (trigger !== null) {
732
718
  const scrollPercent = Math.round(trigger * 100);
733
719
  trackScreenEvent("scroll", scrollPercent, {
@@ -735,73 +721,73 @@ function KeypadScreen(t0) {
735
721
  });
736
722
  }
737
723
  };
738
- $[98] = trackScreenEvent;
739
- $[99] = t93;
724
+ $[97] = trackScreenEvent;
725
+ $[98] = t91;
740
726
  } else {
741
- t93 = $[99];
727
+ t91 = $[98];
742
728
  }
743
- const onScrolledTrigger = t93;
744
- let t94;
745
- if ($[100] !== onCloseModal || $[101] !== showPopup) {
746
- t94 = () => {
729
+ const onScrolledTrigger = t91;
730
+ let t92;
731
+ if ($[99] !== onCloseModal || $[100] !== showPopup) {
732
+ t92 = () => {
747
733
  onCloseModal(showPopup);
748
734
  };
749
- $[100] = onCloseModal;
750
- $[101] = showPopup;
751
- $[102] = t94;
735
+ $[99] = onCloseModal;
736
+ $[100] = showPopup;
737
+ $[101] = t92;
752
738
  } else {
753
- t94 = $[102];
739
+ t92 = $[101];
754
740
  }
755
- const onTap = t94;
741
+ const onTap = t92;
756
742
  const onResolve = _temp4;
757
- const t95 = showPopup ? 0 : 1;
758
- let t96;
759
- let t97;
760
- if ($[103] === Symbol.for("react.memo_cache_sentinel")) {
761
- t96 = {
743
+ const t93 = showPopup ? 0 : 1;
744
+ let t94;
745
+ let t95;
746
+ if ($[102] === Symbol.for("react.memo_cache_sentinel")) {
747
+ t94 = {
762
748
  config: {
763
749
  tension: 300,
764
750
  friction: 30
765
751
  }
766
752
  };
767
- t97 = {
753
+ t95 = {
768
754
  filterTaps: true,
769
755
  preventDefault: true,
770
756
  stopPropagation: true
771
757
  };
772
- $[103] = t96;
773
- $[104] = t97;
758
+ $[102] = t94;
759
+ $[103] = t95;
774
760
  } else {
775
- t96 = $[103];
776
- t97 = $[104];
761
+ t94 = $[102];
762
+ t95 = $[103];
777
763
  }
778
- let t98;
779
- if ($[105] !== computePopupProgress || $[106] !== onTap || $[107] !== t95) {
780
- t98 = {
764
+ let t96;
765
+ if ($[104] !== computePopupProgress || $[105] !== onTap || $[106] !== t93) {
766
+ t96 = {
781
767
  disabled: true,
782
- progress: t95,
768
+ progress: t93,
783
769
  computeProgress: computePopupProgress,
784
770
  onResolve,
785
- springParams: t96,
786
- dragOptions: t97,
771
+ springParams: t94,
772
+ dragOptions: t95,
787
773
  onTap
788
774
  };
789
- $[105] = computePopupProgress;
790
- $[106] = onTap;
791
- $[107] = t95;
792
- $[108] = t98;
775
+ $[104] = computePopupProgress;
776
+ $[105] = onTap;
777
+ $[106] = t93;
778
+ $[107] = t96;
793
779
  } else {
794
- t98 = $[108];
780
+ t96 = $[107];
795
781
  }
796
782
  const {
797
783
  bind: bindPopupDrag,
798
784
  progress: popupSpring,
799
785
  transitioning: popupTransitioning
800
- } = useDragProgress(t98);
801
- let t100;
802
- let t99;
803
- if ($[109] !== onCloseModal || $[110] !== showPopup) {
804
- t99 = () => {
786
+ } = useDragProgress(t96);
787
+ let t97;
788
+ let t98;
789
+ if ($[108] !== onCloseModal || $[109] !== showPopup) {
790
+ t97 = () => {
805
791
  const keyup = e_3 => {
806
792
  if (e_3.key === "Escape") {
807
793
  if (showPopup) {
@@ -814,66 +800,66 @@ function KeypadScreen(t0) {
814
800
  document.removeEventListener("keyup", keyup);
815
801
  };
816
802
  };
817
- t100 = [showPopup, onCloseModal];
818
- $[109] = onCloseModal;
819
- $[110] = showPopup;
820
- $[111] = t100;
821
- $[112] = t99;
803
+ t98 = [showPopup, onCloseModal];
804
+ $[108] = onCloseModal;
805
+ $[109] = showPopup;
806
+ $[110] = t97;
807
+ $[111] = t98;
822
808
  } else {
823
- t100 = $[111];
824
- t99 = $[112];
809
+ t97 = $[110];
810
+ t98 = $[111];
825
811
  }
826
- useEffect(t99, t100);
827
- const t101 = items === null || items.length === 0 ? placeholders : items;
828
- let t102;
829
- if ($[113] !== buttonBoxStyle || $[114] !== buttonLabelBoxStyle || $[115] !== buttonLayout || $[116] !== buttonTextStyle || $[117] !== buttonVisualWidth || $[118] !== current || $[119] !== onItemClick || $[120] !== resolution || $[121] !== t101) {
830
- let t103;
831
- if ($[123] !== buttonBoxStyle || $[124] !== buttonLabelBoxStyle || $[125] !== buttonLayout || $[126] !== buttonTextStyle || $[127] !== buttonVisualWidth || $[128] !== current || $[129] !== onItemClick || $[130] !== resolution) {
832
- t103 = (item_0, index_0) => {
812
+ useEffect(t97, t98);
813
+ const t99 = items === null || items.length === 0 ? placeholders : items;
814
+ let t100;
815
+ if ($[112] !== buttonBoxStyle || $[113] !== buttonLabelBoxStyle || $[114] !== buttonLayout || $[115] !== buttonTextStyle || $[116] !== buttonVisualWidth || $[117] !== current || $[118] !== onItemClick || $[119] !== resolution || $[120] !== t99) {
816
+ let t101;
817
+ if ($[122] !== buttonBoxStyle || $[123] !== buttonLabelBoxStyle || $[124] !== buttonLayout || $[125] !== buttonTextStyle || $[126] !== buttonVisualWidth || $[127] !== current || $[128] !== onItemClick || $[129] !== resolution) {
818
+ t101 = (item_0, index_0) => {
833
819
  const {
834
- id: t104,
835
- label: t105,
836
- visual: t106,
837
- boxStyle: t107,
838
- heading: t108,
839
- content: t109,
840
- url: t110,
841
- inWebView: t111,
842
- largeVisual: t112,
820
+ id: t102,
821
+ label: t103,
822
+ visual: t104,
823
+ boxStyle: t105,
824
+ heading: t106,
825
+ content: t107,
826
+ url: t108,
827
+ inWebView: t109,
828
+ largeVisual: t110,
843
829
  video: itemVideo
844
830
  } = item_0 || {};
845
- const id = t104 === undefined ? null : t104;
846
- const itemLabel_0 = t105 === undefined ? null : t105;
847
- const visual = t106 === undefined ? null : t106;
848
- const boxStyle = t107 === undefined ? null : t107;
849
- const heading_0 = t108 === undefined ? null : t108;
850
- const content = t109 === undefined ? null : t109;
851
- const url_0 = t110 === undefined ? null : t110;
852
- const inWebView_0 = t111 === undefined ? false : t111;
853
- const itemLargeVisual = t112 === undefined ? null : t112;
831
+ const id = t102 === undefined ? null : t102;
832
+ const itemLabel_0 = t103 === undefined ? null : t103;
833
+ const visual = t104 === undefined ? null : t104;
834
+ const boxStyle = t105 === undefined ? null : t105;
835
+ const heading_0 = t106 === undefined ? null : t106;
836
+ const content = t107 === undefined ? null : t107;
837
+ const url_0 = t108 === undefined ? null : t108;
838
+ const inWebView_0 = t109 === undefined ? false : t109;
839
+ const itemLargeVisual = t110 === undefined ? null : t110;
854
840
  const {
855
- url: t113
841
+ url: t111
856
842
  } = visual || {};
857
- const visualUrl = t113 === undefined ? null : t113;
843
+ const visualUrl = t111 === undefined ? null : t111;
858
844
  const {
859
- body: t114
845
+ body: t112
860
846
  } = heading_0 || {};
861
- const headingBody_0 = t114 === undefined ? null : t114;
847
+ const headingBody_0 = t112 === undefined ? null : t112;
862
848
  const {
863
- body: t115
849
+ body: t113
864
850
  } = content || {};
865
- const contentBody = t115 === undefined ? null : t115;
851
+ const contentBody = t113 === undefined ? null : t113;
866
852
  const finalLabel_0 = isString(itemLabel_0) ? {
867
853
  body: itemLabel_0
868
854
  } : itemLabel_0 || {};
869
855
  const {
870
- textStyle: t116
856
+ textStyle: t114
871
857
  } = finalLabel_0 || {};
872
- const finalLabelTextStyle = t116 === undefined ? null : t116;
858
+ const finalLabelTextStyle = t114 === undefined ? null : t114;
873
859
  const {
874
- body: t117
860
+ body: t115
875
861
  } = finalLabel_0 || {};
876
- const finalBody = t117 === undefined ? null : t117;
862
+ const finalBody = t115 === undefined ? null : t115;
877
863
  const key = finalBody || visualUrl || id;
878
864
  const itemIsEmpty = finalBody === null && visual === null;
879
865
  const isExternalLink = url_0 !== null && !inWebView_0;
@@ -908,36 +894,36 @@ function KeypadScreen(t0) {
908
894
  })
909
895
  }, key);
910
896
  };
911
- $[123] = buttonBoxStyle;
912
- $[124] = buttonLabelBoxStyle;
913
- $[125] = buttonLayout;
914
- $[126] = buttonTextStyle;
915
- $[127] = buttonVisualWidth;
916
- $[128] = current;
917
- $[129] = onItemClick;
918
- $[130] = resolution;
919
- $[131] = t103;
897
+ $[122] = buttonBoxStyle;
898
+ $[123] = buttonLabelBoxStyle;
899
+ $[124] = buttonLayout;
900
+ $[125] = buttonTextStyle;
901
+ $[126] = buttonVisualWidth;
902
+ $[127] = current;
903
+ $[128] = onItemClick;
904
+ $[129] = resolution;
905
+ $[130] = t101;
920
906
  } else {
921
- t103 = $[131];
907
+ t101 = $[130];
922
908
  }
923
- t102 = t101.map(t103);
924
- $[113] = buttonBoxStyle;
925
- $[114] = buttonLabelBoxStyle;
926
- $[115] = buttonLayout;
927
- $[116] = buttonTextStyle;
928
- $[117] = buttonVisualWidth;
929
- $[118] = current;
930
- $[119] = onItemClick;
931
- $[120] = resolution;
932
- $[121] = t101;
933
- $[122] = t102;
934
- } else {
935
- t102 = $[122];
936
- }
937
- const gridItems = t102;
938
- let t103;
939
- if ($[132] !== isPlaceholder || $[133] !== isView || $[134] !== items || $[135] !== screenState) {
940
- t103 = () => {
909
+ t100 = t99.map(t101);
910
+ $[112] = buttonBoxStyle;
911
+ $[113] = buttonLabelBoxStyle;
912
+ $[114] = buttonLayout;
913
+ $[115] = buttonTextStyle;
914
+ $[116] = buttonVisualWidth;
915
+ $[117] = current;
916
+ $[118] = onItemClick;
917
+ $[119] = resolution;
918
+ $[120] = t99;
919
+ $[121] = t100;
920
+ } else {
921
+ t100 = $[121];
922
+ }
923
+ const gridItems = t100;
924
+ let t101;
925
+ if ($[131] !== isPlaceholder || $[132] !== isView || $[133] !== items || $[134] !== screenState) {
926
+ t101 = () => {
941
927
  if (screenState === "popup" && isPlaceholder) {
942
928
  setPopup(placeholderPopupBoxStyles);
943
929
  setShowPopup(true);
@@ -957,52 +943,52 @@ function KeypadScreen(t0) {
957
943
  setShowPopup(false);
958
944
  }
959
945
  };
960
- $[132] = isPlaceholder;
961
- $[133] = isView;
962
- $[134] = items;
963
- $[135] = screenState;
964
- $[136] = t103;
946
+ $[131] = isPlaceholder;
947
+ $[132] = isView;
948
+ $[133] = items;
949
+ $[134] = screenState;
950
+ $[135] = t101;
965
951
  } else {
966
- t103 = $[136];
952
+ t101 = $[135];
967
953
  }
968
- let t104;
969
- if ($[137] !== isView || $[138] !== items || $[139] !== screenState) {
970
- t104 = [screenState, items, isView];
971
- $[137] = isView;
972
- $[138] = items;
973
- $[139] = screenState;
974
- $[140] = t104;
954
+ let t102;
955
+ if ($[136] !== isView || $[137] !== items || $[138] !== screenState) {
956
+ t102 = [screenState, items, isView];
957
+ $[136] = isView;
958
+ $[137] = items;
959
+ $[138] = screenState;
960
+ $[139] = t102;
975
961
  } else {
976
- t104 = $[140];
962
+ t102 = $[139];
977
963
  }
978
- useEffect(t103, t104);
979
- let t105;
980
- let t106;
981
- if ($[141] !== isView || $[142] !== popupTransitioning || $[143] !== screenState || $[144] !== showPopup) {
982
- t105 = () => {
964
+ useEffect(t101, t102);
965
+ let t103;
966
+ let t104;
967
+ if ($[140] !== isView || $[141] !== popupTransitioning || $[142] !== screenState || $[143] !== showPopup) {
968
+ t103 = () => {
983
969
  if (isView && screenState === null && !showPopup && !popupTransitioning) {
984
970
  setPopup(null);
985
971
  }
986
972
  };
987
- t106 = [isView, screenState, showPopup, popupTransitioning];
988
- $[141] = isView;
989
- $[142] = popupTransitioning;
990
- $[143] = screenState;
991
- $[144] = showPopup;
992
- $[145] = t105;
993
- $[146] = t106;
994
- } else {
995
- t105 = $[145];
996
- t106 = $[146];
997
- }
998
- useEffect(t105, t106);
999
- const t107 = classNames([styles.container, className, {
973
+ t104 = [isView, screenState, showPopup, popupTransitioning];
974
+ $[140] = isView;
975
+ $[141] = popupTransitioning;
976
+ $[142] = screenState;
977
+ $[143] = showPopup;
978
+ $[144] = t103;
979
+ $[145] = t104;
980
+ } else {
981
+ t103 = $[144];
982
+ t104 = $[145];
983
+ }
984
+ useEffect(t103, t104);
985
+ const t105 = classNames([styles.container, className, {
1000
986
  [styles.isPlaceholder]: isPlaceholder,
1001
987
  [styles.withSquareItems]: withSquareItems
1002
988
  }]);
1003
- let t108;
1004
- if ($[147] !== background || $[148] !== backgroundPlaying || $[149] !== customMediaRef || $[150] !== height || $[151] !== isPlaceholder || $[152] !== mediaRef || $[153] !== mediaShouldLoad || $[154] !== muted || $[155] !== resolution || $[156] !== video || $[157] !== width) {
1005
- t108 = !isPlaceholder ? /*#__PURE__*/jsx(Background, {
989
+ let t106;
990
+ if ($[146] !== background || $[147] !== backgroundPlaying || $[148] !== customMediaRef || $[149] !== height || $[150] !== isPlaceholder || $[151] !== mediaRef || $[152] !== mediaShouldLoad || $[153] !== muted || $[154] !== resolution || $[155] !== video || $[156] !== width) {
991
+ t106 = !isPlaceholder ? /*#__PURE__*/jsx(Background, {
1006
992
  background: background,
1007
993
  width: width,
1008
994
  height: height,
@@ -1013,24 +999,24 @@ function KeypadScreen(t0) {
1013
999
  mediaRef: mergeRefs(video === null ? mediaRef : null, customMediaRef),
1014
1000
  className: styles.background
1015
1001
  }) : null;
1016
- $[147] = background;
1017
- $[148] = backgroundPlaying;
1018
- $[149] = customMediaRef;
1019
- $[150] = height;
1020
- $[151] = isPlaceholder;
1021
- $[152] = mediaRef;
1022
- $[153] = mediaShouldLoad;
1023
- $[154] = muted;
1024
- $[155] = resolution;
1025
- $[156] = video;
1026
- $[157] = width;
1027
- $[158] = t108;
1028
- } else {
1029
- t108 = $[158];
1030
- }
1031
- let t109;
1032
- if ($[159] !== isPlaceholder || $[160] !== isPreview || $[161] !== isView || $[162] !== onClickClose || $[163] !== showPopup || $[164] !== withoutCloseButton) {
1033
- t109 = isView && !isPlaceholder && !withoutCloseButton ? /*#__PURE__*/jsx(animated.div, {
1002
+ $[146] = background;
1003
+ $[147] = backgroundPlaying;
1004
+ $[148] = customMediaRef;
1005
+ $[149] = height;
1006
+ $[150] = isPlaceholder;
1007
+ $[151] = mediaRef;
1008
+ $[152] = mediaShouldLoad;
1009
+ $[153] = muted;
1010
+ $[154] = resolution;
1011
+ $[155] = video;
1012
+ $[156] = width;
1013
+ $[157] = t106;
1014
+ } else {
1015
+ t106 = $[157];
1016
+ }
1017
+ let t107;
1018
+ if ($[158] !== isPlaceholder || $[159] !== isPreview || $[160] !== isView || $[161] !== onClickClose || $[162] !== showPopup || $[163] !== withoutCloseButton) {
1019
+ t107 = isView && !isPlaceholder && !withoutCloseButton ? /*#__PURE__*/jsx(animated.div, {
1034
1020
  className: classNames([styles.fixedHeader, {
1035
1021
  [styles.open]: showPopup
1036
1022
  }]),
@@ -1048,44 +1034,44 @@ function KeypadScreen(t0) {
1048
1034
  })
1049
1035
  })
1050
1036
  }) : null;
1051
- $[159] = isPlaceholder;
1052
- $[160] = isPreview;
1053
- $[161] = isView;
1054
- $[162] = onClickClose;
1055
- $[163] = showPopup;
1056
- $[164] = withoutCloseButton;
1057
- $[165] = t109;
1058
- } else {
1059
- t109 = $[165];
1060
- }
1061
- const t110 = !showPopup;
1062
- const t111 = !showPopup;
1063
- const t112 = isPreview || isPlaceholder || showPopup;
1064
- let t113;
1065
- if ($[166] !== current || $[167] !== footerHeight || $[168] !== hasFooter || $[169] !== hasHeader || $[170] !== headerHeight || $[171] !== isPlaceholder || $[172] !== isPreview || $[173] !== spacing || $[174] !== viewerBottomHeight || $[175] !== viewerTopHeight) {
1066
- t113 = !isPlaceholder ? {
1037
+ $[158] = isPlaceholder;
1038
+ $[159] = isPreview;
1039
+ $[160] = isView;
1040
+ $[161] = onClickClose;
1041
+ $[162] = showPopup;
1042
+ $[163] = withoutCloseButton;
1043
+ $[164] = t107;
1044
+ } else {
1045
+ t107 = $[164];
1046
+ }
1047
+ const t108 = !showPopup;
1048
+ const t109 = !showPopup;
1049
+ const t110 = isPreview || isPlaceholder || showPopup;
1050
+ let t111;
1051
+ if ($[165] !== current || $[166] !== footerHeight || $[167] !== hasFooter || $[168] !== hasHeader || $[169] !== headerHeight || $[170] !== isPlaceholder || $[171] !== isPreview || $[172] !== spacing || $[173] !== viewerBottomHeight || $[174] !== viewerTopHeight) {
1052
+ t111 = !isPlaceholder ? {
1067
1053
  paddingLeft: spacing,
1068
1054
  paddingRight: spacing,
1069
1055
  paddingTop: (hasHeader ? headerHeight : spacing) + (current && !isPreview ? viewerTopHeight : 0),
1070
1056
  paddingBottom: (hasFooter ? footerHeight : spacing) + (current && !isPreview ? viewerBottomHeight : 0)
1071
1057
  } : null;
1072
- $[166] = current;
1073
- $[167] = footerHeight;
1074
- $[168] = hasFooter;
1075
- $[169] = hasHeader;
1076
- $[170] = headerHeight;
1077
- $[171] = isPlaceholder;
1078
- $[172] = isPreview;
1079
- $[173] = spacing;
1080
- $[174] = viewerBottomHeight;
1081
- $[175] = viewerTopHeight;
1082
- $[176] = t113;
1083
- } else {
1084
- t113 = $[176];
1085
- }
1086
- let t114;
1087
- if ($[177] !== hasHeader || $[178] !== header || $[179] !== headerRef || $[180] !== isPlaceholder || $[181] !== isPreview || $[182] !== spacing || $[183] !== viewerTopHeight) {
1088
- t114 = !isPlaceholder && hasHeader ? /*#__PURE__*/jsx("div", {
1058
+ $[165] = current;
1059
+ $[166] = footerHeight;
1060
+ $[167] = hasFooter;
1061
+ $[168] = hasHeader;
1062
+ $[169] = headerHeight;
1063
+ $[170] = isPlaceholder;
1064
+ $[171] = isPreview;
1065
+ $[172] = spacing;
1066
+ $[173] = viewerBottomHeight;
1067
+ $[174] = viewerTopHeight;
1068
+ $[175] = t111;
1069
+ } else {
1070
+ t111 = $[175];
1071
+ }
1072
+ let t112;
1073
+ if ($[176] !== hasHeader || $[177] !== header || $[178] !== headerRef || $[179] !== isPlaceholder || $[180] !== isPreview || $[181] !== spacing || $[182] !== viewerTopHeight) {
1074
+ t112 = !isPlaceholder && hasHeader ? /*#__PURE__*/jsx("div", {
1089
1075
  ref: headerRef,
1090
1076
  className: styles.header,
1091
1077
  style: {
@@ -1099,286 +1085,286 @@ function KeypadScreen(t0) {
1099
1085
  ...header
1100
1086
  })
1101
1087
  }) : null;
1102
- $[177] = hasHeader;
1103
- $[178] = header;
1104
- $[179] = headerRef;
1105
- $[180] = isPlaceholder;
1106
- $[181] = isPreview;
1107
- $[182] = spacing;
1108
- $[183] = viewerTopHeight;
1109
- $[184] = t114;
1110
- } else {
1111
- t114 = $[184];
1112
- }
1113
- let t115;
1114
- let t116;
1115
- if ($[185] === Symbol.for("react.memo_cache_sentinel")) {
1116
- t115 = /*#__PURE__*/jsx(FormattedMessage, {
1088
+ $[176] = hasHeader;
1089
+ $[177] = header;
1090
+ $[178] = headerRef;
1091
+ $[179] = isPlaceholder;
1092
+ $[180] = isPreview;
1093
+ $[181] = spacing;
1094
+ $[182] = viewerTopHeight;
1095
+ $[183] = t112;
1096
+ } else {
1097
+ t112 = $[183];
1098
+ }
1099
+ let t113;
1100
+ let t114;
1101
+ if ($[184] === Symbol.for("react.memo_cache_sentinel")) {
1102
+ t113 = /*#__PURE__*/jsx(FormattedMessage, {
1117
1103
  id: "BSTWf8",
1118
1104
  defaultMessage: "Title"
1119
1105
  });
1120
- t116 = classNames([styles.empty, styles.emptyHeading]);
1121
- $[185] = t115;
1122
- $[186] = t116;
1106
+ t114 = classNames([styles.empty, styles.emptyHeading]);
1107
+ $[184] = t113;
1108
+ $[185] = t114;
1123
1109
  } else {
1124
- t115 = $[185];
1125
- t116 = $[186];
1110
+ t113 = $[184];
1111
+ t114 = $[185];
1126
1112
  }
1127
- const t117 = !hasTitle;
1128
- let t118;
1129
- if ($[187] !== hasTitle || $[188] !== title || $[189] !== titleTextStyle) {
1130
- t118 = hasTitle ? /*#__PURE__*/jsx(Heading, {
1113
+ const t115 = !hasTitle;
1114
+ let t116;
1115
+ if ($[186] !== hasTitle || $[187] !== title || $[188] !== titleTextStyle) {
1116
+ t116 = hasTitle ? /*#__PURE__*/jsx(Heading, {
1131
1117
  className: styles.title,
1132
1118
  ...title,
1133
1119
  textStyle: titleTextStyle
1134
1120
  }) : null;
1135
- $[187] = hasTitle;
1136
- $[188] = title;
1137
- $[189] = titleTextStyle;
1138
- $[190] = t118;
1121
+ $[186] = hasTitle;
1122
+ $[187] = title;
1123
+ $[188] = titleTextStyle;
1124
+ $[189] = t116;
1139
1125
  } else {
1140
- t118 = $[190];
1126
+ t116 = $[189];
1141
1127
  }
1142
- let t119;
1143
- if ($[191] !== t117 || $[192] !== t118) {
1144
- t119 = /*#__PURE__*/jsx(ScreenElement, {
1128
+ let t117;
1129
+ if ($[190] !== t115 || $[191] !== t116) {
1130
+ t117 = /*#__PURE__*/jsx(ScreenElement, {
1145
1131
  placeholder: "Title",
1146
- emptyLabel: t115,
1147
- emptyClassName: t116,
1148
- isEmpty: t117,
1149
- children: t118
1132
+ emptyLabel: t113,
1133
+ emptyClassName: t114,
1134
+ isEmpty: t115,
1135
+ children: t116
1150
1136
  });
1151
- $[191] = t117;
1152
- $[192] = t118;
1153
- $[193] = t119;
1137
+ $[190] = t115;
1138
+ $[191] = t116;
1139
+ $[192] = t117;
1154
1140
  } else {
1155
- t119 = $[193];
1141
+ t117 = $[192];
1156
1142
  }
1157
- let t120;
1158
- let t121;
1159
- if ($[194] === Symbol.for("react.memo_cache_sentinel")) {
1160
- t120 = /*#__PURE__*/jsx(FormattedMessage, {
1143
+ let t118;
1144
+ let t119;
1145
+ if ($[193] === Symbol.for("react.memo_cache_sentinel")) {
1146
+ t118 = /*#__PURE__*/jsx(FormattedMessage, {
1161
1147
  id: "ZG8/oK",
1162
1148
  defaultMessage: "Subtitle"
1163
1149
  });
1164
- t121 = classNames([styles.empty, styles.emptyHeading]);
1165
- $[194] = t120;
1166
- $[195] = t121;
1150
+ t119 = classNames([styles.empty, styles.emptyHeading]);
1151
+ $[193] = t118;
1152
+ $[194] = t119;
1167
1153
  } else {
1168
- t120 = $[194];
1169
- t121 = $[195];
1154
+ t118 = $[193];
1155
+ t119 = $[194];
1170
1156
  }
1171
- const t122 = !hasSubtitle;
1172
- let t123;
1173
- if ($[196] !== hasSubtitle || $[197] !== subtitle) {
1174
- t123 = hasSubtitle ? /*#__PURE__*/jsx(Text, {
1157
+ const t120 = !hasSubtitle;
1158
+ let t121;
1159
+ if ($[195] !== hasSubtitle || $[196] !== subtitle) {
1160
+ t121 = hasSubtitle ? /*#__PURE__*/jsx(Text, {
1175
1161
  className: styles.subtitle,
1176
1162
  ...subtitle
1177
1163
  }) : null;
1178
- $[196] = hasSubtitle;
1179
- $[197] = subtitle;
1180
- $[198] = t123;
1164
+ $[195] = hasSubtitle;
1165
+ $[196] = subtitle;
1166
+ $[197] = t121;
1181
1167
  } else {
1182
- t123 = $[198];
1168
+ t121 = $[197];
1183
1169
  }
1184
- let t124;
1185
- if ($[199] !== t122 || $[200] !== t123) {
1186
- t124 = /*#__PURE__*/jsx(ScreenElement, {
1170
+ let t122;
1171
+ if ($[198] !== t120 || $[199] !== t121) {
1172
+ t122 = /*#__PURE__*/jsx(ScreenElement, {
1187
1173
  placeholder: "Subtitle",
1188
- emptyLabel: t120,
1189
- emptyClassName: t121,
1190
- isEmpty: t122,
1191
- children: t123
1174
+ emptyLabel: t118,
1175
+ emptyClassName: t119,
1176
+ isEmpty: t120,
1177
+ children: t121
1192
1178
  });
1193
- $[199] = t122;
1194
- $[200] = t123;
1195
- $[201] = t124;
1179
+ $[198] = t120;
1180
+ $[199] = t121;
1181
+ $[200] = t122;
1196
1182
  } else {
1197
- t124 = $[201];
1183
+ t122 = $[200];
1198
1184
  }
1199
- let t125;
1200
- if ($[202] !== isPlaceholder) {
1201
- t125 = classNames([styles.grid, {
1185
+ let t123;
1186
+ if ($[201] !== isPlaceholder) {
1187
+ t123 = classNames([styles.grid, {
1202
1188
  [styles.gridPlaceholder]: isPlaceholder
1203
1189
  }]);
1204
- $[202] = isPlaceholder;
1205
- $[203] = t125;
1190
+ $[201] = isPlaceholder;
1191
+ $[202] = t123;
1206
1192
  } else {
1207
- t125 = $[203];
1193
+ t123 = $[202];
1208
1194
  }
1209
- const t126 = isPlaceholder ? 3 : columns;
1210
- const t127 = isPlaceholder ? 2 : columnSpacing;
1211
- let t128;
1212
- if ($[204] !== columnAlign || $[205] !== gridItems || $[206] !== t125 || $[207] !== t126 || $[208] !== t127) {
1213
- t128 = /*#__PURE__*/jsx(Keypad, {
1214
- className: t125,
1195
+ const t124 = isPlaceholder ? 3 : columns;
1196
+ const t125 = isPlaceholder ? 2 : columnSpacing;
1197
+ let t126;
1198
+ if ($[203] !== columnAlign || $[204] !== gridItems || $[205] !== t123 || $[206] !== t124 || $[207] !== t125) {
1199
+ t126 = /*#__PURE__*/jsx(Keypad, {
1200
+ className: t123,
1215
1201
  align: columnAlign,
1216
- columns: t126,
1217
- spacing: t127,
1202
+ columns: t124,
1203
+ spacing: t125,
1218
1204
  items: gridItems
1219
1205
  });
1220
- $[204] = columnAlign;
1221
- $[205] = gridItems;
1222
- $[206] = t125;
1223
- $[207] = t126;
1224
- $[208] = t127;
1225
- $[209] = t128;
1226
- } else {
1227
- t128 = $[209];
1228
- }
1229
- let t129;
1230
- if ($[210] !== layout || $[211] !== t113 || $[212] !== t114 || $[213] !== t119 || $[214] !== t124 || $[215] !== t128 || $[216] !== width) {
1231
- t129 = /*#__PURE__*/jsxs(Layout, {
1206
+ $[203] = columnAlign;
1207
+ $[204] = gridItems;
1208
+ $[205] = t123;
1209
+ $[206] = t124;
1210
+ $[207] = t125;
1211
+ $[208] = t126;
1212
+ } else {
1213
+ t126 = $[208];
1214
+ }
1215
+ let t127;
1216
+ if ($[209] !== layout || $[210] !== t111 || $[211] !== t112 || $[212] !== t117 || $[213] !== t122 || $[214] !== t126 || $[215] !== width) {
1217
+ t127 = /*#__PURE__*/jsxs(Layout, {
1232
1218
  className: styles.layout,
1233
1219
  verticalAlign: layout,
1234
1220
  width: width,
1235
- style: t113,
1236
- children: [t114, t119, t124, t128]
1221
+ style: t111,
1222
+ children: [t112, t117, t122, t126]
1237
1223
  });
1238
- $[210] = layout;
1239
- $[211] = t113;
1240
- $[212] = t114;
1241
- $[213] = t119;
1242
- $[214] = t124;
1243
- $[215] = t128;
1244
- $[216] = width;
1245
- $[217] = t129;
1224
+ $[209] = layout;
1225
+ $[210] = t111;
1226
+ $[211] = t112;
1227
+ $[212] = t117;
1228
+ $[213] = t122;
1229
+ $[214] = t126;
1230
+ $[215] = width;
1231
+ $[216] = t127;
1246
1232
  } else {
1247
- t129 = $[217];
1233
+ t127 = $[216];
1248
1234
  }
1249
- let t130;
1250
- if ($[218] === Symbol.for("react.memo_cache_sentinel")) {
1251
- t130 = classNames([styles.popupBackdrop]);
1252
- $[218] = t130;
1235
+ let t128;
1236
+ if ($[217] === Symbol.for("react.memo_cache_sentinel")) {
1237
+ t128 = classNames([styles.popupBackdrop]);
1238
+ $[217] = t128;
1253
1239
  } else {
1254
- t130 = $[218];
1240
+ t128 = $[217];
1255
1241
  }
1256
- let t131;
1257
- if ($[219] !== popupSpring) {
1258
- t131 = popupSpring.to(_temp5);
1259
- $[219] = popupSpring;
1260
- $[220] = t131;
1242
+ let t129;
1243
+ if ($[218] !== popupSpring) {
1244
+ t129 = popupSpring.to(_temp5);
1245
+ $[218] = popupSpring;
1246
+ $[219] = t129;
1261
1247
  } else {
1262
- t131 = $[220];
1248
+ t129 = $[219];
1263
1249
  }
1264
- let t132;
1265
- if ($[221] !== t131) {
1266
- t132 = /*#__PURE__*/jsx(animated.div, {
1267
- className: t130,
1250
+ let t130;
1251
+ if ($[220] !== t129) {
1252
+ t130 = /*#__PURE__*/jsx(animated.div, {
1253
+ className: t128,
1268
1254
  style: {
1269
- opacity: t131
1255
+ opacity: t129
1270
1256
  }
1271
1257
  });
1272
- $[221] = t131;
1273
- $[222] = t132;
1258
+ $[220] = t129;
1259
+ $[221] = t130;
1260
+ } else {
1261
+ t130 = $[221];
1262
+ }
1263
+ let t131;
1264
+ if ($[222] !== popupSpring) {
1265
+ t131 = popupSpring.to(_temp6);
1266
+ $[222] = popupSpring;
1267
+ $[223] = t131;
1274
1268
  } else {
1275
- t132 = $[222];
1269
+ t131 = $[223];
1270
+ }
1271
+ let t132;
1272
+ if ($[224] !== popupSpring) {
1273
+ t132 = popupSpring.to(_temp7);
1274
+ $[224] = popupSpring;
1275
+ $[225] = t132;
1276
+ } else {
1277
+ t132 = $[225];
1276
1278
  }
1277
1279
  let t133;
1278
- if ($[223] !== popupSpring) {
1279
- t133 = popupSpring.to(_temp6);
1280
- $[223] = popupSpring;
1281
- $[224] = t133;
1280
+ if ($[226] !== t131 || $[227] !== t132) {
1281
+ t133 = {
1282
+ transform: t131,
1283
+ pointerEvents: t132
1284
+ };
1285
+ $[226] = t131;
1286
+ $[227] = t132;
1287
+ $[228] = t133;
1282
1288
  } else {
1283
- t133 = $[224];
1289
+ t133 = $[228];
1284
1290
  }
1285
1291
  let t134;
1286
- if ($[225] !== popupSpring) {
1287
- t134 = popupSpring.to(_temp7);
1288
- $[225] = popupSpring;
1289
- $[226] = t134;
1290
- } else {
1291
- t134 = $[226];
1292
- }
1293
- let t135;
1294
- if ($[227] !== t133 || $[228] !== t134) {
1295
- t135 = {
1296
- transform: t133,
1297
- pointerEvents: t134
1298
- };
1299
- $[227] = t133;
1300
- $[228] = t134;
1301
- $[229] = t135;
1292
+ if ($[229] !== bindPopupDrag) {
1293
+ t134 = bindPopupDrag();
1294
+ $[229] = bindPopupDrag;
1295
+ $[230] = t134;
1296
+ } else {
1297
+ t134 = $[230];
1298
+ }
1299
+ const t135 = isPreview || isPlaceholder;
1300
+ const t136 = !showPopup ? 1 : null;
1301
+ const t137 = styles[popupLayoutClassName];
1302
+ const t138 = popupBoxStyle === null;
1303
+ let t139;
1304
+ if ($[231] !== t137 || $[232] !== t138) {
1305
+ t139 = classNames([styles.popupInner, t137, {
1306
+ [styles.withShadow]: t138
1307
+ }]);
1308
+ $[231] = t137;
1309
+ $[232] = t138;
1310
+ $[233] = t139;
1302
1311
  } else {
1303
- t135 = $[229];
1312
+ t139 = $[233];
1304
1313
  }
1305
- let t136;
1306
- if ($[230] !== bindPopupDrag) {
1307
- t136 = bindPopupDrag();
1308
- $[230] = bindPopupDrag;
1309
- $[231] = t136;
1314
+ let t140;
1315
+ if ($[234] === Symbol.for("react.memo_cache_sentinel")) {
1316
+ t140 = getStyleFromBox(placeholderPopupBoxStyles);
1317
+ $[234] = t140;
1310
1318
  } else {
1311
- t136 = $[231];
1319
+ t140 = $[234];
1312
1320
  }
1313
- const t137 = isPreview || isPlaceholder;
1314
- const t138 = !showPopup ? 1 : null;
1315
- const t139 = styles[popupLayoutClassName];
1316
- const t140 = popupBoxStyle === null;
1317
1321
  let t141;
1318
- if ($[232] !== t139 || $[233] !== t140) {
1319
- t141 = classNames([styles.popupInner, t139, {
1320
- [styles.withShadow]: t140
1321
- }]);
1322
- $[232] = t139;
1323
- $[233] = t140;
1324
- $[234] = t141;
1322
+ if ($[235] !== popupBoxStyle) {
1323
+ t141 = getStyleFromBox(popupBoxStyle);
1324
+ $[235] = popupBoxStyle;
1325
+ $[236] = t141;
1325
1326
  } else {
1326
- t141 = $[234];
1327
+ t141 = $[236];
1327
1328
  }
1328
1329
  let t142;
1329
- if ($[235] === Symbol.for("react.memo_cache_sentinel")) {
1330
- t142 = getStyleFromBox(placeholderPopupBoxStyles);
1331
- $[235] = t142;
1330
+ if ($[237] !== singlePopupBoxStyle) {
1331
+ t142 = getStyleFromBox(singlePopupBoxStyle);
1332
+ $[237] = singlePopupBoxStyle;
1333
+ $[238] = t142;
1332
1334
  } else {
1333
- t142 = $[235];
1335
+ t142 = $[238];
1334
1336
  }
1335
1337
  let t143;
1336
- if ($[236] !== popupBoxStyle) {
1337
- t143 = getStyleFromBox(popupBoxStyle);
1338
- $[236] = popupBoxStyle;
1339
- $[237] = t143;
1338
+ if ($[239] !== t141 || $[240] !== t142) {
1339
+ t143 = {
1340
+ ...t140,
1341
+ ...t141,
1342
+ ...t142
1343
+ };
1344
+ $[239] = t141;
1345
+ $[240] = t142;
1346
+ $[241] = t143;
1340
1347
  } else {
1341
- t143 = $[237];
1348
+ t143 = $[241];
1342
1349
  }
1343
1350
  let t144;
1344
- if ($[238] !== singlePopupBoxStyle) {
1345
- t144 = getStyleFromBox(singlePopupBoxStyle);
1346
- $[238] = singlePopupBoxStyle;
1347
- $[239] = t144;
1348
- } else {
1349
- t144 = $[239];
1350
- }
1351
1351
  let t145;
1352
- if ($[240] !== t143 || $[241] !== t144) {
1353
- t145 = {
1354
- ...t142,
1355
- ...t143,
1356
- ...t144
1357
- };
1358
- $[240] = t143;
1359
- $[241] = t144;
1360
- $[242] = t145;
1361
- } else {
1362
- t145 = $[242];
1363
- }
1364
- let t146;
1365
- let t147;
1366
- if ($[243] === Symbol.for("react.memo_cache_sentinel")) {
1367
- t146 = /*#__PURE__*/jsx(FormattedMessage, {
1352
+ if ($[242] === Symbol.for("react.memo_cache_sentinel")) {
1353
+ t144 = /*#__PURE__*/jsx(FormattedMessage, {
1368
1354
  id: "uT+qYH",
1369
1355
  defaultMessage: "Video"
1370
1356
  });
1371
- t147 = classNames([styles.empty, styles.emptyVisual]);
1372
- $[243] = t146;
1373
- $[244] = t147;
1357
+ t145 = classNames([styles.empty, styles.emptyVisual]);
1358
+ $[242] = t144;
1359
+ $[243] = t145;
1374
1360
  } else {
1375
- t146 = $[243];
1376
- t147 = $[244];
1361
+ t144 = $[242];
1362
+ t145 = $[243];
1377
1363
  }
1378
- const t148 = video === null;
1379
- let t149;
1380
- if ($[245] !== customMediaRef || $[246] !== mediaRef || $[247] !== muted || $[248] !== resolution || $[249] !== video || $[250] !== videoPlaying) {
1381
- t149 = video !== null ? /*#__PURE__*/jsx("div", {
1364
+ const t146 = video === null;
1365
+ let t147;
1366
+ if ($[244] !== customMediaRef || $[245] !== mediaRef || $[246] !== muted || $[247] !== resolution || $[248] !== video || $[249] !== videoPlaying) {
1367
+ t147 = video !== null ? /*#__PURE__*/jsx("div", {
1382
1368
  className: styles.popupVideoWrapper,
1383
1369
  children: /*#__PURE__*/jsx(Video, {
1384
1370
  ...video,
@@ -1389,49 +1375,49 @@ function KeypadScreen(t0) {
1389
1375
  mediaRef: mergeRefs(mediaRef, customMediaRef)
1390
1376
  })
1391
1377
  }) : null;
1392
- $[245] = customMediaRef;
1393
- $[246] = mediaRef;
1394
- $[247] = muted;
1395
- $[248] = resolution;
1396
- $[249] = video;
1397
- $[250] = videoPlaying;
1398
- $[251] = t149;
1399
- } else {
1400
- t149 = $[251];
1401
- }
1402
- let t150;
1403
- if ($[252] !== t148 || $[253] !== t149) {
1404
- t150 = /*#__PURE__*/jsx(ScreenElement, {
1378
+ $[244] = customMediaRef;
1379
+ $[245] = mediaRef;
1380
+ $[246] = muted;
1381
+ $[247] = resolution;
1382
+ $[248] = video;
1383
+ $[249] = videoPlaying;
1384
+ $[250] = t147;
1385
+ } else {
1386
+ t147 = $[250];
1387
+ }
1388
+ let t148;
1389
+ if ($[251] !== t146 || $[252] !== t147) {
1390
+ t148 = /*#__PURE__*/jsx(ScreenElement, {
1405
1391
  placeholder: "video",
1406
- emptyLabel: t146,
1407
- emptyClassName: t147,
1408
- isEmpty: t148,
1409
- children: t149
1392
+ emptyLabel: t144,
1393
+ emptyClassName: t145,
1394
+ isEmpty: t146,
1395
+ children: t147
1410
1396
  });
1411
- $[252] = t148;
1412
- $[253] = t149;
1413
- $[254] = t150;
1397
+ $[251] = t146;
1398
+ $[252] = t147;
1399
+ $[253] = t148;
1414
1400
  } else {
1415
- t150 = $[254];
1401
+ t148 = $[253];
1416
1402
  }
1417
- let t151;
1418
- let t152;
1419
- if ($[255] === Symbol.for("react.memo_cache_sentinel")) {
1420
- t151 = /*#__PURE__*/jsx(FormattedMessage, {
1403
+ let t149;
1404
+ let t150;
1405
+ if ($[254] === Symbol.for("react.memo_cache_sentinel")) {
1406
+ t149 = /*#__PURE__*/jsx(FormattedMessage, {
1421
1407
  id: "IE7U/Q",
1422
1408
  defaultMessage: "Heading"
1423
1409
  });
1424
- t152 = classNames([styles.empty, styles.emptyHeading]);
1425
- $[255] = t151;
1426
- $[256] = t152;
1410
+ t150 = classNames([styles.empty, styles.emptyHeading]);
1411
+ $[254] = t149;
1412
+ $[255] = t150;
1427
1413
  } else {
1428
- t151 = $[255];
1429
- t152 = $[256];
1414
+ t149 = $[254];
1415
+ t150 = $[255];
1430
1416
  }
1431
- const t153 = !hasPopupHeading;
1432
- let t154;
1433
- if ($[257] !== hasPopupHeading || $[258] !== headingTextStyle || $[259] !== popupHeading || $[260] !== popupHeadingTextStyle) {
1434
- t154 = hasPopupHeading ? /*#__PURE__*/jsx(Heading, {
1417
+ const t151 = !hasPopupHeading;
1418
+ let t152;
1419
+ if ($[256] !== hasPopupHeading || $[257] !== headingTextStyle || $[258] !== popupHeading || $[259] !== popupHeadingTextStyle) {
1420
+ t152 = hasPopupHeading ? /*#__PURE__*/jsx(Heading, {
1435
1421
  className: styles.popupHeading,
1436
1422
  ...popupHeading,
1437
1423
  textStyle: {
@@ -1439,46 +1425,46 @@ function KeypadScreen(t0) {
1439
1425
  ...popupHeadingTextStyle
1440
1426
  }
1441
1427
  }) : null;
1442
- $[257] = hasPopupHeading;
1443
- $[258] = headingTextStyle;
1444
- $[259] = popupHeading;
1445
- $[260] = popupHeadingTextStyle;
1446
- $[261] = t154;
1447
- } else {
1448
- t154 = $[261];
1449
- }
1450
- let t155;
1451
- if ($[262] !== t153 || $[263] !== t154) {
1452
- t155 = /*#__PURE__*/jsx(ScreenElement, {
1453
- emptyLabel: t151,
1454
- emptyClassName: t152,
1455
- isEmpty: t153,
1456
- children: t154
1428
+ $[256] = hasPopupHeading;
1429
+ $[257] = headingTextStyle;
1430
+ $[258] = popupHeading;
1431
+ $[259] = popupHeadingTextStyle;
1432
+ $[260] = t152;
1433
+ } else {
1434
+ t152 = $[260];
1435
+ }
1436
+ let t153;
1437
+ if ($[261] !== t151 || $[262] !== t152) {
1438
+ t153 = /*#__PURE__*/jsx(ScreenElement, {
1439
+ emptyLabel: t149,
1440
+ emptyClassName: t150,
1441
+ isEmpty: t151,
1442
+ children: t152
1457
1443
  });
1458
- $[262] = t153;
1459
- $[263] = t154;
1460
- $[264] = t155;
1444
+ $[261] = t151;
1445
+ $[262] = t152;
1446
+ $[263] = t153;
1461
1447
  } else {
1462
- t155 = $[264];
1448
+ t153 = $[263];
1463
1449
  }
1464
- let t156;
1465
- let t157;
1466
- if ($[265] === Symbol.for("react.memo_cache_sentinel")) {
1467
- t156 = /*#__PURE__*/jsx(FormattedMessage, {
1450
+ let t154;
1451
+ let t155;
1452
+ if ($[264] === Symbol.for("react.memo_cache_sentinel")) {
1453
+ t154 = /*#__PURE__*/jsx(FormattedMessage, {
1468
1454
  id: "JRZoe6",
1469
1455
  defaultMessage: "Content"
1470
1456
  });
1471
- t157 = classNames([styles.empty, styles.emptyContent]);
1472
- $[265] = t156;
1473
- $[266] = t157;
1457
+ t155 = classNames([styles.empty, styles.emptyContent]);
1458
+ $[264] = t154;
1459
+ $[265] = t155;
1474
1460
  } else {
1475
- t156 = $[265];
1476
- t157 = $[266];
1461
+ t154 = $[264];
1462
+ t155 = $[265];
1477
1463
  }
1478
- const t158 = !hasPopupContent;
1479
- let t159;
1480
- if ($[267] !== contentTextStyle || $[268] !== hasPopupContent || $[269] !== popupContent || $[270] !== popupContentTextStyle) {
1481
- t159 = hasPopupContent ? /*#__PURE__*/jsx(Text, {
1464
+ const t156 = !hasPopupContent;
1465
+ let t157;
1466
+ if ($[266] !== contentTextStyle || $[267] !== hasPopupContent || $[268] !== popupContent || $[269] !== popupContentTextStyle) {
1467
+ t157 = hasPopupContent ? /*#__PURE__*/jsx(Text, {
1482
1468
  className: styles.popupContent,
1483
1469
  ...popupContent,
1484
1470
  textStyle: {
@@ -1486,47 +1472,47 @@ function KeypadScreen(t0) {
1486
1472
  ...popupContentTextStyle
1487
1473
  }
1488
1474
  }) : null;
1489
- $[267] = contentTextStyle;
1490
- $[268] = hasPopupContent;
1491
- $[269] = popupContent;
1492
- $[270] = popupContentTextStyle;
1493
- $[271] = t159;
1475
+ $[266] = contentTextStyle;
1476
+ $[267] = hasPopupContent;
1477
+ $[268] = popupContent;
1478
+ $[269] = popupContentTextStyle;
1479
+ $[270] = t157;
1494
1480
  } else {
1495
- t159 = $[271];
1481
+ t157 = $[270];
1496
1482
  }
1497
- let t160;
1498
- if ($[272] !== t158 || $[273] !== t159) {
1499
- t160 = /*#__PURE__*/jsx(ScreenElement, {
1483
+ let t158;
1484
+ if ($[271] !== t156 || $[272] !== t157) {
1485
+ t158 = /*#__PURE__*/jsx(ScreenElement, {
1500
1486
  placeholder: "popupContent",
1501
- emptyLabel: t156,
1502
- emptyClassName: t157,
1503
- isEmpty: t158,
1504
- children: t159
1487
+ emptyLabel: t154,
1488
+ emptyClassName: t155,
1489
+ isEmpty: t156,
1490
+ children: t157
1505
1491
  });
1506
- $[272] = t158;
1507
- $[273] = t159;
1508
- $[274] = t160;
1492
+ $[271] = t156;
1493
+ $[272] = t157;
1494
+ $[273] = t158;
1509
1495
  } else {
1510
- t160 = $[274];
1496
+ t158 = $[273];
1511
1497
  }
1512
- let t161;
1513
- let t162;
1514
- if ($[275] === Symbol.for("react.memo_cache_sentinel")) {
1515
- t161 = /*#__PURE__*/jsx(FormattedMessage, {
1498
+ let t159;
1499
+ let t160;
1500
+ if ($[274] === Symbol.for("react.memo_cache_sentinel")) {
1501
+ t159 = /*#__PURE__*/jsx(FormattedMessage, {
1516
1502
  id: "z4Pr+g",
1517
1503
  defaultMessage: "Visual (Image or Video)"
1518
1504
  });
1519
- t162 = classNames([styles.empty, styles.emptyVisual]);
1520
- $[275] = t161;
1521
- $[276] = t162;
1505
+ t160 = classNames([styles.empty, styles.emptyVisual]);
1506
+ $[274] = t159;
1507
+ $[275] = t160;
1522
1508
  } else {
1523
- t161 = $[275];
1524
- t162 = $[276];
1509
+ t159 = $[274];
1510
+ t160 = $[275];
1525
1511
  }
1526
- const t163 = largeVisual === null;
1527
- let t164;
1528
- if ($[277] !== largeVisual || $[278] !== largeVisualRatio || $[279] !== resolution) {
1529
- t164 = largeVisual !== null ? /*#__PURE__*/jsx(Visual, {
1512
+ const t161 = largeVisual === null;
1513
+ let t162;
1514
+ if ($[276] !== largeVisual || $[277] !== largeVisualRatio || $[278] !== resolution) {
1515
+ t162 = largeVisual !== null ? /*#__PURE__*/jsx(Visual, {
1530
1516
  className: styles.popupVisual,
1531
1517
  imageClassName: styles.popupVisualImage,
1532
1518
  videoClassName: styles.popupVisualVideo,
@@ -1536,46 +1522,46 @@ function KeypadScreen(t0) {
1536
1522
  width: "100%",
1537
1523
  height: "auto"
1538
1524
  }) : null;
1539
- $[277] = largeVisual;
1540
- $[278] = largeVisualRatio;
1541
- $[279] = resolution;
1542
- $[280] = t164;
1525
+ $[276] = largeVisual;
1526
+ $[277] = largeVisualRatio;
1527
+ $[278] = resolution;
1528
+ $[279] = t162;
1543
1529
  } else {
1544
- t164 = $[280];
1530
+ t162 = $[279];
1545
1531
  }
1546
- let t165;
1547
- if ($[281] !== t163 || $[282] !== t164) {
1548
- t165 = /*#__PURE__*/jsx(ScreenElement, {
1532
+ let t163;
1533
+ if ($[280] !== t161 || $[281] !== t162) {
1534
+ t163 = /*#__PURE__*/jsx(ScreenElement, {
1549
1535
  placeholder: "image",
1550
- emptyLabel: t161,
1551
- emptyClassName: t162,
1552
- isEmpty: t163,
1553
- children: t164
1536
+ emptyLabel: t159,
1537
+ emptyClassName: t160,
1538
+ isEmpty: t161,
1539
+ children: t162
1554
1540
  });
1555
- $[281] = t163;
1556
- $[282] = t164;
1557
- $[283] = t165;
1541
+ $[280] = t161;
1542
+ $[281] = t162;
1543
+ $[282] = t163;
1558
1544
  } else {
1559
- t165 = $[283];
1545
+ t163 = $[282];
1560
1546
  }
1561
- let t166;
1562
- let t167;
1563
- if ($[284] === Symbol.for("react.memo_cache_sentinel")) {
1564
- t166 = /*#__PURE__*/jsx(FormattedMessage, {
1547
+ let t164;
1548
+ let t165;
1549
+ if ($[283] === Symbol.for("react.memo_cache_sentinel")) {
1550
+ t164 = /*#__PURE__*/jsx(FormattedMessage, {
1565
1551
  id: "N7Kj8z",
1566
1552
  defaultMessage: "Button"
1567
1553
  });
1568
- t167 = classNames([styles.empty, styles.emptyCTA]);
1569
- $[284] = t166;
1570
- $[285] = t167;
1554
+ t165 = classNames([styles.empty, styles.emptyCTA]);
1555
+ $[283] = t164;
1556
+ $[284] = t165;
1571
1557
  } else {
1572
- t166 = $[284];
1573
- t167 = $[285];
1558
+ t164 = $[283];
1559
+ t165 = $[284];
1574
1560
  }
1575
- const t168 = popupButton === null;
1576
- let t169;
1577
- if ($[286] !== buttonLabel || $[287] !== buttonUrl || $[288] !== onClickCta || $[289] !== openWebView || $[290] !== popupButton || $[291] !== popupButtonBoxStyle || $[292] !== popupButtonsBoxStyle || $[293] !== popupButtonsTextStyle || $[294] !== popupInWebView) {
1578
- t169 = popupButton !== null ? /*#__PURE__*/jsx(CallToAction, {
1561
+ const t166 = popupButton === null;
1562
+ let t167;
1563
+ if ($[285] !== buttonLabel || $[286] !== buttonUrl || $[287] !== onClickCta || $[288] !== openWebView || $[289] !== popupButton || $[290] !== popupButtonBoxStyle || $[291] !== popupButtonsBoxStyle || $[292] !== popupButtonsTextStyle || $[293] !== popupInWebView) {
1564
+ t167 = popupButton !== null ? /*#__PURE__*/jsx(CallToAction, {
1579
1565
  className: styles.popupCTA,
1580
1566
  label: {
1581
1567
  ...popupButtonsTextStyle,
@@ -1591,131 +1577,131 @@ function KeypadScreen(t0) {
1591
1577
  ...popupButtonBoxStyle
1592
1578
  }
1593
1579
  }) : null;
1594
- $[286] = buttonLabel;
1595
- $[287] = buttonUrl;
1596
- $[288] = onClickCta;
1597
- $[289] = openWebView;
1598
- $[290] = popupButton;
1599
- $[291] = popupButtonBoxStyle;
1600
- $[292] = popupButtonsBoxStyle;
1601
- $[293] = popupButtonsTextStyle;
1602
- $[294] = popupInWebView;
1603
- $[295] = t169;
1604
- } else {
1605
- t169 = $[295];
1606
- }
1607
- let t170;
1608
- if ($[296] !== t168 || $[297] !== t169) {
1609
- t170 = /*#__PURE__*/jsx(ScreenElement, {
1580
+ $[285] = buttonLabel;
1581
+ $[286] = buttonUrl;
1582
+ $[287] = onClickCta;
1583
+ $[288] = openWebView;
1584
+ $[289] = popupButton;
1585
+ $[290] = popupButtonBoxStyle;
1586
+ $[291] = popupButtonsBoxStyle;
1587
+ $[292] = popupButtonsTextStyle;
1588
+ $[293] = popupInWebView;
1589
+ $[294] = t167;
1590
+ } else {
1591
+ t167 = $[294];
1592
+ }
1593
+ let t168;
1594
+ if ($[295] !== t166 || $[296] !== t167) {
1595
+ t168 = /*#__PURE__*/jsx(ScreenElement, {
1610
1596
  placeholder: "button",
1611
- emptyLabel: t166,
1612
- emptyClassName: t167,
1613
- isEmpty: t168,
1614
- children: t169
1597
+ emptyLabel: t164,
1598
+ emptyClassName: t165,
1599
+ isEmpty: t166,
1600
+ children: t167
1615
1601
  });
1616
- $[296] = t168;
1617
- $[297] = t169;
1618
- $[298] = t170;
1602
+ $[295] = t166;
1603
+ $[296] = t167;
1604
+ $[297] = t168;
1619
1605
  } else {
1620
- t170 = $[298];
1606
+ t168 = $[297];
1621
1607
  }
1622
- let t171;
1623
- if ($[299] !== t141 || $[300] !== t145 || $[301] !== t150 || $[302] !== t155 || $[303] !== t160 || $[304] !== t165 || $[305] !== t170) {
1624
- t171 = /*#__PURE__*/jsxs("div", {
1608
+ let t169;
1609
+ if ($[298] !== t139 || $[299] !== t143 || $[300] !== t148 || $[301] !== t153 || $[302] !== t158 || $[303] !== t163 || $[304] !== t168) {
1610
+ t169 = /*#__PURE__*/jsxs("div", {
1625
1611
  ref: popupInnerRef,
1626
- className: t141,
1627
- style: t145,
1628
- children: [t150, t155, t160, t165, t170]
1612
+ className: t139,
1613
+ style: t143,
1614
+ children: [t148, t153, t158, t163, t168]
1629
1615
  });
1630
- $[299] = t141;
1631
- $[300] = t145;
1632
- $[301] = t150;
1633
- $[302] = t155;
1634
- $[303] = t160;
1635
- $[304] = t165;
1636
- $[305] = t170;
1637
- $[306] = t171;
1616
+ $[298] = t139;
1617
+ $[299] = t143;
1618
+ $[300] = t148;
1619
+ $[301] = t153;
1620
+ $[302] = t158;
1621
+ $[303] = t163;
1622
+ $[304] = t168;
1623
+ $[305] = t169;
1638
1624
  } else {
1639
- t171 = $[306];
1625
+ t169 = $[305];
1640
1626
  }
1641
- let t172;
1642
- if ($[307] !== onPopupScrollBottom || $[308] !== onPopupScrollHeightChange || $[309] !== onPopupScrollNotBottom || $[310] !== t137 || $[311] !== t138 || $[312] !== t171) {
1643
- t172 = /*#__PURE__*/jsx(Scroll, {
1644
- disabled: t137,
1627
+ let t170;
1628
+ if ($[306] !== onPopupScrollBottom || $[307] !== onPopupScrollHeightChange || $[308] !== onPopupScrollNotBottom || $[309] !== t135 || $[310] !== t136 || $[311] !== t169) {
1629
+ t170 = /*#__PURE__*/jsx(Scroll, {
1630
+ disabled: t135,
1645
1631
  verticalAlign: "middle",
1646
1632
  withArrow: false,
1647
- scrollPosition: t138,
1633
+ scrollPosition: t136,
1648
1634
  onScrolledBottom: onPopupScrollBottom,
1649
1635
  onScrolledNotBottom: onPopupScrollNotBottom,
1650
1636
  onScrollHeightChange: onPopupScrollHeightChange,
1651
1637
  className: styles.popupScroll,
1652
1638
  withShadow: true,
1653
- children: t171
1639
+ children: t169
1654
1640
  });
1655
- $[307] = onPopupScrollBottom;
1656
- $[308] = onPopupScrollHeightChange;
1657
- $[309] = onPopupScrollNotBottom;
1658
- $[310] = t137;
1659
- $[311] = t138;
1660
- $[312] = t171;
1661
- $[313] = t172;
1641
+ $[306] = onPopupScrollBottom;
1642
+ $[307] = onPopupScrollHeightChange;
1643
+ $[308] = onPopupScrollNotBottom;
1644
+ $[309] = t135;
1645
+ $[310] = t136;
1646
+ $[311] = t169;
1647
+ $[312] = t170;
1662
1648
  } else {
1663
- t172 = $[313];
1649
+ t170 = $[312];
1664
1650
  }
1665
- let t173;
1666
- if ($[314] !== t135 || $[315] !== t136 || $[316] !== t172) {
1667
- t173 = /*#__PURE__*/jsx(animated.div, {
1651
+ let t171;
1652
+ if ($[313] !== t133 || $[314] !== t134 || $[315] !== t170) {
1653
+ t171 = /*#__PURE__*/jsx(animated.div, {
1668
1654
  className: styles.popup,
1669
- style: t135,
1670
- ...t136,
1671
- children: t172
1655
+ style: t133,
1656
+ ...t134,
1657
+ children: t170
1672
1658
  });
1673
- $[314] = t135;
1674
- $[315] = t136;
1675
- $[316] = t172;
1676
- $[317] = t173;
1659
+ $[313] = t133;
1660
+ $[314] = t134;
1661
+ $[315] = t170;
1662
+ $[316] = t171;
1677
1663
  } else {
1678
- t173 = $[317];
1664
+ t171 = $[316];
1679
1665
  }
1680
- let t174;
1681
- if ($[318] !== t132 || $[319] !== t173) {
1682
- t174 = /*#__PURE__*/jsxs(Fragment, {
1683
- children: [t132, t173]
1666
+ let t172;
1667
+ if ($[317] !== t130 || $[318] !== t171) {
1668
+ t172 = /*#__PURE__*/jsxs(Fragment, {
1669
+ children: [t130, t171]
1684
1670
  });
1685
- $[318] = t132;
1686
- $[319] = t173;
1687
- $[320] = t174;
1671
+ $[317] = t130;
1672
+ $[318] = t171;
1673
+ $[319] = t172;
1688
1674
  } else {
1689
- t174 = $[320];
1675
+ t172 = $[319];
1690
1676
  }
1691
- let t175;
1692
- if ($[321] !== height || $[322] !== layout || $[323] !== onScrolledTrigger || $[324] !== t110 || $[325] !== t111 || $[326] !== t112 || $[327] !== t129 || $[328] !== t174 || $[329] !== width) {
1693
- t175 = /*#__PURE__*/jsxs(Scroll, {
1677
+ let t173;
1678
+ if ($[320] !== height || $[321] !== layout || $[322] !== onScrolledTrigger || $[323] !== t108 || $[324] !== t109 || $[325] !== t110 || $[326] !== t127 || $[327] !== t172 || $[328] !== width) {
1679
+ t173 = /*#__PURE__*/jsxs(Scroll, {
1694
1680
  width: width,
1695
1681
  height: height,
1696
1682
  verticalAlign: layout,
1697
- withArrow: t110,
1698
- withShadow: t111,
1699
- disabled: t112,
1683
+ withArrow: t108,
1684
+ withShadow: t109,
1685
+ disabled: t110,
1700
1686
  onScrolledTrigger: onScrolledTrigger,
1701
- children: [t129, t174]
1687
+ children: [t127, t172]
1702
1688
  });
1703
- $[321] = height;
1704
- $[322] = layout;
1705
- $[323] = onScrolledTrigger;
1706
- $[324] = t110;
1707
- $[325] = t111;
1708
- $[326] = t112;
1709
- $[327] = t129;
1710
- $[328] = t174;
1711
- $[329] = width;
1712
- $[330] = t175;
1713
- } else {
1714
- t175 = $[330];
1689
+ $[320] = height;
1690
+ $[321] = layout;
1691
+ $[322] = onScrolledTrigger;
1692
+ $[323] = t108;
1693
+ $[324] = t109;
1694
+ $[325] = t110;
1695
+ $[326] = t127;
1696
+ $[327] = t172;
1697
+ $[328] = width;
1698
+ $[329] = t173;
1699
+ } else {
1700
+ t173 = $[329];
1715
1701
  }
1716
- let t176;
1717
- if ($[331] !== current || $[332] !== footerProps || $[333] !== footerRef || $[334] !== hasFooter || $[335] !== isPlaceholder || $[336] !== isPreview || $[337] !== spacing || $[338] !== viewerBottomHeight || $[339] !== viewerBottomSidesWidth) {
1718
- t176 = !isPlaceholder && hasFooter ? /*#__PURE__*/jsx("div", {
1702
+ let t174;
1703
+ if ($[330] !== current || $[331] !== footerProps || $[332] !== footerRef || $[333] !== hasFooter || $[334] !== isPlaceholder || $[335] !== isPreview || $[336] !== spacing || $[337] !== viewerBottomHeight || $[338] !== viewerBottomSidesWidth) {
1704
+ t174 = !isPlaceholder && hasFooter ? /*#__PURE__*/jsx("div", {
1719
1705
  ref: footerRef,
1720
1706
  className: styles.footer,
1721
1707
  style: {
@@ -1729,52 +1715,52 @@ function KeypadScreen(t0) {
1729
1715
  ...footerProps
1730
1716
  })
1731
1717
  }) : null;
1732
- $[331] = current;
1733
- $[332] = footerProps;
1734
- $[333] = footerRef;
1735
- $[334] = hasFooter;
1736
- $[335] = isPlaceholder;
1737
- $[336] = isPreview;
1738
- $[337] = spacing;
1739
- $[338] = viewerBottomHeight;
1740
- $[339] = viewerBottomSidesWidth;
1741
- $[340] = t176;
1742
- } else {
1743
- t176 = $[340];
1744
- }
1745
- let t177;
1746
- if ($[341] !== height || $[342] !== t175 || $[343] !== t176 || $[344] !== width) {
1747
- t177 = /*#__PURE__*/jsxs(Container, {
1718
+ $[330] = current;
1719
+ $[331] = footerProps;
1720
+ $[332] = footerRef;
1721
+ $[333] = hasFooter;
1722
+ $[334] = isPlaceholder;
1723
+ $[335] = isPreview;
1724
+ $[336] = spacing;
1725
+ $[337] = viewerBottomHeight;
1726
+ $[338] = viewerBottomSidesWidth;
1727
+ $[339] = t174;
1728
+ } else {
1729
+ t174 = $[339];
1730
+ }
1731
+ let t175;
1732
+ if ($[340] !== height || $[341] !== t173 || $[342] !== t174 || $[343] !== width) {
1733
+ t175 = /*#__PURE__*/jsxs(Container, {
1748
1734
  width: width,
1749
1735
  height: height,
1750
1736
  className: styles.inner,
1751
- children: [t175, t176]
1737
+ children: [t173, t174]
1752
1738
  });
1753
- $[341] = height;
1754
- $[342] = t175;
1755
- $[343] = t176;
1756
- $[344] = width;
1757
- $[345] = t177;
1739
+ $[340] = height;
1740
+ $[341] = t173;
1741
+ $[342] = t174;
1742
+ $[343] = width;
1743
+ $[344] = t175;
1758
1744
  } else {
1759
- t177 = $[345];
1745
+ t175 = $[344];
1760
1746
  }
1761
- let t178;
1762
- if ($[346] !== t107 || $[347] !== t108 || $[348] !== t109 || $[349] !== t177) {
1763
- t178 = /*#__PURE__*/jsxs("div", {
1747
+ let t176;
1748
+ if ($[345] !== t105 || $[346] !== t106 || $[347] !== t107 || $[348] !== t175) {
1749
+ t176 = /*#__PURE__*/jsxs("div", {
1764
1750
  ref: containerRef,
1765
- className: t107,
1751
+ className: t105,
1766
1752
  "data-screen-ready": true,
1767
- children: [t108, t109, t177]
1753
+ children: [t106, t107, t175]
1768
1754
  });
1769
- $[346] = t107;
1770
- $[347] = t108;
1771
- $[348] = t109;
1772
- $[349] = t177;
1773
- $[350] = t178;
1755
+ $[345] = t105;
1756
+ $[346] = t106;
1757
+ $[347] = t107;
1758
+ $[348] = t175;
1759
+ $[349] = t176;
1774
1760
  } else {
1775
- t178 = $[350];
1761
+ t176 = $[349];
1776
1762
  }
1777
- return t178;
1763
+ return t176;
1778
1764
  }
1779
1765
  function _temp7(p_1) {
1780
1766
  return Math.abs(p_1) > 0.5 ? "none" : "auto";