@meduza/ui-kit-2 0.1.9 → 0.1.10

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.
@@ -488,7 +488,116 @@ var Image = function Image(_ref) {
488
488
  })));
489
489
  };
490
490
 
491
- var styles$5 = {"root":"DotsOnImage-module_root__2XP3Q","dot":"DotsOnImage-module_dot__H1wua","popover":"DotsOnImage-module_popover__35Cpj","popoverTitle":"DotsOnImage-module_popoverTitle__343d8","dismiss":"DotsOnImage-module_dismiss__1EWXd"};
491
+ var styles$5 = {"root":"Popover-module_root__1v6f_","fadeOut":"Popover-module_fadeOut__3EZhx","visible":"Popover-module_visible__eK5ZQ","fadeIn":"Popover-module_fadeIn__AkrSN","overlay":"Popover-module_overlay__2SBL0","container":"Popover-module_container__FnZT-","disappear":"Popover-module_disappear__3Q9LI","dismiss":"Popover-module_dismiss__3RnLj","background":"Popover-module_background__1KKaP","appear":"Popover-module_appear__37vPd","body":"Popover-module_body__3h5UO"};
492
+
493
+ var Popover = function Popover(_ref) {
494
+ var children = _ref.children,
495
+ onClose = _ref.onClose;
496
+
497
+ var _useState = useState(true),
498
+ visible = _useState[0],
499
+ setVisible = _useState[1];
500
+
501
+ var handleClose = function handleClose() {
502
+ setVisible(false);
503
+ setTimeout(onClose, 350);
504
+ };
505
+
506
+ var handleScroll = function handleScroll() {
507
+ handleClose();
508
+ };
509
+
510
+ var escFunction = function escFunction(event) {
511
+ if (event.key === 'Escape') {
512
+ handleClose();
513
+ }
514
+ };
515
+
516
+ useEffect(function () {
517
+ window.addEventListener('keydown', escFunction, false);
518
+ window.addEventListener('scroll', handleScroll, false);
519
+ return function () {
520
+ window.removeEventListener('keydown', escFunction, false);
521
+ window.removeEventListener('scroll', handleScroll, false);
522
+ };
523
+ }, [visible]);
524
+ /* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */
525
+
526
+ return React.createElement("div", {
527
+ "data-testid": "popover",
528
+ className: makeClassName([[styles$5.root, true], [styles$5.visible, visible]])
529
+ }, React.createElement("div", {
530
+ className: styles$5.overlay,
531
+ onClick: function onClick() {
532
+ return handleClose();
533
+ }
534
+ }), React.createElement("div", {
535
+ className: styles$5.container
536
+ }, React.createElement("button", {
537
+ type: "button",
538
+ className: styles$5.dismiss,
539
+ onClick: function onClick() {
540
+ return handleClose();
541
+ },
542
+ "aria-label": "dismiss"
543
+ }), React.createElement("svg", {
544
+ width: "100%",
545
+ className: styles$5.background
546
+ }, React.createElement("defs", null, React.createElement("mask", {
547
+ id: "myMask",
548
+ x: "0",
549
+ y: "0",
550
+ width: "100%",
551
+ height: "100%"
552
+ }, React.createElement("rect", {
553
+ fill: "white",
554
+ y: "0",
555
+ width: "100%",
556
+ height: "100%",
557
+ x: "0"
558
+ }), React.createElement("svg", {
559
+ x: "50%",
560
+ overflow: "visible"
561
+ }, React.createElement("g", {
562
+ transform: "translate(-12 0)"
563
+ }, React.createElement("path", {
564
+ d: "M4.61852778e-14,9.76996262e-15 L9.84597532,5.80270273 C11.0992017,6.54128882 12.6546044,6.54128882 13.9078308,5.80270273 L23.7538061,9.76996262e-15 L4.61852778e-14,9.76996262e-15 Z"
565
+ }))))), React.createElement("rect", {
566
+ fill: "#F7F7F7",
567
+ id: "base-mask",
568
+ mask: "url(#myMask)",
569
+ x: "0",
570
+ y: "0",
571
+ width: "100%",
572
+ height: "100%"
573
+ })), React.createElement("div", {
574
+ className: styles$5.body
575
+ }, children)));
576
+ };
577
+
578
+ var styles$6 = {"root":"Footnote-module_root__2a0-B","body":"Footnote-module_body__259Ly","dismiss":"Footnote-module_dismiss__1HKG5"};
579
+
580
+ var Footnote = function Footnote(_ref) {
581
+ var children = _ref.children,
582
+ onClose = _ref.onClose;
583
+ return React.createElement("div", {
584
+ "data-testid": "footnote",
585
+ className: makeClassName([[styles$6.root, true]])
586
+ }, React.createElement("button", {
587
+ className: styles$6.dismiss,
588
+ type: "button",
589
+ onClick: function onClick() {
590
+ return onClose();
591
+ }
592
+ }, React.createElement(SvgSymbol, {
593
+ icon: "cross",
594
+ size: "unset"
595
+ })), React.createElement("div", {
596
+ className: styles$6.body
597
+ }, children));
598
+ };
599
+
600
+ var styles$7 = {"root":"DotsOnImage-module_root__2XP3Q","dot":"DotsOnImage-module_dot__H1wua","popover":"DotsOnImage-module_popover__35Cpj","popoverTitle":"DotsOnImage-module_popoverTitle__343d8","popoverBody":"DotsOnImage-module_popoverBody__2MSn7","popoverText":"DotsOnImage-module_popoverText__3v02w","dismiss":"DotsOnImage-module_dismiss__1EWXd"};
492
601
 
493
602
  var DotsOnImage = function DotsOnImage(_ref) {
494
603
  var _ref$block = _ref.block,
@@ -520,12 +629,12 @@ var DotsOnImage = function DotsOnImage(_ref) {
520
629
 
521
630
  return React.createElement("div", {
522
631
  "data-testid": "dots-on-image",
523
- className: styles$5.root
632
+ className: styles$7.root
524
633
  }, React.createElement("div", {
525
- className: styles$5.dots
634
+ className: styles$7.dots
526
635
  }, dots.map(function (dot) {
527
636
  return React.createElement("button", {
528
- className: styles$5.dot,
637
+ className: styles$7.dot,
529
638
  type: "button",
530
639
  key: dot.id,
531
640
  style: {
@@ -537,40 +646,42 @@ var DotsOnImage = function DotsOnImage(_ref) {
537
646
  return handleDotClick(dot);
538
647
  }
539
648
  }, dot.icon.type === 'svg' && React.createElement("div", {
540
- className: styles$5.icon,
649
+ className: styles$7.icon,
541
650
  dangerouslySetInnerHTML: {
542
651
  __html: dot.icon.svg_string
543
652
  }
544
653
  }), dot.icon.type === 'number' && dot.icon.number);
545
654
  })), React.createElement("div", {
546
- className: styles$5.image
655
+ className: styles$7.image
547
656
  }, React.createElement(Image, {
548
657
  optimized: optimized,
549
658
  width: width,
550
659
  height: height,
551
660
  alt: credit,
552
661
  display: display
553
- })), popover.show && React.createElement("div", {
554
- className: styles$5.popover
555
- }, React.createElement("button", {
556
- className: styles$5.dismiss,
557
- type: "button",
558
- onClick: function onClick() {
559
- return setPopover({
662
+ })), popover.show && React.createElement(React.Fragment, null, viewportSize().width >= MediaQuerySizes.LANDSCAPE_TABLET ? React.createElement("div", {
663
+ className: styles$7.popover
664
+ }, React.createElement(Footnote, {
665
+ onClose: function onClose() {
666
+ setPopover({
560
667
  show: false
561
668
  });
562
669
  }
563
- }, React.createElement(SvgSymbol, {
564
- icon: "cross",
565
- size: "unset"
566
- })), React.createElement("div", {
567
- className: styles$5.popoverTitle
568
- }, popover.title), React.createElement("div", {
569
- className: styles$5.popoverBody,
670
+ }, React.createElement("h3", null, popover.title), React.createElement("div", {
570
671
  dangerouslySetInnerHTML: {
571
672
  __html: popover.body
572
673
  }
573
- })));
674
+ }))) : React.createElement(Popover, {
675
+ onClose: function onClose() {
676
+ setPopover({
677
+ show: false
678
+ });
679
+ }
680
+ }, React.createElement("h3", null, popover.title), React.createElement("div", {
681
+ dangerouslySetInnerHTML: {
682
+ __html: popover.body
683
+ }
684
+ }))));
574
685
  };
575
686
 
576
687
  var makeStyleContext = function makeStyleContext(classNames, styleContext, styles) {
@@ -582,7 +693,7 @@ var makeStyleContext = function makeStyleContext(classNames, styleContext, style
582
693
  return classNames.concat(context);
583
694
  };
584
695
 
585
- var styles$6 = {"root":"Tag-module_root__3IqWC","small":"Tag-module_small__2IAb7","large":"Tag-module_large__22z_o","dark":"Tag-module_dark__sgnt1","light":"Tag-module_light__1zUhp","gold":"Tag-module_gold__2ksA7","gray":"Tag-module_gray__mGAO_","inherit":"Tag-module_inherit__2QB5U","is1to1":"Tag-module_is1to1__3EDbC","is1to2":"Tag-module_is1to2__3xbC6","isInSuperBlock":"Tag-module_isInSuperBlock__38JE0","is1to3":"Tag-module_is1to3__3j5K-","is1to4":"Tag-module_is1to4__2vq4r","slide":"Tag-module_slide__2nMDw","game":"Tag-module_game__3j5yG","card":"Tag-module_card__1EAeF","live":"Tag-module_live__rwXuR","episode":"Tag-module_episode__3o6gg","podcast":"Tag-module_podcast__VPoll","rich":"Tag-module_rich__2URd9","isInDynamicBlock":"Tag-module_isInDynamicBlock__1YM9I","mobile":"Tag-module_mobile__QQxuv","desktop":"Tag-module_desktop__1Bjsy"};
696
+ var styles$8 = {"root":"Tag-module_root__3IqWC","small":"Tag-module_small__2IAb7","large":"Tag-module_large__22z_o","dark":"Tag-module_dark__sgnt1","light":"Tag-module_light__1zUhp","gold":"Tag-module_gold__2ksA7","gray":"Tag-module_gray__mGAO_","inherit":"Tag-module_inherit__2QB5U","is1to1":"Tag-module_is1to1__3EDbC","is1to2":"Tag-module_is1to2__3xbC6","isInSuperBlock":"Tag-module_isInSuperBlock__38JE0","is1to3":"Tag-module_is1to3__3j5K-","is1to4":"Tag-module_is1to4__2vq4r","slide":"Tag-module_slide__2nMDw","game":"Tag-module_game__3j5yG","card":"Tag-module_card__1EAeF","live":"Tag-module_live__rwXuR","episode":"Tag-module_episode__3o6gg","podcast":"Tag-module_podcast__VPoll","rich":"Tag-module_rich__2URd9","isInDynamicBlock":"Tag-module_isInDynamicBlock__1YM9I","mobile":"Tag-module_mobile__QQxuv","desktop":"Tag-module_desktop__1Bjsy"};
586
697
 
587
698
  var Tag = function Tag(_ref) {
588
699
  var children = _ref.children,
@@ -593,10 +704,10 @@ var Tag = function Tag(_ref) {
593
704
  styleContext = _ref.styleContext,
594
705
  correlation = _ref.correlation,
595
706
  onlyOn = _ref.onlyOn;
596
- var classNames = [[styles$6.root, true], [styles$6[size], !!size && !!styles$6[size]], [styles$6[theme], !!theme && !!styles$6[theme]], [styles$6[onlyOn], !!onlyOn && !!styles$6[onlyOn]], [styles$6[correlation], !!correlation && !!styles$6[correlation]]];
707
+ var classNames = [[styles$8.root, true], [styles$8[size], !!size && !!styles$8[size]], [styles$8[theme], !!theme && !!styles$8[theme]], [styles$8[onlyOn], !!onlyOn && !!styles$8[onlyOn]], [styles$8[correlation], !!correlation && !!styles$8[correlation]]];
597
708
 
598
709
  if (styleContext) {
599
- classNames = makeStyleContext(classNames, styleContext, styles$6);
710
+ classNames = makeStyleContext(classNames, styleContext, styles$8);
600
711
  }
601
712
 
602
713
  return React.createElement("div", {
@@ -605,35 +716,35 @@ var Tag = function Tag(_ref) {
605
716
  }, children);
606
717
  };
607
718
 
608
- var styles$7 = {"root":"MediaCaption-module_root__KqTdw","caption":"MediaCaption-module_caption__1hr7Y","credit":"MediaCaption-module_credit__3ehAP","dark":"MediaCaption-module_dark__3tL1u","video":"MediaCaption-module_video__1KZ6k","picture":"MediaCaption-module_picture__3AAMH","desktop":"MediaCaption-module_desktop__3Saev"};
719
+ var styles$9 = {"root":"MediaCaption-module_root__KqTdw","caption":"MediaCaption-module_caption__1hr7Y","credit":"MediaCaption-module_credit__3ehAP","dark":"MediaCaption-module_dark__3tL1u","video":"MediaCaption-module_video__1KZ6k","picture":"MediaCaption-module_picture__3AAMH","desktop":"MediaCaption-module_desktop__3Saev"};
609
720
 
610
721
  var MediaCaption = function MediaCaption(_ref) {
611
722
  var credit = _ref.credit,
612
723
  caption = _ref.caption,
613
724
  styleContext = _ref.styleContext;
614
- var classNames = [[styles$7.root, true]];
725
+ var classNames = [[styles$9.root, true]];
615
726
 
616
727
  if (styleContext) {
617
- classNames = makeStyleContext(classNames, styleContext, styles$7);
728
+ classNames = makeStyleContext(classNames, styleContext, styles$9);
618
729
  }
619
730
 
620
731
  return React.createElement("div", {
621
732
  "data-testid": "media-caption",
622
733
  className: makeClassName(classNames)
623
734
  }, caption && React.createElement("div", {
624
- className: styles$7.caption,
735
+ className: styles$9.caption,
625
736
  dangerouslySetInnerHTML: {
626
737
  __html: caption
627
738
  }
628
739
  }), credit && React.createElement("div", {
629
- className: styles$7.credit,
740
+ className: styles$9.credit,
630
741
  dangerouslySetInnerHTML: {
631
742
  __html: credit
632
743
  }
633
744
  }));
634
745
  };
635
746
 
636
- var styles$8 = {"root":"Table-module_root__1VsG6","card":"Table-module_card__3gbok","table":"Table-module_table__nZIkV","slide":"Table-module_slide__nSGPC","wrapper":"Table-module_wrapper__1YTKM","tracks":"Table-module_tracks__2wrDB","default":"Table-module_default__3CGeE","full":"Table-module_full__S5pDB","row":"Table-module_row__3TH83","cell":"Table-module_cell__EFKDW","fixedColumn":"Table-module_fixedColumn__E1hN5","white":"Table-module_white__gzvo0","gray":"Table-module_gray__3da6S","pink":"Table-module_pink__3oH1l","blue":"Table-module_blue__GM27F","yellow":"Table-module_yellow__2jhvA","orange":"Table-module_orange__1c-oM","green":"Table-module_green__13OIM","violet":"Table-module_violet__2W-kO","header":"Table-module_header__1exlo","s":"Table-module_s__Vl_Eg","m":"Table-module_m__29G9r","l":"Table-module_l__1ZSMc","xs":"Table-module_xs__au2Oe"};
747
+ var styles$a = {"root":"Table-module_root__1VsG6","card":"Table-module_card__3gbok","table":"Table-module_table__nZIkV","slide":"Table-module_slide__nSGPC","wrapper":"Table-module_wrapper__1YTKM","tracks":"Table-module_tracks__2wrDB","default":"Table-module_default__3CGeE","full":"Table-module_full__S5pDB","row":"Table-module_row__3TH83","cell":"Table-module_cell__EFKDW","fixedColumn":"Table-module_fixedColumn__E1hN5","white":"Table-module_white__gzvo0","gray":"Table-module_gray__3da6S","pink":"Table-module_pink__3oH1l","blue":"Table-module_blue__GM27F","yellow":"Table-module_yellow__2jhvA","orange":"Table-module_orange__1c-oM","green":"Table-module_green__13OIM","violet":"Table-module_violet__2W-kO","header":"Table-module_header__1exlo","s":"Table-module_s__Vl_Eg","m":"Table-module_m__29G9r","l":"Table-module_l__1ZSMc","xs":"Table-module_xs__au2Oe"};
637
748
 
638
749
  var Table = function Table(_ref) {
639
750
  var styleContext = _ref.styleContext,
@@ -653,29 +764,29 @@ var Table = function Table(_ref) {
653
764
  '#e7f2ef': 'green',
654
765
  '#f4f0f8': 'violet'
655
766
  };
656
- var classNames = [[styles$8.root, true], [styles$8[display], !!display && !!styles$8[display]]];
767
+ var classNames = [[styles$a.root, true], [styles$a[display], !!display && !!styles$a[display]]];
657
768
 
658
769
  if (styleContext) {
659
- classNames = makeStyleContext(classNames, styleContext, styles$8);
770
+ classNames = makeStyleContext(classNames, styleContext, styles$a);
660
771
  }
661
772
 
662
773
  return React.createElement("div", {
663
774
  "data-testid": "table",
664
775
  className: makeClassName(classNames)
665
776
  }, React.createElement("div", {
666
- className: styles$8.wrapper
777
+ className: styles$a.wrapper
667
778
  }, React.createElement("div", {
668
- className: styles$8.table
779
+ className: styles$a.table
669
780
  }, React.createElement("div", {
670
- className: styles$8.tracks
781
+ className: styles$a.tracks
671
782
  }, rows.map(function (row, i) {
672
783
  return React.createElement("div", {
673
784
  key: row.key,
674
- className: styles$8.row
785
+ className: styles$a.row
675
786
  }, row.cells.map(function (cell, j) {
676
787
  return React.createElement("div", {
677
788
  key: cell.key,
678
- className: makeClassName([[styles$8.cell, true], [styles$8.header, options.header && i === 0], [styles$8[colors[cell.color]], true], [styles$8[columnsWidth[j]], true], [styles$8.fixedColumn, options.fixed_first_column && j === 0]]),
789
+ className: makeClassName([[styles$a.cell, true], [styles$a.header, options.header && i === 0], [styles$a[colors[cell.color]], true], [styles$a[columnsWidth[j]], true], [styles$a.fixedColumn, options.fixed_first_column && j === 0]]),
679
790
  dangerouslySetInnerHTML: {
680
791
  __html: cell.val
681
792
  }
@@ -687,15 +798,15 @@ var Table = function Table(_ref) {
687
798
  }));
688
799
  };
689
800
 
690
- var styles$9 = {"root":"MaterialNote-module_root__1AcYe","dark":"MaterialNote-module_dark__xCry-","note_credit":"MaterialNote-module_note_credit__PuFyX","note_caption":"MaterialNote-module_note_caption__1ezSo","center":"MaterialNote-module_center__18RxI","default":"MaterialNote-module_default__1lQPl","card":"MaterialNote-module_card__OWXbQ","slide":"MaterialNote-module_slide__1ZBBq","game":"MaterialNote-module_game__cADMe","gameSurvey":"MaterialNote-module_gameSurvey__3SiG-"};
801
+ var styles$b = {"root":"MaterialNote-module_root__1AcYe","dark":"MaterialNote-module_dark__xCry-","note_credit":"MaterialNote-module_note_credit__PuFyX","note_caption":"MaterialNote-module_note_caption__1ezSo","center":"MaterialNote-module_center__18RxI","default":"MaterialNote-module_default__1lQPl","card":"MaterialNote-module_card__OWXbQ","slide":"MaterialNote-module_slide__1ZBBq","game":"MaterialNote-module_game__cADMe","gameSurvey":"MaterialNote-module_gameSurvey__3SiG-"};
691
802
 
692
803
  var MaterialNote = function MaterialNote(_ref) {
693
804
  var data = _ref.block.data,
694
805
  styleContext = _ref.styleContext;
695
- var classNames = [[styles$9.root, true]];
806
+ var classNames = [[styles$b.root, true]];
696
807
 
697
808
  if (styleContext) {
698
- classNames = makeStyleContext(classNames, styleContext, styles$9);
809
+ classNames = makeStyleContext(classNames, styleContext, styles$b);
699
810
  }
700
811
 
701
812
  return React.createElement("div", {
@@ -703,7 +814,7 @@ var MaterialNote = function MaterialNote(_ref) {
703
814
  className: makeClassName(classNames)
704
815
  }, data && data.map(function (item) {
705
816
  return React.createElement("p", {
706
- className: styles$9[item.type],
817
+ className: styles$b[item.type],
707
818
  key: item.id,
708
819
  dangerouslySetInnerHTML: {
709
820
  __html: item.data
@@ -712,24 +823,24 @@ var MaterialNote = function MaterialNote(_ref) {
712
823
  }));
713
824
  };
714
825
 
715
- var styles$a = {"root":"BookmarkButton-module_root__3KmuY","control":"BookmarkButton-module_control__1A0ea","dark":"BookmarkButton-module_dark__1cwyi","light":"BookmarkButton-module_light__1uQyH","isInBookmarks":"BookmarkButton-module_isInBookmarks__1_5kB","isInGrid":"BookmarkButton-module_isInGrid__2pQ2B"};
826
+ var styles$c = {"root":"BookmarkButton-module_root__3KmuY","control":"BookmarkButton-module_control__1A0ea","dark":"BookmarkButton-module_dark__1cwyi","light":"BookmarkButton-module_light__1uQyH","isInBookmarks":"BookmarkButton-module_isInBookmarks__1_5kB","isInGrid":"BookmarkButton-module_isInGrid__2pQ2B"};
716
827
 
717
828
  var BookmarkButton = function BookmarkButton(_ref) {
718
829
  var styleContext = _ref.styleContext,
719
830
  theme = _ref.theme,
720
831
  isInBookmarks = _ref.isInBookmarks,
721
832
  _onClick = _ref.onClick;
722
- var classNames = [[styles$a.root, true], [styles$a.isInBookmarks, isInBookmarks], [styles$a[theme], !!theme && !!styles$a[theme]]];
833
+ var classNames = [[styles$c.root, true], [styles$c.isInBookmarks, isInBookmarks], [styles$c[theme], !!theme && !!styles$c[theme]]];
723
834
 
724
835
  if (styleContext) {
725
- classNames = makeStyleContext(classNames, styleContext, styles$a);
836
+ classNames = makeStyleContext(classNames, styleContext, styles$c);
726
837
  }
727
838
 
728
839
  return React.createElement("div", {
729
840
  "data-testid": "bookmark-button",
730
841
  className: makeClassName(classNames)
731
842
  }, React.createElement("button", {
732
- className: styles$a.control,
843
+ className: styles$c.control,
733
844
  onClick: function onClick() {
734
845
  return _onClick();
735
846
  },
@@ -740,45 +851,45 @@ var BookmarkButton = function BookmarkButton(_ref) {
740
851
  })));
741
852
  };
742
853
 
743
- var styles$b = {"root":"MaterialTitle-module_root__18ku-","primary":"MaterialTitle-module_primary__2Sfmx","secondary":"MaterialTitle-module_secondary__3uDp4"};
854
+ var styles$d = {"root":"MaterialTitle-module_root__18ku-","primary":"MaterialTitle-module_primary__2Sfmx","secondary":"MaterialTitle-module_secondary__3uDp4"};
744
855
 
745
856
  var Primary = function Primary(_ref) {
746
857
  var children = _ref.children;
747
858
  return React.createElement("span", {
748
- className: styles$b.primary
859
+ className: styles$d.primary
749
860
  }, children);
750
861
  };
751
862
  var Secondary = function Secondary(_ref2) {
752
863
  var children = _ref2.children;
753
864
  return React.createElement("span", {
754
- className: styles$b.secondary
865
+ className: styles$d.secondary
755
866
  }, children);
756
867
  };
757
868
  var MaterialTitle = function MaterialTitle(_ref3) {
758
869
  var children = _ref3.children;
759
870
  return React.createElement("h1", {
760
- className: styles$b.root,
871
+ className: styles$d.root,
761
872
  "data-testid": "material-title"
762
873
  }, children);
763
874
  };
764
875
 
765
- var styles$c = {"root":"Dropdown-module_root__11PNk","active":"Dropdown-module_active__3IwAl","menu":"Dropdown-module_menu__3PIqD","isInAudioPanel":"Dropdown-module_isInAudioPanel__1zv7F"};
876
+ var styles$e = {"root":"Dropdown-module_root__11PNk","active":"Dropdown-module_active__3IwAl","menu":"Dropdown-module_menu__3PIqD","isInAudioPanel":"Dropdown-module_isInAudioPanel__1zv7F"};
766
877
 
767
878
  var Menu = function Menu(_ref) {
768
879
  var children = _ref.children;
769
880
  return React.createElement("div", {
770
881
  "data-testid": "dropdown",
771
- className: styles$c.menu
882
+ className: styles$e.menu
772
883
  }, children);
773
884
  };
774
885
  var Dropdown = function Dropdown(_ref2) {
775
886
  var children = _ref2.children,
776
887
  active = _ref2.active,
777
888
  styleContext = _ref2.styleContext;
778
- var classNames = [[styles$c.root, true], [styles$c.active, !!active && !!styles$c.active]];
889
+ var classNames = [[styles$e.root, true], [styles$e.active, !!active && !!styles$e.active]];
779
890
 
780
891
  if (styleContext) {
781
- classNames = makeStyleContext(classNames, styleContext, styles$c);
892
+ classNames = makeStyleContext(classNames, styleContext, styles$e);
782
893
  }
783
894
 
784
895
  return React.createElement("div", {
@@ -787,21 +898,21 @@ var Dropdown = function Dropdown(_ref2) {
787
898
  }, children);
788
899
  };
789
900
 
790
- var styles$d = {"root":"Toolbar-module_root__2HF2r","list":"Toolbar-module_list__1n5ny","item":"Toolbar-module_item__36x7d","isInTopbar":"Toolbar-module_isInTopbar__223iP","center":"Toolbar-module_center__3_H8M","game":"Toolbar-module_game__5-jY_","gameSurvey":"Toolbar-module_gameSurvey__1hQEz","dark":"Toolbar-module_dark__2Ejc9"};
901
+ var styles$f = {"root":"Toolbar-module_root__2HF2r","list":"Toolbar-module_list__1n5ny","item":"Toolbar-module_item__36x7d","isInTopbar":"Toolbar-module_isInTopbar__223iP","center":"Toolbar-module_center__3_H8M","game":"Toolbar-module_game__5-jY_","gameSurvey":"Toolbar-module_gameSurvey__1hQEz","dark":"Toolbar-module_dark__2Ejc9"};
791
902
 
792
903
  var Toolbar = function Toolbar(_ref) {
793
904
  var children = _ref.children,
794
905
  styleContext = _ref.styleContext;
795
- var classNames = [[styles$d.root, true]];
906
+ var classNames = [[styles$f.root, true]];
796
907
 
797
908
  if (styleContext) {
798
- classNames = makeStyleContext(classNames, styleContext, styles$d);
909
+ classNames = makeStyleContext(classNames, styleContext, styles$f);
799
910
  }
800
911
 
801
912
  var renderItems = function renderItems() {
802
913
  return Children.map(children, function (item, index) {
803
914
  return React.createElement("li", {
804
- className: styles$d.item,
915
+ className: styles$f.item,
805
916
  key: index + "-" + item.props.type
806
917
  }, React.cloneElement(item));
807
918
  });
@@ -811,96 +922,11 @@ var Toolbar = function Toolbar(_ref) {
811
922
  "data-testid": "toolbar",
812
923
  className: makeClassName(classNames)
813
924
  }, React.createElement("ul", {
814
- className: styles$d.list
925
+ className: styles$f.list
815
926
  }, renderItems()));
816
927
  };
817
928
 
818
- var styles$e = {"root":"Popover-module_root__1v6f_","fadeOut":"Popover-module_fadeOut__3EZhx","visible":"Popover-module_visible__eK5ZQ","fadeIn":"Popover-module_fadeIn__AkrSN","overlay":"Popover-module_overlay__2SBL0","container":"Popover-module_container__FnZT-","disappear":"Popover-module_disappear__3Q9LI","dismiss":"Popover-module_dismiss__3RnLj","background":"Popover-module_background__1KKaP","appear":"Popover-module_appear__37vPd"};
819
-
820
- var Popover = function Popover(_ref) {
821
- var children = _ref.children,
822
- onClose = _ref.onClose;
823
-
824
- var _useState = useState(true),
825
- visible = _useState[0],
826
- setVisible = _useState[1];
827
-
828
- var handleClose = function handleClose() {
829
- setVisible(false);
830
- setTimeout(onClose, 350);
831
- };
832
-
833
- var handleScroll = function handleScroll() {
834
- handleClose();
835
- };
836
-
837
- var escFunction = function escFunction(event) {
838
- if (event.key === 'Escape') {
839
- handleClose();
840
- }
841
- };
842
-
843
- useEffect(function () {
844
- window.addEventListener('keydown', escFunction, false);
845
- window.addEventListener('scroll', handleScroll, false);
846
- return function () {
847
- window.removeEventListener('keydown', escFunction, false);
848
- window.removeEventListener('scroll', handleScroll, false);
849
- };
850
- }, [visible]);
851
- /* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */
852
-
853
- return React.createElement("div", {
854
- "data-testid": "popover",
855
- className: makeClassName([[styles$e.root, true], [styles$e.visible, visible]])
856
- }, React.createElement("div", {
857
- className: styles$e.overlay,
858
- onClick: function onClick() {
859
- return handleClose();
860
- }
861
- }), React.createElement("div", {
862
- className: styles$e.container
863
- }, React.createElement("button", {
864
- type: "button",
865
- className: styles$e.dismiss,
866
- onClick: function onClick() {
867
- return handleClose();
868
- },
869
- "aria-label": "dismiss"
870
- }), React.createElement("svg", {
871
- width: "100%",
872
- className: styles$e.background
873
- }, React.createElement("defs", null, React.createElement("mask", {
874
- id: "myMask",
875
- x: "0",
876
- y: "0",
877
- width: "100%",
878
- height: "100%"
879
- }, React.createElement("rect", {
880
- fill: "white",
881
- y: "0",
882
- width: "100%",
883
- height: "100%",
884
- x: "0"
885
- }), React.createElement("svg", {
886
- x: "50%",
887
- overflow: "visible"
888
- }, React.createElement("g", {
889
- transform: "translate(-12 0)"
890
- }, React.createElement("path", {
891
- d: "M4.61852778e-14,9.76996262e-15 L9.84597532,5.80270273 C11.0992017,6.54128882 12.6546044,6.54128882 13.9078308,5.80270273 L23.7538061,9.76996262e-15 L4.61852778e-14,9.76996262e-15 Z"
892
- }))))), React.createElement("rect", {
893
- fill: "#F7F7F7",
894
- id: "base-mask",
895
- mask: "url(#myMask)",
896
- x: "0",
897
- y: "0",
898
- width: "100%",
899
- height: "100%"
900
- })), children));
901
- };
902
-
903
- var styles$f = {"root":"Meta-module_root__12AG7","rich":"Meta-module_rich__1XBtZ","podcast":"Meta-module_podcast__1m4zo","episode":"Meta-module_episode__1K2Xv","simple":"Meta-module_simple__3vUiI","slide":"Meta-module_slide__3g6fG","card":"Meta-module_card__LE1RK","game":"Meta-module_game__3aNlZ","isInMaterial":"Meta-module_isInMaterial__zaYMy","isInSearchItem":"Meta-module_isInSearchItem__1wbpx","center":"Meta-module_center__3BBPr","half":"Meta-module_half__1xRkT","light":"Meta-module_light__2baE-","dark":"Meta-module_dark__24y9m","hasSource":"Meta-module_hasSource__2lXiN","bookmark":"Meta-module_bookmark__3ot3k","mobile":"Meta-module_mobile__22LGV","desktop":"Meta-module_desktop__1ZGUS"};
929
+ var styles$g = {"root":"Meta-module_root__12AG7","rich":"Meta-module_rich__1XBtZ","podcast":"Meta-module_podcast__1m4zo","episode":"Meta-module_episode__1K2Xv","simple":"Meta-module_simple__3vUiI","slide":"Meta-module_slide__3g6fG","card":"Meta-module_card__LE1RK","game":"Meta-module_game__3aNlZ","isInMaterial":"Meta-module_isInMaterial__zaYMy","isInSearchItem":"Meta-module_isInSearchItem__1wbpx","center":"Meta-module_center__3BBPr","half":"Meta-module_half__1xRkT","light":"Meta-module_light__2baE-","dark":"Meta-module_dark__24y9m","hasSource":"Meta-module_hasSource__2lXiN","bookmark":"Meta-module_bookmark__3ot3k","mobile":"Meta-module_mobile__22LGV","desktop":"Meta-module_desktop__1ZGUS"};
904
930
 
905
931
  var Meta = function Meta(_ref) {
906
932
  var hasSource = _ref.hasSource,
@@ -908,10 +934,10 @@ var Meta = function Meta(_ref) {
908
934
  children = _ref.children,
909
935
  onlyOn = _ref.onlyOn,
910
936
  styleContext = _ref.styleContext;
911
- var classNames = [[styles$f.root, true], [styles$f[theme], !!theme && !!styles$f[theme]], [styles$f[onlyOn], !!onlyOn], [styles$f.hasSource, hasSource]];
937
+ var classNames = [[styles$g.root, true], [styles$g[theme], !!theme && !!styles$g[theme]], [styles$g[onlyOn], !!onlyOn], [styles$g.hasSource, hasSource]];
912
938
 
913
939
  if (styleContext) {
914
- classNames = makeStyleContext(classNames, styleContext, styles$f);
940
+ classNames = makeStyleContext(classNames, styleContext, styles$g);
915
941
  }
916
942
 
917
943
  return React.createElement("div", {
@@ -920,7 +946,7 @@ var Meta = function Meta(_ref) {
920
946
  }, children);
921
947
  };
922
948
 
923
- var styles$g = {"root":"Timestamp-module_root__coOvT"};
949
+ var styles$h = {"root":"Timestamp-module_root__coOvT"};
924
950
 
925
951
  var Timestamp = function Timestamp(_ref) {
926
952
  var publishedAt = _ref.publishedAt,
@@ -945,7 +971,7 @@ var Timestamp = function Timestamp(_ref) {
945
971
 
946
972
  return React.createElement("time", {
947
973
  "data-testid": "timestamp",
948
- className: styles$g.root
974
+ className: styles$h.root
949
975
  }, published);
950
976
  };
951
977
 
@@ -1012,7 +1038,7 @@ var DangerousHTML = function DangerousHTML(_ref) {
1012
1038
  }));
1013
1039
  };
1014
1040
 
1015
- var styles$h = {"root":"EmbedBlock-module_root__28k9U","object":"EmbedBlock-module_object__2_UZ7","objectWrap":"EmbedBlock-module_objectWrap__1aDVd","proportional":"EmbedBlock-module_proportional__3lAv4","attachment":"EmbedBlock-module_attachment__2pE0t","default":"EmbedBlock-module_default__LSDny","xs":"EmbedBlock-module_xs__1hFgW","full":"EmbedBlock-module_full__1TEjx","super_full":"EmbedBlock-module_super_full__1Fn9A","figure":"EmbedBlock-module_figure__vAvcN","dark":"EmbedBlock-module_dark__1be2G","isInGroupedBlock":"EmbedBlock-module_isInGroupedBlock__3r_i-","gameEmbed":"EmbedBlock-module_gameEmbed__AZQSo","mobile":"EmbedBlock-module_mobile__1P-eo","desktop":"EmbedBlock-module_desktop__SF5a_","control":"EmbedBlock-module_control__xr8dZ","raw_html":"EmbedBlock-module_raw_html__MQoAA","mobileFullwidth":"EmbedBlock-module_mobileFullwidth__QFFLH","card":"EmbedBlock-module_card__KTbvp","slide":"EmbedBlock-module_slide__3cL3M","cc":"EmbedBlock-module_cc__1BQ5g","isInAnswer":"EmbedBlock-module_isInAnswer__tLlgs","picture":"EmbedBlock-module_picture__186q0","wrapper":"EmbedBlock-module_wrapper__33XvX"};
1041
+ var styles$i = {"root":"EmbedBlock-module_root__28k9U","object":"EmbedBlock-module_object__2_UZ7","objectWrap":"EmbedBlock-module_objectWrap__1aDVd","proportional":"EmbedBlock-module_proportional__3lAv4","attachment":"EmbedBlock-module_attachment__2pE0t","default":"EmbedBlock-module_default__LSDny","xs":"EmbedBlock-module_xs__1hFgW","full":"EmbedBlock-module_full__1TEjx","super_full":"EmbedBlock-module_super_full__1Fn9A","figure":"EmbedBlock-module_figure__vAvcN","dark":"EmbedBlock-module_dark__1be2G","isInGroupedBlock":"EmbedBlock-module_isInGroupedBlock__3r_i-","gameEmbed":"EmbedBlock-module_gameEmbed__AZQSo","mobile":"EmbedBlock-module_mobile__1P-eo","desktop":"EmbedBlock-module_desktop__SF5a_","control":"EmbedBlock-module_control__xr8dZ","raw_html":"EmbedBlock-module_raw_html__MQoAA","mobileFullwidth":"EmbedBlock-module_mobileFullwidth__QFFLH","card":"EmbedBlock-module_card__KTbvp","slide":"EmbedBlock-module_slide__3cL3M","cc":"EmbedBlock-module_cc__1BQ5g","isInAnswer":"EmbedBlock-module_isInAnswer__tLlgs","picture":"EmbedBlock-module_picture__186q0","wrapper":"EmbedBlock-module_wrapper__33XvX"};
1016
1042
 
1017
1043
  var EmbedGif = function EmbedGif(_ref) {
1018
1044
  var gif = _ref.gif,
@@ -1060,9 +1086,9 @@ var EmbedGif = function EmbedGif(_ref) {
1060
1086
  };
1061
1087
  }, []);
1062
1088
  return React.createElement("div", {
1063
- className: styles$h.figure
1089
+ className: styles$i.figure
1064
1090
  }, React.createElement("div", {
1065
- className: styles$h.objectWrap,
1091
+ className: styles$i.objectWrap,
1066
1092
  style: style,
1067
1093
  "data-frozen": videoFrozen
1068
1094
  }, React.createElement("video", {
@@ -1128,7 +1154,7 @@ var EmbedBlock = function EmbedBlock(_ref) {
1128
1154
  case 'image':
1129
1155
  {
1130
1156
  return React.createElement("div", {
1131
- className: styles$h.figure
1157
+ className: styles$i.figure
1132
1158
  }, (small || optimized) && React.createElement(Image, {
1133
1159
  fullscreen: block.data.fullscreen,
1134
1160
  source: !optimized && [small, large],
@@ -1144,7 +1170,7 @@ var EmbedBlock = function EmbedBlock(_ref) {
1144
1170
  case 'game_embed':
1145
1171
  {
1146
1172
  return React.createElement("div", {
1147
- className: styles$h.gameEmbed
1173
+ className: styles$i.gameEmbed
1148
1174
  }, React.createElement("iframe", {
1149
1175
  src: block.data.game_src,
1150
1176
  id: block.data.game_id,
@@ -1155,7 +1181,7 @@ var EmbedBlock = function EmbedBlock(_ref) {
1155
1181
  case 'dots_on_image':
1156
1182
  {
1157
1183
  return React.createElement("div", {
1158
- className: styles$h.figure
1184
+ className: styles$i.figure
1159
1185
  }, React.createElement(DotsOnImage, {
1160
1186
  block: data
1161
1187
  }));
@@ -1164,12 +1190,12 @@ var EmbedBlock = function EmbedBlock(_ref) {
1164
1190
  default:
1165
1191
  {
1166
1192
  return React.createElement("div", {
1167
- className: styles$h.object
1193
+ className: styles$i.object
1168
1194
  }, React.createElement("div", {
1169
- className: styles$h.wrapper,
1195
+ className: styles$i.wrapper,
1170
1196
  style: style
1171
1197
  }, React.createElement(DangerousHTML, {
1172
- className: styles$h.objectWrap,
1198
+ className: styles$i.objectWrap,
1173
1199
  html: html
1174
1200
  })));
1175
1201
  }
@@ -1181,31 +1207,31 @@ var EmbedBlock = function EmbedBlock(_ref) {
1181
1207
  style.height = 0;
1182
1208
  }
1183
1209
 
1184
- var classNames = [[styles$h.root, true], [styles$h.cc, cc], [styles$h[display], !!display && styles$h[display]], [styles$h[provider], !!provider && !!styles$h[provider]], [styles$h[onlyOn], !!onlyOn && styles$h[onlyOn]], [styles$h.mobileFullwidth, mobileFullwidth], [styles$h.proportional, isProportional]]; // Убираем из контекста все, что не начинается с приставки isIn,
1210
+ var classNames = [[styles$i.root, true], [styles$i.cc, cc], [styles$i[display], !!display && styles$i[display]], [styles$i[provider], !!provider && !!styles$i[provider]], [styles$i[onlyOn], !!onlyOn && styles$i[onlyOn]], [styles$i.mobileFullwidth, mobileFullwidth], [styles$i.proportional, isProportional]]; // Убираем из контекста все, что не начинается с приставки isIn,
1185
1211
  // чтобы не применились лишние модификаторы
1186
1212
  // TODO: в w6 модификаторы должны передаваться явно
1187
1213
 
1188
1214
  if (styleContext) {
1189
1215
  var filteredContext = Object.keys(styleContext).filter(function (key) {
1190
- return key.startsWith('isIn') && styles$h[key];
1216
+ return key.startsWith('isIn') && styles$i[key];
1191
1217
  }).reduce(function (acc, key) {
1192
- acc.push([styles$h[key], true]);
1218
+ acc.push([styles$i[key], true]);
1193
1219
  return acc;
1194
1220
  }, []);
1195
- classNames = makeStyleContext(classNames, filteredContext, styles$h);
1221
+ classNames = makeStyleContext(classNames, filteredContext, styles$i);
1196
1222
  }
1197
1223
 
1198
1224
  return React.createElement("figure", {
1199
1225
  className: makeClassName(classNames)
1200
1226
  }, children && React.createElement("div", {
1201
- className: styles$h.object
1227
+ className: styles$i.object
1202
1228
  }, React.createElement("div", {
1203
- className: styles$h.wrapper,
1229
+ className: styles$i.wrapper,
1204
1230
  style: style
1205
1231
  }, React.createElement("div", {
1206
- className: styles$h.objectWrap
1232
+ className: styles$i.objectWrap
1207
1233
  }, children))), !children && renderEmbed(style), cc === 'default' && React.createElement("figcaption", null, renderCC()), cc === 'button' && React.createElement("button", {
1208
- className: styles$h.control,
1234
+ className: styles$i.control,
1209
1235
  type: "button",
1210
1236
  "aria-label": "Open",
1211
1237
  onClick: function onClick() {
@@ -1281,15 +1307,15 @@ var EmbedBlockContainer = function EmbedBlockContainer(_ref) {
1281
1307
  });
1282
1308
  };
1283
1309
 
1284
- var styles$i = {"root":"QuoteBlock-module_root__2GrcC","center":"QuoteBlock-module_center__cTFNy"};
1310
+ var styles$j = {"root":"QuoteBlock-module_root__2GrcC","center":"QuoteBlock-module_center__cTFNy"};
1285
1311
 
1286
1312
  var QuoteBlock = function QuoteBlock(_ref) {
1287
1313
  var data = _ref.block.data,
1288
1314
  styleContext = _ref.styleContext;
1289
- var classNames = [[styles$i.root, true]];
1315
+ var classNames = [[styles$j.root, true]];
1290
1316
 
1291
1317
  if (styleContext) {
1292
- classNames = makeStyleContext(classNames, styleContext, styles$i);
1318
+ classNames = makeStyleContext(classNames, styleContext, styles$j);
1293
1319
  }
1294
1320
 
1295
1321
  return React.createElement("div", {
@@ -1302,7 +1328,7 @@ var QuoteBlock = function QuoteBlock(_ref) {
1302
1328
  }));
1303
1329
  };
1304
1330
 
1305
- var styles$j = {"root":"CardTitle-module_root__1uqqF","index":"CardTitle-module_index__4FsTf","title":"CardTitle-module_title__2iTI6","mobile":"CardTitle-module_mobile__1_kij","desktop":"CardTitle-module_desktop__1l3_n"};
1331
+ var styles$k = {"root":"CardTitle-module_root__1uqqF","index":"CardTitle-module_index__4FsTf","title":"CardTitle-module_title__2iTI6","mobile":"CardTitle-module_mobile__1_kij","desktop":"CardTitle-module_desktop__1l3_n"};
1306
1332
 
1307
1333
  var CardTitle = function CardTitle(_ref) {
1308
1334
  var _ref$block$data = _ref.block.data,
@@ -1312,15 +1338,15 @@ var CardTitle = function CardTitle(_ref) {
1312
1338
  styleContext = _ref.styleContext;
1313
1339
  return React.createElement("div", {
1314
1340
  "data-testid": "card-title",
1315
- className: makeClassName([[styles$j.root, true], [styles$j[onlyOn], !!onlyOn], [styles$j[styleContext], !!styleContext && !!styles$j[styleContext]]])
1341
+ className: makeClassName([[styles$k.root, true], [styles$k[onlyOn], !!onlyOn], [styles$k[styleContext], !!styleContext && !!styles$k[styleContext]]])
1316
1342
  }, React.createElement("div", {
1317
- className: styles$j.index
1343
+ className: styles$k.index
1318
1344
  }, index), React.createElement("h3", {
1319
- className: styles$j.title
1345
+ className: styles$k.title
1320
1346
  }, text));
1321
1347
  };
1322
1348
 
1323
- var styles$k = {"root":"ChapterBlock-module_root__1WyVn","subtitle":"ChapterBlock-module_subtitle__3TXll","mobile":"ChapterBlock-module_mobile__CiO0w","desktop":"ChapterBlock-module_desktop__tk1Nk"};
1349
+ var styles$l = {"root":"ChapterBlock-module_root__1WyVn","subtitle":"ChapterBlock-module_subtitle__3TXll","mobile":"ChapterBlock-module_mobile__CiO0w","desktop":"ChapterBlock-module_desktop__tk1Nk"};
1324
1350
 
1325
1351
  var ChapterBlock = function ChapterBlock(_ref) {
1326
1352
  var _ref$block = _ref.block,
@@ -1329,9 +1355,9 @@ var ChapterBlock = function ChapterBlock(_ref) {
1329
1355
  styleContext = _ref.styleContext;
1330
1356
  return React.createElement("div", {
1331
1357
  "data-testid": "chapter-block",
1332
- className: makeClassName([[styles$k.root, true], [styles$k[onlyOn], !!onlyOn]])
1358
+ className: makeClassName([[styles$l.root, true], [styles$l[onlyOn], !!onlyOn]])
1333
1359
  }, React.createElement("div", {
1334
- className: makeClassName([[styles$k.subtitle, true], [styles$k[styleContext], !!styleContext && !!styles$k[styleContext]]]),
1360
+ className: makeClassName([[styles$l.subtitle, true], [styles$l[styleContext], !!styleContext && !!styles$l[styleContext]]]),
1335
1361
  dangerouslySetInnerHTML: {
1336
1362
  __html: data
1337
1363
  }
@@ -1346,17 +1372,17 @@ var generateGradient = function generateGradient(color) {
1346
1372
  return "linear-gradient(-180deg, " + gradient + ")";
1347
1373
  };
1348
1374
 
1349
- var styles$l = {"root":"SimpleTitle-module_root__2jVQN","mobile":"SimpleTitle-module_mobile__11gBz","desktop":"SimpleTitle-module_desktop__3yXgy"};
1375
+ var styles$m = {"root":"SimpleTitle-module_root__2jVQN","mobile":"SimpleTitle-module_mobile__11gBz","desktop":"SimpleTitle-module_desktop__3yXgy"};
1350
1376
 
1351
1377
  var SimpleTitle = function SimpleTitle(_ref) {
1352
1378
  var _ref$block = _ref.block,
1353
1379
  first = _ref$block.data.first,
1354
1380
  onlyOn = _ref$block.only_on,
1355
1381
  styleContext = _ref.styleContext;
1356
- var classNames = [[styles$l.root, true], [styles$l[onlyOn], true]];
1382
+ var classNames = [[styles$m.root, true], [styles$m[onlyOn], true]];
1357
1383
 
1358
1384
  if (styleContext) {
1359
- classNames = makeStyleContext(classNames, styleContext, styles$l);
1385
+ classNames = makeStyleContext(classNames, styleContext, styles$m);
1360
1386
  }
1361
1387
 
1362
1388
  return React.createElement("div", {
@@ -1365,7 +1391,7 @@ var SimpleTitle = function SimpleTitle(_ref) {
1365
1391
  }, first);
1366
1392
  };
1367
1393
 
1368
- var styles$m = {"root":"RichTitle-module_root__BK_WT","slide":"RichTitle-module_slide__1A-gB","game":"RichTitle-module_game__1g8Bn","half":"RichTitle-module_half__10GRI","featured":"RichTitle-module_featured__wJfaQ","mobile":"RichTitle-module_mobile__1Cb6E","desktop":"RichTitle-module_desktop__2ixSQ"};
1394
+ var styles$n = {"root":"RichTitle-module_root__BK_WT","slide":"RichTitle-module_slide__1A-gB","game":"RichTitle-module_game__1g8Bn","half":"RichTitle-module_half__10GRI","featured":"RichTitle-module_featured__wJfaQ","mobile":"RichTitle-module_mobile__1Cb6E","desktop":"RichTitle-module_desktop__2ixSQ"};
1369
1395
 
1370
1396
  var RichTitle = function RichTitle(_ref) {
1371
1397
  var _ref$block = _ref.block,
@@ -1375,10 +1401,10 @@ var RichTitle = function RichTitle(_ref) {
1375
1401
  first = _ref$block$data.first,
1376
1402
  second = _ref$block$data.second,
1377
1403
  styleContext = _ref.styleContext;
1378
- var classNames = [[styles$m.root, true], [styles$m[onlyOn], true], [styles$m.featured, !!featured]];
1404
+ var classNames = [[styles$n.root, true], [styles$n[onlyOn], true], [styles$n.featured, !!featured]];
1379
1405
 
1380
1406
  if (styleContext) {
1381
- classNames = makeStyleContext(classNames, styleContext, styles$m);
1407
+ classNames = makeStyleContext(classNames, styleContext, styles$n);
1382
1408
  }
1383
1409
 
1384
1410
  return React.createElement("h1", {
@@ -1387,7 +1413,7 @@ var RichTitle = function RichTitle(_ref) {
1387
1413
  }, first, second && React.createElement("span", null, " ", second));
1388
1414
  };
1389
1415
 
1390
- var styles$n = {"p":"SimpleBlock-module_p__Q3azD","h2":"SimpleBlock-module_h2__S0LRs","h3":"SimpleBlock-module_h3__2Kv7Y","h4":"SimpleBlock-module_h4__2TJO3","lead":"SimpleBlock-module_lead__35nXx","lead_hr":"SimpleBlock-module_lead_hr__1yD5v","context_p":"SimpleBlock-module_context_p__33saY","blockquote":"SimpleBlock-module_blockquote__pwpcX","game":"SimpleBlock-module_game__2sjgl","slide":"SimpleBlock-module_slide__Aqgfu","dark":"SimpleBlock-module_dark__1J_ov","isInIntro":"SimpleBlock-module_isInIntro__DfutD","center":"SimpleBlock-module_center__2rjif","isInImportantLead":"SimpleBlock-module_isInImportantLead__3VGzT","isInAnswer":"SimpleBlock-module_isInAnswer__3aX6X","mobile":"SimpleBlock-module_mobile__Ckgek","desktop":"SimpleBlock-module_desktop__2se2o"};
1416
+ var styles$o = {"p":"SimpleBlock-module_p__Q3azD","h2":"SimpleBlock-module_h2__S0LRs","h3":"SimpleBlock-module_h3__2Kv7Y","h4":"SimpleBlock-module_h4__2TJO3","lead":"SimpleBlock-module_lead__35nXx","lead_hr":"SimpleBlock-module_lead_hr__1yD5v","context_p":"SimpleBlock-module_context_p__33saY","blockquote":"SimpleBlock-module_blockquote__pwpcX","game":"SimpleBlock-module_game__2sjgl","slide":"SimpleBlock-module_slide__Aqgfu","dark":"SimpleBlock-module_dark__1J_ov","isInIntro":"SimpleBlock-module_isInIntro__DfutD","center":"SimpleBlock-module_center__2rjif","isInImportantLead":"SimpleBlock-module_isInImportantLead__3VGzT","isInAnswer":"SimpleBlock-module_isInAnswer__3aX6X","mobile":"SimpleBlock-module_mobile__Ckgek","desktop":"SimpleBlock-module_desktop__2se2o"};
1391
1417
 
1392
1418
  var SimpleBlock = function SimpleBlock(_ref) {
1393
1419
  var _ref$block = _ref.block,
@@ -1396,10 +1422,10 @@ var SimpleBlock = function SimpleBlock(_ref) {
1396
1422
  onlyOn = _ref$block.only_on,
1397
1423
  styleContext = _ref.styleContext;
1398
1424
  var TagName;
1399
- var classNames = [[styles$n[type], !!type && !!styles$n[type]], [styles$n[onlyOn], true]];
1425
+ var classNames = [[styles$o[type], !!type && !!styles$o[type]], [styles$o[onlyOn], true]];
1400
1426
 
1401
1427
  if (styleContext) {
1402
- classNames = makeStyleContext(classNames, styleContext, styles$n);
1428
+ classNames = makeStyleContext(classNames, styleContext, styles$o);
1403
1429
  }
1404
1430
 
1405
1431
  switch (type) {
@@ -1430,7 +1456,7 @@ var SimpleBlock = function SimpleBlock(_ref) {
1430
1456
  });
1431
1457
  };
1432
1458
 
1433
- var styles$o = {"root":"ListBlock-module_root__3Q3Ga","ol":"ListBlock-module_ol__21CgV","ul":"ListBlock-module_ul__2MRrS","center":"ListBlock-module_center__tdIwd","isInImportantLead":"ListBlock-module_isInImportantLead__UP0ic","dark":"ListBlock-module_dark__3E3tV","mobile":"ListBlock-module_mobile__2-nuV","desktop":"ListBlock-module_desktop__1EE0g"};
1459
+ var styles$p = {"root":"ListBlock-module_root__3Q3Ga","ol":"ListBlock-module_ol__21CgV","ul":"ListBlock-module_ul__2MRrS","center":"ListBlock-module_center__tdIwd","isInImportantLead":"ListBlock-module_isInImportantLead__UP0ic","dark":"ListBlock-module_dark__3E3tV","mobile":"ListBlock-module_mobile__2-nuV","desktop":"ListBlock-module_desktop__1EE0g"};
1434
1460
 
1435
1461
  var ListBlock = function ListBlock(_ref) {
1436
1462
  var _ref$block = _ref.block,
@@ -1439,10 +1465,10 @@ var ListBlock = function ListBlock(_ref) {
1439
1465
  onlyOn = _ref$block.only_on,
1440
1466
  styleContext = _ref.styleContext;
1441
1467
  var TagName = type;
1442
- var classNames = [[styles$o.root, true], [styles$o[onlyOn], true], [styles$o[type], !!type && !!styles$o[type]]];
1468
+ var classNames = [[styles$p.root, true], [styles$p[onlyOn], true], [styles$p[type], !!type && !!styles$p[type]]];
1443
1469
 
1444
1470
  if (styleContext) {
1445
- classNames = makeStyleContext(classNames, styleContext, styles$o);
1471
+ classNames = makeStyleContext(classNames, styleContext, styles$p);
1446
1472
  }
1447
1473
 
1448
1474
  return React.createElement(TagName, {
@@ -1457,7 +1483,7 @@ var ListBlock = function ListBlock(_ref) {
1457
1483
  }));
1458
1484
  };
1459
1485
 
1460
- var styles$p = {"root":"RelatedBlock-module_root__IKcQq","header":"RelatedBlock-module_header__2SuWP","items":"RelatedBlock-module_items__2V-Ap","rich":"RelatedBlock-module_rich__ddaHq","first":"RelatedBlock-module_first__BKItW","simple":"RelatedBlock-module_simple__29HVO","center":"RelatedBlock-module_center__1LmW8","isInSlideMaterial":"RelatedBlock-module_isInSlideMaterial__2YSYG","mobile":"RelatedBlock-module_mobile__2XM5a","desktop":"RelatedBlock-module_desktop__2mXeq"};
1486
+ var styles$q = {"root":"RelatedBlock-module_root__IKcQq","header":"RelatedBlock-module_header__2SuWP","items":"RelatedBlock-module_items__2V-Ap","rich":"RelatedBlock-module_rich__ddaHq","first":"RelatedBlock-module_first__BKItW","simple":"RelatedBlock-module_simple__29HVO","center":"RelatedBlock-module_center__1LmW8","isInSlideMaterial":"RelatedBlock-module_isInSlideMaterial__2YSYG","mobile":"RelatedBlock-module_mobile__2XM5a","desktop":"RelatedBlock-module_desktop__2mXeq"};
1461
1487
 
1462
1488
  var RelatedBlock = function RelatedBlock(_ref) {
1463
1489
  var _ref$block = _ref.block,
@@ -1466,34 +1492,34 @@ var RelatedBlock = function RelatedBlock(_ref) {
1466
1492
  related = _ref$block$data.related,
1467
1493
  onlyOn = _ref$block.only_on,
1468
1494
  styleContext = _ref.styleContext;
1469
- var classNames = [[styles$p.root, true], [styles$p[onlyOn], true]];
1495
+ var classNames = [[styles$q.root, true], [styles$q[onlyOn], true]];
1470
1496
 
1471
1497
  if (styleContext) {
1472
- classNames = makeStyleContext(classNames, styleContext, styles$p);
1498
+ classNames = makeStyleContext(classNames, styleContext, styles$q);
1473
1499
  }
1474
1500
 
1475
1501
  return React.createElement("div", {
1476
1502
  "data-testid": "related-block",
1477
1503
  className: makeClassName(classNames)
1478
1504
  }, React.createElement("h3", {
1479
- className: styles$p.header
1505
+ className: styles$q.header
1480
1506
  }, title), React.createElement("ul", {
1481
- className: styles$p.items
1507
+ className: styles$q.items
1482
1508
  }, related.map(function (item, index) {
1483
1509
  return React.createElement("li", {
1484
1510
  key: item.id || index,
1485
- className: styles$p[item.layout]
1511
+ className: styles$q[item.layout]
1486
1512
  }, React.createElement("a", {
1487
1513
  href: item.full_url || "/" + item.url,
1488
1514
  target: "_blank",
1489
1515
  rel: "noopener noreferrer"
1490
1516
  }, React.createElement("span", {
1491
- className: styles$p.first
1517
+ className: styles$q.first
1492
1518
  }, item.title), item.second_title && ' ', item.second_title && React.createElement("span", null, item.second_title)));
1493
1519
  })));
1494
1520
  };
1495
1521
 
1496
- var styles$q = {"root":"SourceBlock-module_root__1P3XD","text":"SourceBlock-module_text__Si4vm","origin":"SourceBlock-module_origin__l3JbO","center":"SourceBlock-module_center__3P93B","mobile":"SourceBlock-module_mobile__2gw4S","desktop":"SourceBlock-module_desktop__DecT6"};
1522
+ var styles$r = {"root":"SourceBlock-module_root__1P3XD","text":"SourceBlock-module_text__Si4vm","origin":"SourceBlock-module_origin__l3JbO","center":"SourceBlock-module_center__3P93B","mobile":"SourceBlock-module_mobile__2gw4S","desktop":"SourceBlock-module_desktop__DecT6"};
1497
1523
 
1498
1524
  var SourceBlock = function SourceBlock(_ref) {
1499
1525
  var _ref$block = _ref.block,
@@ -1503,10 +1529,10 @@ var SourceBlock = function SourceBlock(_ref) {
1503
1529
  origin = _ref$block$data.origin,
1504
1530
  url = _ref$block$data.url,
1505
1531
  styleContext = _ref.styleContext;
1506
- var classNames = [[styles$q.root, true], [styles$q[onlyOn], true]];
1532
+ var classNames = [[styles$r.root, true], [styles$r[onlyOn], true]];
1507
1533
 
1508
1534
  if (styleContext) {
1509
- classNames = makeStyleContext(classNames, styleContext, styles$q);
1535
+ classNames = makeStyleContext(classNames, styleContext, styles$r);
1510
1536
  }
1511
1537
 
1512
1538
  return React.createElement("blockquote", {
@@ -1514,7 +1540,7 @@ var SourceBlock = function SourceBlock(_ref) {
1514
1540
  cite: url,
1515
1541
  className: makeClassName(classNames)
1516
1542
  }, React.createElement("a", {
1517
- className: styles$q.text,
1543
+ className: styles$r.text,
1518
1544
  href: url,
1519
1545
  target: "_blank",
1520
1546
  rel: "noopener noreferrer"
@@ -1526,11 +1552,11 @@ var SourceBlock = function SourceBlock(_ref) {
1526
1552
  }
1527
1553
  });
1528
1554
  }), React.createElement("footer", null, React.createElement("cite", {
1529
- className: styles$q.origin
1555
+ className: styles$r.origin
1530
1556
  }, origin))));
1531
1557
  };
1532
1558
 
1533
- var styles$r = {"root":"GroupedBlock-module_root__2qfQA","hasFigcaption":"GroupedBlock-module_hasFigcaption__2_mcf","item":"GroupedBlock-module_item__3sz9_","items":"GroupedBlock-module_items__2DV2X","figcaption":"GroupedBlock-module_figcaption__2Q_wf","default":"GroupedBlock-module_default__3ylw_","full":"GroupedBlock-module_full__1dzQR","super_full":"GroupedBlock-module_super_full__1PU72","mobile":"GroupedBlock-module_mobile__3n8Ub","desktop":"GroupedBlock-module_desktop__6ZRpA"};
1559
+ var styles$s = {"root":"GroupedBlock-module_root__2qfQA","hasFigcaption":"GroupedBlock-module_hasFigcaption__2_mcf","item":"GroupedBlock-module_item__3sz9_","items":"GroupedBlock-module_items__2DV2X","figcaption":"GroupedBlock-module_figcaption__2Q_wf","default":"GroupedBlock-module_default__3ylw_","full":"GroupedBlock-module_full__1dzQR","super_full":"GroupedBlock-module_super_full__1PU72","mobile":"GroupedBlock-module_mobile__3n8Ub","desktop":"GroupedBlock-module_desktop__6ZRpA"};
1534
1560
 
1535
1561
  var GroupedBlock = function GroupedBlock(_ref) {
1536
1562
  var block = _ref.block,
@@ -1545,21 +1571,21 @@ var GroupedBlock = function GroupedBlock(_ref) {
1545
1571
  var sumWidth = normalizedBoxesWidth.reduce(function (sum, x) {
1546
1572
  return sum + x;
1547
1573
  });
1548
- var classNames = [[styles$r.root, true], [styles$r[onlyOn], true], [styles$r.hasFigcaption, block.cc === 'default'], [styles$r[block.display], !!block.display && styles$r[block.display]]];
1574
+ var classNames = [[styles$s.root, true], [styles$s[onlyOn], true], [styles$s.hasFigcaption, block.cc === 'default'], [styles$s[block.display], !!block.display && styles$s[block.display]]];
1549
1575
 
1550
1576
  if (styleContext) {
1551
- classNames = makeStyleContext(classNames, styleContext, styles$r);
1577
+ classNames = makeStyleContext(classNames, styleContext, styles$s);
1552
1578
  }
1553
1579
 
1554
1580
  return React.createElement("div", {
1555
1581
  "data-testid": "grouped-block",
1556
1582
  className: makeClassName(classNames)
1557
1583
  }, React.createElement("div", {
1558
- className: styles$r.items
1584
+ className: styles$s.items
1559
1585
  }, block.data.map(function (item, index) {
1560
1586
  var percentWidth = normalizedBoxesWidth[index] / sumWidth * 100;
1561
1587
  return React.createElement("div", {
1562
- className: styles$r.item,
1588
+ className: styles$s.item,
1563
1589
  key: item.id,
1564
1590
  style: {
1565
1591
  width: percentWidth + "%"
@@ -1569,7 +1595,7 @@ var GroupedBlock = function GroupedBlock(_ref) {
1569
1595
  styleContext: "isInGroupedBlock"
1570
1596
  }));
1571
1597
  })), block.cc && React.createElement("figcaption", {
1572
- className: styles$r.figcaption
1598
+ className: styles$s.figcaption
1573
1599
  }, React.createElement(MediaCaption, {
1574
1600
  credit: block.credit,
1575
1601
  caption: block.caption,
@@ -1577,32 +1603,32 @@ var GroupedBlock = function GroupedBlock(_ref) {
1577
1603
  })));
1578
1604
  };
1579
1605
 
1580
- var styles$s = {"root":"MetaItem-module_root__2VQom","hasBullets":"MetaItem-module_hasBullets__CkQPI","hasSource":"MetaItem-module_hasSource__1DmCI","listened":"MetaItem-module_listened__lwvAO","read":"MetaItem-module_read__5eAIG","datetime":"MetaItem-module_datetime__3tOWm"};
1606
+ var styles$t = {"root":"MetaItem-module_root__2VQom","hasBullets":"MetaItem-module_hasBullets__CkQPI","hasSource":"MetaItem-module_hasSource__1DmCI","listened":"MetaItem-module_listened__lwvAO","read":"MetaItem-module_read__5eAIG","datetime":"MetaItem-module_datetime__3tOWm"};
1581
1607
 
1582
1608
  var MetaItem = function MetaItem(_ref) {
1583
1609
  var hasSource = _ref.hasSource,
1584
1610
  type = _ref.type,
1585
1611
  children = _ref.children,
1586
1612
  bullets = _ref.bullets;
1587
- var classNames = [[styles$s.root, true], [styles$s[type], !!type && !!styles$s[type]], [styles$s.hasSource, !!hasSource], [styles$s.hasBullets, !!bullets]];
1613
+ var classNames = [[styles$t.root, true], [styles$t[type], !!type && !!styles$t[type]], [styles$t.hasSource, !!hasSource], [styles$t.hasBullets, !!bullets]];
1588
1614
  return React.createElement("div", {
1589
1615
  "data-testid": "meta-item",
1590
1616
  className: makeClassName(classNames)
1591
1617
  }, children);
1592
1618
  };
1593
1619
 
1594
- var styles$t = {"root":"MetaItemLive-module_root__2mpD3","gold":"MetaItemLive-module_gold__3yZEV","frame":"MetaItemLive-module_frame__1H_Ha","liveMiddle":"MetaItemLive-module_liveMiddle__wyuV3","liveFirstWave":"MetaItemLive-module_liveFirstWave__3dbvz","liveSecondWave":"MetaItemLive-module_liveSecondWave__12g57"};
1620
+ var styles$u = {"root":"MetaItemLive-module_root__2mpD3","gold":"MetaItemLive-module_gold__3yZEV","frame":"MetaItemLive-module_frame__1H_Ha","liveMiddle":"MetaItemLive-module_liveMiddle__wyuV3","liveFirstWave":"MetaItemLive-module_liveFirstWave__3dbvz","liveSecondWave":"MetaItemLive-module_liveSecondWave__12g57"};
1595
1621
 
1596
1622
  var MetaItemLive = function MetaItemLive(_ref) {
1597
1623
  var _ref$theme = _ref.theme,
1598
1624
  theme = _ref$theme === void 0 ? 'gold' : _ref$theme;
1599
- var classNames = [[styles$t.root, true], [styles$t[theme], !!theme && styles$t[theme]]];
1625
+ var classNames = [[styles$u.root, true], [styles$u[theme], !!theme && styles$u[theme]]];
1600
1626
  return React.createElement("div", {
1601
1627
  "data-testid": "meta-item-live",
1602
1628
  "data-meta": "live",
1603
1629
  className: makeClassName(classNames)
1604
1630
  }, React.createElement("div", {
1605
- className: styles$t.frame
1631
+ className: styles$u.frame
1606
1632
  }));
1607
1633
  };
1608
1634
 
@@ -1627,7 +1653,7 @@ var pluralize = function pluralize(number, one, two, five) {
1627
1653
  return five;
1628
1654
  };
1629
1655
 
1630
- var styles$u = {"root":"DocumentItemsCount-module_root__P3q-z","items":"DocumentItemsCount-module_items__3pfxW"};
1656
+ var styles$v = {"root":"DocumentItemsCount-module_root__P3q-z","items":"DocumentItemsCount-module_items__3pfxW"};
1631
1657
 
1632
1658
  var DocumentItemsCount = function DocumentItemsCount(_ref) {
1633
1659
  var type = _ref.type,
@@ -1664,9 +1690,9 @@ var DocumentItemsCount = function DocumentItemsCount(_ref) {
1664
1690
  var itemsCount = items + " " + pluralize(items, i18n[lang][type].one, i18n[lang][type].two, i18n[lang][type].five);
1665
1691
  return React.createElement("div", {
1666
1692
  "data-testid": "document-items-count",
1667
- className: styles$u.root
1693
+ className: styles$v.root
1668
1694
  }, children, React.createElement("span", {
1669
- className: styles$u.items
1695
+ className: styles$v.items
1670
1696
  }, itemsCount));
1671
1697
  };
1672
1698
 
@@ -1780,7 +1806,7 @@ var MetaContainer = function MetaContainer(_ref) {
1780
1806
  icon: isListened ? 'listened' : 'read',
1781
1807
  size: "unset"
1782
1808
  })), isSlides && lang === 'ru' && React.createElement("div", {
1783
- className: styles$f.bookmark
1809
+ className: styles$g.bookmark
1784
1810
  }, React.createElement(BookmarkButton, {
1785
1811
  isInBookmarks: isInBookmarks,
1786
1812
  onClick: function onClick() {
@@ -1936,7 +1962,7 @@ var RenderBlocks = function RenderBlocks(_ref) {
1936
1962
  }
1937
1963
  };
1938
1964
 
1939
- var styles$v = {"root":"Cover-module_root__18Z8J","body":"Cover-module_body__1xs8e","image":"Cover-module_image__2f3Qc","rich":"Cover-module_rich__1fAGA","dark":"Cover-module_dark__2Ac-w","light":"Cover-module_light__FUp5X","control":"Cover-module_control__VXbhi","isInDynamicBlock":"Cover-module_isInDynamicBlock__3eghb","mobile":"Cover-module_mobile__5DKa1","desktop":"Cover-module_desktop__2mrOc"};
1965
+ var styles$w = {"root":"Cover-module_root__18Z8J","body":"Cover-module_body__1xs8e","image":"Cover-module_image__2f3Qc","rich":"Cover-module_rich__1fAGA","dark":"Cover-module_dark__2Ac-w","light":"Cover-module_light__FUp5X","control":"Cover-module_control__VXbhi","isInDynamicBlock":"Cover-module_isInDynamicBlock__3eghb","mobile":"Cover-module_mobile__5DKa1","desktop":"Cover-module_desktop__2mrOc"};
1940
1966
 
1941
1967
  var Cover = function Cover(_ref) {
1942
1968
  var _ref$block = _ref.block,
@@ -1957,15 +1983,15 @@ var Cover = function Cover(_ref) {
1957
1983
  setIsPopoverShown = _useState[1];
1958
1984
 
1959
1985
  var style = {};
1960
- var classNames = [[styles$v.root, true], [styles$v[onlyOn], !!onlyOn && !!styles$v[onlyOn]]];
1986
+ var classNames = [[styles$w.root, true], [styles$w[onlyOn], !!onlyOn && !!styles$w[onlyOn]]];
1961
1987
 
1962
1988
  if (styleContext) {
1963
- classNames = makeStyleContext(classNames, styleContext, styles$v);
1989
+ classNames = makeStyleContext(classNames, styleContext, styles$w);
1964
1990
  }
1965
1991
 
1966
1992
  if (gradients) {
1967
1993
  var theme = [gradients.text_rgb === '0,0,0' ? 'dark' : 'light'];
1968
- classNames = makeStyleContext(classNames, theme, styles$v);
1994
+ classNames = makeStyleContext(classNames, theme, styles$w);
1969
1995
  style.backgroundImage = generateGradient(gradients.bg_rgb);
1970
1996
  }
1971
1997
 
@@ -1981,13 +2007,13 @@ var Cover = function Cover(_ref) {
1981
2007
  "data-testid": "cover",
1982
2008
  className: makeClassName(classNames)
1983
2009
  }, React.createElement("div", {
1984
- className: styles$v.image
2010
+ className: styles$w.image
1985
2011
  }, React.createElement(Image, {
1986
2012
  optimized: urls,
1987
2013
  ratio: mobileRatio,
1988
2014
  display: "narrow"
1989
2015
  })), React.createElement("div", {
1990
- className: styles$v.body,
2016
+ className: styles$w.body,
1991
2017
  style: style
1992
2018
  }, blocks.map(function (item) {
1993
2019
  return React.createElement(RenderBlocks, {
@@ -1996,7 +2022,7 @@ var Cover = function Cover(_ref) {
1996
2022
  styleContext: styleContext
1997
2023
  });
1998
2024
  })), cc === 'button' && React.createElement("button", {
1999
- className: styles$v.control,
2025
+ className: styles$w.control,
2000
2026
  type: "button",
2001
2027
  "aria-label": "Open",
2002
2028
  onClick: function onClick() {
@@ -2009,7 +2035,7 @@ var Cover = function Cover(_ref) {
2009
2035
  }, renderCC('isInPopover')));
2010
2036
  };
2011
2037
 
2012
- var styles$w = {"root":"HalfBlock-module_root__2frv2","main":"HalfBlock-module_main__2XX73","body":"HalfBlock-module_body__3MnEN","footer":"HalfBlock-module_footer__1C0yp","image":"HalfBlock-module_image__2lYel","mobile":"HalfBlock-module_mobile__2latf","desktop":"HalfBlock-module_desktop__3B1Ej"};
2038
+ var styles$x = {"root":"HalfBlock-module_root__2frv2","main":"HalfBlock-module_main__2XX73","body":"HalfBlock-module_body__3MnEN","footer":"HalfBlock-module_footer__1C0yp","image":"HalfBlock-module_image__2lYel","mobile":"HalfBlock-module_mobile__2latf","desktop":"HalfBlock-module_desktop__3B1Ej"};
2013
2039
 
2014
2040
  var HalfBlock = function HalfBlock(_ref) {
2015
2041
  var _ref$block = _ref.block,
@@ -2021,25 +2047,25 @@ var HalfBlock = function HalfBlock(_ref) {
2021
2047
  credit = _ref$block$data$cover.credit,
2022
2048
  caption = _ref$block$data$cover.caption,
2023
2049
  styleContext = _ref.styleContext;
2024
- var classNames = [[styles$w.root, true], [styles$w[onlyOn], true]];
2050
+ var classNames = [[styles$x.root, true], [styles$x[onlyOn], true]];
2025
2051
 
2026
2052
  if (styleContext) {
2027
- classNames = makeStyleContext(classNames, styleContext, styles$w);
2053
+ classNames = makeStyleContext(classNames, styleContext, styles$x);
2028
2054
  }
2029
2055
 
2030
2056
  return React.createElement("div", {
2031
2057
  "data-testid": "half-block",
2032
2058
  className: makeClassName(classNames)
2033
2059
  }, React.createElement("div", {
2034
- className: styles$w.main
2060
+ className: styles$x.main
2035
2061
  }, React.createElement("div", {
2036
- className: styles$w.image
2062
+ className: styles$x.image
2037
2063
  }, React.createElement(Image, {
2038
2064
  optimized: optimized,
2039
2065
  ratio: ratio,
2040
2066
  display: "super_full"
2041
2067
  })), React.createElement("div", {
2042
- className: styles$w.body
2068
+ className: styles$x.body
2043
2069
  }, data.blocks.map(function (item) {
2044
2070
  return React.createElement(RenderBlocks, {
2045
2071
  key: item.id,
@@ -2047,7 +2073,7 @@ var HalfBlock = function HalfBlock(_ref) {
2047
2073
  styleContext: ['rich']
2048
2074
  });
2049
2075
  }))), React.createElement("div", {
2050
- className: styles$w.footer
2076
+ className: styles$x.footer
2051
2077
  }, React.createElement(MediaCaption, {
2052
2078
  credit: credit,
2053
2079
  caption: caption,
@@ -2055,17 +2081,17 @@ var HalfBlock = function HalfBlock(_ref) {
2055
2081
  })));
2056
2082
  };
2057
2083
 
2058
- var styles$x = {"root":"ImportantLead-module_root__2BdT3","slide":"ImportantLead-module_slide__3kQ9x","mobile":"ImportantLead-module_mobile__3BXbm","desktop":"ImportantLead-module_desktop__3Zljc"};
2084
+ var styles$y = {"root":"ImportantLead-module_root__2BdT3","slide":"ImportantLead-module_slide__3kQ9x","mobile":"ImportantLead-module_mobile__3BXbm","desktop":"ImportantLead-module_desktop__3Zljc"};
2059
2085
 
2060
2086
  var ImportantLead = function ImportantLead(_ref) {
2061
2087
  var _ref$block = _ref.block,
2062
2088
  onlyOn = _ref$block.only_on,
2063
2089
  data = _ref$block.data,
2064
2090
  styleContext = _ref.styleContext;
2065
- var classNames = [[styles$x.root, true], [styles$x[onlyOn], !!onlyOn]];
2091
+ var classNames = [[styles$y.root, true], [styles$y[onlyOn], !!onlyOn]];
2066
2092
 
2067
2093
  if (styleContext) {
2068
- classNames = makeStyleContext(classNames, styleContext, styles$x);
2094
+ classNames = makeStyleContext(classNames, styleContext, styles$y);
2069
2095
  }
2070
2096
 
2071
2097
  return React.createElement("div", {
@@ -2080,7 +2106,7 @@ var ImportantLead = function ImportantLead(_ref) {
2080
2106
  }));
2081
2107
  };
2082
2108
 
2083
- var styles$y = {"root":"Spoiler-module_root__1OfSR","header":"Spoiler-module_header__1rZUs","body":"Spoiler-module_body__Q1e_c","spoiled":"Spoiler-module_spoiled__1A5r4","footer":"Spoiler-module_footer__23mh7","spoilerSticky":"Spoiler-module_spoilerSticky__3Kd30","center":"Spoiler-module_center__tq1m0","full":"Spoiler-module_full__1QFqR","default":"Spoiler-module_default__2Kjx8","mobile":"Spoiler-module_mobile__2BPt8","desktop":"Spoiler-module_desktop__1BIFJ"};
2109
+ var styles$z = {"root":"Spoiler-module_root__1OfSR","header":"Spoiler-module_header__1rZUs","body":"Spoiler-module_body__Q1e_c","spoiled":"Spoiler-module_spoiled__1A5r4","footer":"Spoiler-module_footer__23mh7","spoilerSticky":"Spoiler-module_spoilerSticky__3Kd30","center":"Spoiler-module_center__tq1m0","full":"Spoiler-module_full__1QFqR","default":"Spoiler-module_default__2Kjx8","mobile":"Spoiler-module_mobile__2BPt8","desktop":"Spoiler-module_desktop__1BIFJ"};
2084
2110
 
2085
2111
  var Spoiler = function Spoiler(_ref) {
2086
2112
  var _ref$block = _ref.block,
@@ -2115,10 +2141,10 @@ var Spoiler = function Spoiler(_ref) {
2115
2141
  }
2116
2142
  };
2117
2143
 
2118
- var classNames = [[styles$y.root, true], [styles$y[onlyOn], !!onlyOn], [styles$y[display], !!display && styles$y[display]], [[styles$y.spoiled], !!spoiled]];
2144
+ var classNames = [[styles$z.root, true], [styles$z[onlyOn], !!onlyOn], [styles$z[display], !!display && styles$z[display]], [[styles$z.spoiled], !!spoiled]];
2119
2145
 
2120
2146
  if (styleContext) {
2121
- classNames = makeStyleContext(classNames, styleContext, styles$y);
2147
+ classNames = makeStyleContext(classNames, styleContext, styles$z);
2122
2148
  }
2123
2149
 
2124
2150
  var buttonCollapse = button ? button.collapse : 'Свернуть';
@@ -2128,9 +2154,9 @@ var Spoiler = function Spoiler(_ref) {
2128
2154
  className: makeClassName(classNames),
2129
2155
  "data-testid": "spoiler"
2130
2156
  }, React.createElement("div", {
2131
- className: styles$y.header
2157
+ className: styles$z.header
2132
2158
  }, title && React.createElement("h3", null, title)), React.createElement("div", {
2133
- className: styles$y.body
2159
+ className: styles$z.body
2134
2160
  }, blocks.map(function (item) {
2135
2161
  return React.createElement(RenderBlocks, {
2136
2162
  key: item.id,
@@ -2138,7 +2164,7 @@ var Spoiler = function Spoiler(_ref) {
2138
2164
  styleContext: styleContext
2139
2165
  });
2140
2166
  })), React.createElement("div", {
2141
- className: styles$y.footer
2167
+ className: styles$z.footer
2142
2168
  }, React.createElement(Button, {
2143
2169
  size: "default",
2144
2170
  theme: "gray",
@@ -2214,7 +2240,7 @@ var RawHtmlBlock = function RawHtmlBlock(_ref) {
2214
2240
  }
2215
2241
  };
2216
2242
 
2217
- var styles$z = {"root":"ToolbarButton-module_root__xN-fq","dark":"ToolbarButton-module_dark__GrIOr","bookmark":"ToolbarButton-module_bookmark__3369b","isActive":"ToolbarButton-module_isActive__3NLAE","text":"ToolbarButton-module_text__32m6s"};
2243
+ var styles$A = {"root":"ToolbarButton-module_root__xN-fq","dark":"ToolbarButton-module_dark__GrIOr","bookmark":"ToolbarButton-module_bookmark__3369b","isActive":"ToolbarButton-module_isActive__3NLAE","text":"ToolbarButton-module_text__32m6s"};
2218
2244
 
2219
2245
  var ToolbarButton = function ToolbarButton(_ref) {
2220
2246
  var children = _ref.children,
@@ -2222,7 +2248,7 @@ var ToolbarButton = function ToolbarButton(_ref) {
2222
2248
  theme = _ref.theme,
2223
2249
  isActive = _ref.isActive,
2224
2250
  _onClick = _ref.onClick;
2225
- var classNames = [[styles$z.root, true], [styles$z[type], !!styles$z[type]], [styles$z[theme], !!styles$z[theme] && !!theme], [styles$z.isActive, !!isActive]];
2251
+ var classNames = [[styles$A.root, true], [styles$A[type], !!styles$A[type]], [styles$A[theme], !!styles$A[theme] && !!theme], [styles$A.isActive, !!isActive]];
2226
2252
  return React.createElement("button", {
2227
2253
  "data-testid": "toolbar-button",
2228
2254
  className: makeClassName(classNames),
@@ -2235,9 +2261,9 @@ var ToolbarButton = function ToolbarButton(_ref) {
2235
2261
  icon: type,
2236
2262
  styleContext: "isInToolbar"
2237
2263
  }), children && React.createElement("span", {
2238
- className: styles$z.text
2264
+ className: styles$A.text
2239
2265
  }, children));
2240
2266
  };
2241
2267
 
2242
- export { BookmarkButton, Button, CardTitle, ChapterBlock, Cover, DocumentItemsCount, DotsOnImage, Dropdown, EmbedBlockContainer, GroupedBlock, HalfBlock, Image, ImportantLead, Lazy, ListBlock, MaterialNote, MaterialTitle, MediaCaption, Menu, Meta, MetaItem, MetaItemLive, Popover, Primary, QuoteBlock, RawHtmlBlock, RelatedBlock, RenderBlocks, RichTitle, Secondary, SimpleBlock, SimpleTitle, SourceBlock, Spoiler, SvgSymbol, Switcher, Table, Tag, Timestamp, Toolbar, ToolbarButton };
2268
+ export { BookmarkButton, Button, CardTitle, ChapterBlock, Cover, DocumentItemsCount, DotsOnImage, Dropdown, EmbedBlockContainer, Footnote, GroupedBlock, HalfBlock, Image, ImportantLead, Lazy, ListBlock, MaterialNote, MaterialTitle, MediaCaption, Menu, Meta, MetaItem, MetaItemLive, Popover, Primary, QuoteBlock, RawHtmlBlock, RelatedBlock, RenderBlocks, RichTitle, Secondary, SimpleBlock, SimpleTitle, SourceBlock, Spoiler, SvgSymbol, Switcher, Table, Tag, Timestamp, Toolbar, ToolbarButton };
2243
2269
  //# sourceMappingURL=ui-kit-2.esm.js.map