@megafon/ui-shared 9.3.0 → 9.4.0

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.
@@ -9,7 +9,12 @@ export declare const BackgroundColors: {
9
9
  readonly GREEN: "green";
10
10
  readonly PURPLE: "purple";
11
11
  };
12
+ export declare const PaddingSize: {
13
+ readonly DEFAULT: "default";
14
+ readonly MEDIUM: "medium";
15
+ };
12
16
  type BackgroundColorType = (typeof BackgroundColors)[keyof typeof BackgroundColors];
17
+ type PaddingSizeType = (typeof PaddingSize)[keyof typeof PaddingSize];
13
18
  type Props = {
14
19
  /** Атрибут корневого тега */
15
20
  id?: string;
@@ -22,6 +27,11 @@ type Props = {
22
27
  root?: string;
23
28
  inner?: string;
24
29
  };
30
+ /** Дополнительные data атрибуты к внутренним элементам */
31
+ dataAttrs?: {
32
+ root?: Record<string, string>;
33
+ inner?: Record<string, string>;
34
+ };
25
35
  /** Цвет фона */
26
36
  backgroundColor?: BackgroundColorType;
27
37
  /** Отключить отступ сверху */
@@ -38,6 +48,9 @@ type Props = {
38
48
  bottomShadow?: boolean;
39
49
  /** Предотвратить прохождение верхнего отступа дочернего компонента через верхнюю границу контейнера */
40
50
  preventMarginTopCollapse?: boolean;
51
+ paddingTopSize?: PaddingSizeType;
52
+ paddingBottomSize?: PaddingSizeType;
53
+ enableMobileRadius?: boolean;
41
54
  /** Дочерние элементы */
42
55
  children?: React.ReactNode;
43
56
  };
@@ -4,11 +4,13 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports["default"] = exports.BackgroundColors = void 0;
7
+ exports["default"] = exports.PaddingSize = exports.BackgroundColors = void 0;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
8
9
  var React = _interopRequireWildcard(require("react"));
9
10
  var _uiCore = require("@megafon/ui-core");
10
11
  var _uiHelpers = require("@megafon/ui-helpers");
11
12
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
14
  var BackgroundColors = exports.BackgroundColors = {
13
15
  DEFAULT: 'default',
14
16
  LIGHT_GRAY: 'light-gray',
@@ -16,6 +18,10 @@ var BackgroundColors = exports.BackgroundColors = {
16
18
  GREEN: 'green',
17
19
  PURPLE: 'purple'
18
20
  };
21
+ var PaddingSize = exports.PaddingSize = {
22
+ DEFAULT: 'default',
23
+ MEDIUM: 'medium'
24
+ };
19
25
  var cn = (0, _uiHelpers.cnCreate)('mfui-9-container');
20
26
  var Container = function Container(_ref) {
21
27
  var _ref$backgroundColor = _ref.backgroundColor,
@@ -24,6 +30,7 @@ var Container = function Container(_ref) {
24
30
  id = _ref.id,
25
31
  className = _ref.className,
26
32
  classes = _ref.classes,
33
+ dataAttrs = _ref.dataAttrs,
27
34
  children = _ref.children,
28
35
  disablePaddingTop = _ref.disablePaddingTop,
29
36
  disablePaddingBottom = _ref.disablePaddingBottom,
@@ -33,8 +40,13 @@ var Container = function Container(_ref) {
33
40
  _ref$bottomShadow = _ref.bottomShadow,
34
41
  bottomShadow = _ref$bottomShadow === void 0 ? false : _ref$bottomShadow,
35
42
  _ref$preventMarginTop = _ref.preventMarginTopCollapse,
36
- preventMarginTopCollapse = _ref$preventMarginTop === void 0 ? false : _ref$preventMarginTop;
37
- return /*#__PURE__*/React.createElement("div", {
43
+ preventMarginTopCollapse = _ref$preventMarginTop === void 0 ? false : _ref$preventMarginTop,
44
+ _ref$paddingTopSize = _ref.paddingTopSize,
45
+ paddingTopSize = _ref$paddingTopSize === void 0 ? 'default' : _ref$paddingTopSize,
46
+ _ref$paddingBottomSiz = _ref.paddingBottomSize,
47
+ paddingBottomSize = _ref$paddingBottomSiz === void 0 ? 'default' : _ref$paddingBottomSiz,
48
+ enableMobileRadius = _ref.enableMobileRadius;
49
+ return /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
38
50
  className: cn({
39
51
  'bg-color': backgroundColor,
40
52
  'bottom-shadow': bottomShadow,
@@ -45,11 +57,14 @@ var Container = function Container(_ref) {
45
57
  }, [className, classes === null || classes === void 0 ? void 0 : classes.root]),
46
58
  ref: rootRef,
47
59
  id: id
48
- }, /*#__PURE__*/React.createElement("div", {
60
+ }), /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.inner), {
49
61
  className: cn('inner', {
50
- prevent: preventMarginTopCollapse
62
+ prevent: preventMarginTopCollapse,
63
+ 'padding-top-size': paddingTopSize,
64
+ 'padding-bottom-size': paddingBottomSize,
65
+ 'enable-mobile-radius': enableMobileRadius
51
66
  }, [className, classes === null || classes === void 0 ? void 0 : classes.inner])
52
- }, /*#__PURE__*/React.createElement(_uiCore.ContentArea, {
67
+ }), /*#__PURE__*/React.createElement(_uiCore.ContentArea, {
53
68
  disableIndents: disableHorizontalIndents
54
69
  }, children)));
55
70
  };
@@ -1 +1 @@
1
- h1,h2,h3,h4,h5{margin:0}.mfui-9-image-banner{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}@media screen and (min-width:1024px){.mfui-9-image-banner{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:420px}}.mfui-9-image-banner__picture{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media screen and (min-width:1024px){.mfui-9-image-banner__picture{height:100%;max-width:672px;width:50%}}.mfui-9-image-banner__picture_v-align_top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-image-banner__picture_v-align_center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfui-9-image-banner__picture_v-align_bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.mfui-9-image-banner__image{display:block;max-height:150px;max-width:100%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-image-banner__image{max-height:230px}}@media screen and (min-width:1024px){.mfui-9-image-banner__image{max-height:100%;-o-object-fit:contain;object-fit:contain}}.mfui-9-image-banner__content{z-index:1;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:1023px){.mfui-9-image-banner__content{padding:24px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-image-banner__content{text-align:center}}@media screen and (min-width:1024px){.mfui-9-image-banner__content{padding:0 80px;width:50%}}.mfui-9-image-banner__description{margin-top:16px;white-space:pre-wrap}.mfui-9-image-banner__cost{font-size:15px;font-weight:500;line-height:24px;margin-top:16px}.mfui-9-image-banner__value{display:inline;margin:0 4px}@media screen and (max-width:1023px),screen and (min-width:1024px) and (max-width:1279px){.mfui-9-image-banner__value{line-height:21px}}.mfui-9-image-banner__text,.mfui-9-image-banner__title{white-space:pre-wrap}.mfui-9-image-banner__children{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:16px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:32px}@media screen and (max-width:767px){.mfui-9-image-banner__children{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (min-width:768px){.mfui-9-image-banner__children{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}@media screen and (min-width:1024px){.mfui-9-image-banner__children{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width:1023px){.mfui-9-image-banner__badges-container{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px}}.mfui-9-image-banner__badges{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;margin-bottom:16px}.mfui-9-image-banner__ad-block{margin:0 0 16px auto}@media screen and (min-width:1024px){.mfui-9-image-banner__ad-block{position:absolute;right:24px;top:24px}}.mfui-9-image-banner_margin-top{margin-top:24px}.mfui-9-image-banner_radius_rounded{border-radius:24px}@media screen and (max-width:1023px){.mfui-9-image-banner_full-height-on-mobile{height:100%}}@media screen and (min-width:1024px){.mfui-9-image-banner_auto-height .mfui-9-image-banner__content{padding:48px 80px}.mfui-9-image-banner_auto-height{height:auto}.mfui-9-image-banner_has-image .mfui-9-image-banner__content{padding-right:0}.mfui-9-image-banner_full-width .mfui-9-image-banner__image{bottom:0;display:block;max-width:unset;position:absolute;right:0}.mfui-9-image-banner_full-width.mfui-9-image-banner_auto-height .mfui-9-image-banner__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}}.mfui-9-image-banner_background-color_green{background-color:var(--brandGreen)}.mfui-9-image-banner_background-color_purple{background-color:var(--brandPurple)}.mfui-9-image-banner_background-color_gradient{background:-webkit-gradient(linear,right top,left top,from(#ada6ba),to(#f6f2f9));background:linear-gradient(270deg,#ada6ba,#f6f2f9)}.mfui-9-image-banner_background-color_light{background-color:#f6f2f9}.mfui-9-image-banner_background-color_spbSky0{background-color:var(--spbSky0)}.mfui-9-image-banner_text-color_light .mfui-9-image-banner__content{color:var(--stcWhite)}.mfui-9-image-banner_text-color_dark .mfui-9-image-banner__content{color:var(--stcBlack)}
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-9-image-banner{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}@media screen and (min-width:1024px){.mfui-9-image-banner{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:420px}}.mfui-9-image-banner__picture{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media screen and (min-width:1024px){.mfui-9-image-banner__picture{height:100%;max-width:672px;width:50%}}.mfui-9-image-banner__picture_v-align_top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-image-banner__picture_v-align_center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfui-9-image-banner__picture_v-align_bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.mfui-9-image-banner__image{display:block;max-height:150px;max-width:100%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-image-banner__image{max-height:230px}}@media screen and (min-width:1024px){.mfui-9-image-banner__image{max-height:100%;-o-object-fit:contain;object-fit:contain}}.mfui-9-image-banner__content{z-index:1;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:1023px){.mfui-9-image-banner__content{padding:24px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-image-banner__content{text-align:center}}@media screen and (min-width:1024px){.mfui-9-image-banner__content{padding:0 80px;width:50%}}.mfui-9-image-banner__description{white-space:pre-wrap}.mfui-9-image-banner__cost,.mfui-9-image-banner__description{font-size:15px;font-weight:500;line-height:24px;margin-top:16px}.mfui-9-image-banner__value{display:inline;margin:0 4px}@media screen and (max-width:1023px),screen and (min-width:1024px) and (max-width:1279px){.mfui-9-image-banner__value{line-height:21px}}.mfui-9-image-banner__text,.mfui-9-image-banner__title{white-space:pre-wrap}.mfui-9-image-banner__children{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:16px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:32px}@media screen and (max-width:767px){.mfui-9-image-banner__children{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (min-width:768px){.mfui-9-image-banner__children{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}@media screen and (min-width:1024px){.mfui-9-image-banner__children{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width:1023px){.mfui-9-image-banner__badges-container{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px}}.mfui-9-image-banner__badges{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;margin-bottom:16px}.mfui-9-image-banner__ad-block{margin:0 0 16px auto}@media screen and (min-width:1024px){.mfui-9-image-banner__ad-block{position:absolute;right:24px;top:24px}}.mfui-9-image-banner_margin-top{margin-top:24px}.mfui-9-image-banner_radius_rounded{border-radius:24px}@media screen and (max-width:1023px){.mfui-9-image-banner_full-height-on-mobile{height:100%}}@media screen and (min-width:1024px){.mfui-9-image-banner_auto-height .mfui-9-image-banner__content{padding:48px 80px}.mfui-9-image-banner_auto-height{height:auto}.mfui-9-image-banner_has-image .mfui-9-image-banner__content{padding-right:0}.mfui-9-image-banner_full-width .mfui-9-image-banner__image{bottom:0;display:block;max-width:unset;position:absolute;right:0}.mfui-9-image-banner_full-width.mfui-9-image-banner_auto-height .mfui-9-image-banner__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}}.mfui-9-image-banner_background-color_green{background-color:var(--brandGreen)}.mfui-9-image-banner_background-color_purple{background-color:var(--brandPurple)}.mfui-9-image-banner_background-color_gradient{background:-webkit-gradient(linear,right top,left top,from(#ada6ba),to(#f6f2f9));background:linear-gradient(270deg,#ada6ba,#f6f2f9)}.mfui-9-image-banner_background-color_light{background-color:#f6f2f9}.mfui-9-image-banner_background-color_spbSky0{background-color:var(--spbSky0)}.mfui-9-image-banner_text-color_light .mfui-9-image-banner__content{color:var(--stcWhite)}.mfui-9-image-banner_text-color_dark .mfui-9-image-banner__content{color:var(--stcBlack)}
@@ -133,10 +133,8 @@ var ImageBanner = function ImageBanner(_ref2) {
133
133
  color: "inherit",
134
134
  as: isMobile ? headerLevelMobile : headerLevel,
135
135
  tag: headerTag
136
- }, typeof title === 'string' ? (0, _uiHelpers.convert)(title, _uiHelpers.titleConvertConfig) : title), !!description && /*#__PURE__*/React.createElement(_uiCore.Header, {
137
- className: cn('description', [classes.description]),
138
- as: "h5",
139
- color: "inherit"
136
+ }, typeof title === 'string' ? (0, _uiHelpers.convert)(title, _uiHelpers.titleConvertConfig) : title), !!description && /*#__PURE__*/React.createElement("div", {
137
+ className: cn('description', [classes.description])
140
138
  }, typeof description === 'string' ? (0, _uiHelpers.convert)(description, _uiHelpers.titleConvertConfig) : description), !!cost && /*#__PURE__*/React.createElement("div", {
141
139
  className: cn('cost', [classes.cost])
142
140
  }, (0, _uiHelpers.convert)(cost, typographyConfig)), !!children && !!React.Children.count(children) && /*#__PURE__*/React.createElement("div", {
@@ -1 +1 @@
1
- h1,h2,h3,h4,h5{margin:0}.mfui-9-instructions__title_resolution_mobile{margin-bottom:32px;text-align:center}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__title_resolution_mobile{margin-bottom:40px}}@media screen and (min-width:1024px){.mfui-9-instructions__title_resolution_mobile{display:none}}.mfui-9-instructions__title_resolution_desktop{margin-bottom:40px}@media screen and (max-width:1023px){.mfui-9-instructions__title_resolution_desktop{display:none}}.mfui-9-instructions .swiper-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}@media screen and (min-width:1024px){.mfui-9-instructions__wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mfui-9-instructions__wrapper_vertical-align_top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-instructions__wrapper_vertical-align_unset{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}}.mfui-9-instructions .mfui-9-instructions__text{margin-top:32px}@media screen and (max-width:1023px){.mfui-9-instructions .mfui-9-instructions__text{margin-top:40px;text-align:center}}.mfui-9-instructions .mfui-9-instructions__button{display:block;margin-top:32px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}@media screen and (max-width:1023px){.mfui-9-instructions .mfui-9-instructions__button{margin-left:auto;margin-right:auto}}@media screen and (min-width:768px){.mfui-9-instructions .mfui-9-instructions__button{margin-top:40px}}.mfui-9-instructions__picture{max-height:490px;max-width:530px;overflow:hidden;position:relative}@media screen and (max-width:1023px){.mfui-9-instructions__picture{margin:0 auto}}@media screen and (min-width:1024px){.mfui-9-instructions__picture{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;width:50%}.mfui-9-instructions__picture_align_left{-webkit-box-ordinal-group:1;-ms-flex-order:0;margin-right:40px;order:0}}.mfui-9-instructions_mask_none .mfui-9-instructions__slide{display:-webkit-box;display:-ms-flexbox;display:flex}.mfui-9-instructions_mask_none .mfui-9-instructions__swiper-img,.mfui-9-instructions_mask_none .mfui-9-instructions__swiper-img_video{border-radius:24px}.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .swiper-wrapper{height:100%}.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:529px;max-width:832px;width:100%}@media screen and (min-width:1280px) and (max-width:1439px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:410px;max-width:645px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:422px;max-width:663px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:427px;max-width:672px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{height:auto;max-height:none}}.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:529px}@media screen and (min-width:1280px) and (max-width:1439px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:410px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:422px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:427px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:auto}}.mfui-9-instructions__swiper-img{border-radius:0;height:100%;width:100%}.mfui-9-instructions__swiper-img_video{border-radius:0;-webkit-filter:brightness(108.5%);filter:brightness(108.5%)}.mfui-9-instructions__img-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;height:490px;position:relative}@media screen and (max-width:1023px){.mfui-9-instructions__img-wrapper:before{background:var(--spbSky2);bottom:0;content:"";display:block;height:1px;left:0;margin:0 auto;position:absolute;right:0;width:324px;z-index:2}}.mfui-9-instructions__device-screen{overflow:hidden;pointer-events:none}.mfui-9-instructions_mask_android .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone .mfui-9-instructions__img-wrapper{height:487px}@media screen and (max-width:1023px){.mfui-9-instructions_mask_android .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions_mask_iphone .mfui-9-instructions__img-wrapper:before{display:none}}.mfui-9-instructions_mask_android .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone .mfui-9-instructions__device-screen{background:50% no-repeat;background-size:contain;height:100%;margin:auto;position:relative;width:100%;z-index:2}.mfui-9-instructions_mask_android .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone .mfui-9-instructions__swiper{border-radius:20px;height:468px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:10px;width:217px;z-index:1}.mfui-9-instructions_mask_android .mfui-9-instructions__qr-code,.mfui-9-instructions_mask_iphone .mfui-9-instructions__qr-code{left:61.2%;top:16px}.mfui-9-instructions_mask_android .mfui-9-instructions__device-screen{background-image:url(img/android.png)}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:529px;max-width:530px;width:100%}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:513px;max-width:514px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:529px;max-width:530px}}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:529px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:513px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:529px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:427px}}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{height:100%}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:529px;top:0;width:240px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:513px;width:232px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:529px;width:240px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:426px;width:196px}}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__img-wrapper{height:420px;min-height:420px}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__img-wrapper:before{background:var(--spbSky2);bottom:0;content:"";display:block;height:1px;left:0;margin:0 auto;position:absolute;right:0;width:324px;z-index:2}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__device-screen{background:50% no-repeat;background-size:contain;height:490px;margin-top:20px;position:relative;width:100%;z-index:1}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__swiper{left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:28px;width:218px}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__qr-code,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__qr-code{left:61.2%;top:8px}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__device-screen{background-image:url(img/android.png)}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:659px;max-width:832px;width:100%}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:511px;max-width:645px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:532px;max-width:672px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:490px;max-width:530px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:659px;min-height:659px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:511px;min-height:511px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:532px;min-height:532px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:420px;min-height:420px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper:before{width:380px}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:384px 759px;height:759px;margin-top:31px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:298px 576px;height:576px;margin-top:25px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:310px 621px;height:621px;margin-top:25px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:241px 490px;height:490px;margin-top:20px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:45px;width:348px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:37px;width:276px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:38px;width:282px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:28px;width:218px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__qr-code,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__qr-code{left:66%}.mfui-9-instructions_mask_iphone .mfui-9-instructions__device-screen{background-image:url(img/iphone.png)}.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{border-radius:40px}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__device-screen{background-image:url(img/iphone.png)}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__swiper{border-radius:24px}@media screen and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper{background:url(img/laptop.png) 50% 0 no-repeat;background-size:100%;height:0;padding-bottom:58.9%}}.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper:before{display:none}.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{background:url(img/laptop.png) 50% 0 no-repeat;background-size:100%;height:100%;margin:auto;position:relative;width:100%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:530px}}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:450px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:270px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{background:url(img/laptop.png) 50% no-repeat;background-size:contain}}.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{left:50%;margin:auto;overflow:hidden;position:absolute;right:0;top:4px;-webkit-transform:translate(-49.5%);transform:translate(-49.5%);width:78%}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{max-width:415px;top:7px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{max-width:302px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{top:12px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{top:50%;-webkit-transform:translate(-49.5%,-55%);transform:translate(-49.5%,-55%)}}.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:487px;max-width:832px;width:100%}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-width:100%;min-width:514px;width:66%}}@media screen and (max-width:1023px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:393px;max-width:672px}}.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:487px}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:393px;padding-bottom:393px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:0}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__swiper{max-width:514px}}@media screen and (max-width:1023px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__swiper{max-width:672px}}.mfui-9-instructions__slide{-ms-flex-negative:0;flex-shrink:0;height:100%}@media screen and (max-width:767px){.mfui-9-instructions__articles{margin-top:24px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles{margin-top:32px}}@media screen and (min-width:1024px){.mfui-9-instructions__articles{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;width:50%}.mfui-9-instructions__articles_align_right{margin-right:40px}}.mfui-9-instructions__articles-list{list-style-type:none;margin:0;padding:0}@media screen and (min-width:1024px){.mfui-9-instructions__articles-list_mobile{display:none}}@media screen and (max-width:1023px){.mfui-9-instructions__articles-list_desktop{display:none}}.mfui-9-instructions__articles-item{min-height:40px;opacity:.5;position:relative}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item{margin-bottom:24px}}.mfui-9-instructions__articles-item:hover,.mfui-9-instructions__articles-item_active{opacity:1}.mfui-9-instructions__articles-item:hover .mfui-9-instructions__articles-item-dot,.mfui-9-instructions__articles-item_active .mfui-9-instructions__articles-item-dot{color:var(--stcWhite)}.mfui-9-instructions__articles-item:hover .mfui-9-instructions__articles-item-dot:before,.mfui-9-instructions__articles-item_active .mfui-9-instructions__articles-item-dot:before{background:var(--brandGreen);bottom:0;left:0;right:0;top:0}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item:last-child{margin-bottom:0}}.mfui-9-instructions__articles-item-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:none;padding:0;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:12px;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:40px;position:relative;text-align:start;width:100%}.mfui-9-instructions__articles-item-button:focus-visible{-webkit-animation:focus-outline-shrink .3s linear forwards;animation:focus-outline-shrink .3s linear forwards;outline-offset:2px}@-webkit-keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}@keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}.mfui-9-instructions__articles-item-button:focus{outline:none}.mfui-9-instructions__articles-item-button:disabled{color:inherit;cursor:auto}.mfui-9-instructions__articles-item-dot{border-radius:12px;-webkit-box-shadow:inset 0 0 0 1px var(--spbSky3);box-shadow:inset 0 0 0 1px var(--spbSky3);cursor:pointer;display:inline-block;font-size:15px;font-weight:500;height:40px;line-height:40px;position:absolute;text-align:center;width:40px}@media screen and (max-width:479px){.mfui-9-instructions__articles-item-dot{min-width:40px}}.mfui-9-instructions__articles-item-dot:before{border-radius:12px;bottom:50%;content:"";left:50%;position:absolute;right:50%;top:50%;-webkit-transition:all .3s ease;transition:all .3s ease}.mfui-9-instructions__articles-item-dot-number{position:relative}.mfui-9-instructions__articles-item-title{cursor:pointer;display:inline-block;font-size:15px;font-weight:400;line-height:24px}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item-title{padding:8px 0 0 56px}}.mfui-9-instructions__articles-dots{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;list-style-type:none;margin:0;padding:0}@media screen and (max-width:767px){.mfui-9-instructions__articles-dots{margin-top:16px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles-dots{margin-top:24px}}@media screen and (min-width:1024px){.mfui-9-instructions__articles-dots{display:none}}.mfui-9-instructions__articles-dots_text-after{margin-bottom:48px}.mfui-9-instructions__articles-dot{background:var(--spbSky2);border-radius:4px;cursor:pointer;display:inline-block;height:8px;margin-right:12px;position:relative;width:8px}.mfui-9-instructions__articles-dot:hover,.mfui-9-instructions__articles-dot_active{background:var(--brandGreen)}.mfui-9-instructions__articles-dot_active{width:20px}.mfui-9-instructions__articles-dot:last-child{margin-right:0}.mfui-9-instructions__articles-title-block{margin:0 auto;text-align:center}@media screen and (max-width:767px){.mfui-9-instructions__articles-title-block{width:55%}}@media screen and (max-width:479px){.mfui-9-instructions__articles-title-block{width:100%}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles-title-block{max-width:530px;width:100%}}.mfui-9-instructions__articles-title-block_with-numeration{text-align:left}.mfui-9-instructions__articles-title{font-weight:400;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-instructions__articles-num,.mfui-9-instructions__articles-title{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;line-height:24px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mfui-9-instructions__articles-num{font-weight:500;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brandGreen);border-radius:50%;color:var(--stcWhite);height:40px;margin-right:16px;width:40px}@media screen and (min-width:1024px){.mfui-9-instructions__articles-num{display:none}}.mfui-9-instructions__picture_background_base,.mfui-9-instructions__picture_background_spbSky0,.mfui-9-instructions__picture_background_spbSky1,.mfui-9-instructions__picture_background_transparent,.mfui-9-instructions__picture_background_violet{border-radius:24px}.mfui-9-instructions__picture_background_base .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_spbSky0 .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_spbSky1 .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_transparent .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_violet .mfui-9-instructions__img-wrapper:before{display:none}.mfui-9-instructions__picture_background_spbSky0{background-color:var(--spbSky0)}.mfui-9-instructions__picture_background_spbSky1{background-color:var(--spbSky1)}.mfui-9-instructions__picture_background_base{background-color:var(--base)}.mfui-9-instructions__picture_background_violet{background-color:#e1dcea}.mfui-9-instructions__picture_background_transparent{background-color:transparent}.mfui-9-instructions__picture_overlay_logo-base,.mfui-9-instructions__picture_overlay_logo-cropped-base-with-opacity,.mfui-9-instructions__picture_overlay_logo-cropped-spb-sky-3,.mfui-9-instructions__picture_overlay_logo-spb-sky-0{background-position:50%;background-repeat:no-repeat;background-size:contain}.mfui-9-instructions__picture_overlay_logo-base{background-image:url(img/logo-base.png)}.mfui-9-instructions__picture_overlay_logo-spb-sky-0{background-image:url(img/logo-spb-sky-0.png)}.mfui-9-instructions__picture_overlay_logo-cropped-base-with-opacity{background-image:url(img/logo-cropped-base-with-opacity.png)}.mfui-9-instructions__picture_overlay_logo-cropped-spb-sky-3{background-image:url(img/logo-cropped-spb-sky-3.png)}.mfui-9-instructions__arrow{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:2}@media screen and (max-width:767px){.mfui-9-instructions__arrow{display:none}}.mfui-9-instructions__arrow_prev{left:24px}.mfui-9-instructions__arrow_next{right:24px}.mfui-9-instructions__qr-code{-webkit-box-sizing:border-box;box-sizing:border-box;display:none;padding:12px;position:absolute;right:64px;top:12px;width:126px;z-index:3}@media screen and (min-width:768px){.mfui-9-instructions__qr-code{display:block}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions__qr-code{right:44px}}.mfui-9-instructions__qr-code-image{display:block;height:auto;width:100%}.mfui-9-instructions__qr-code-text{font-size:12px;font-weight:500;line-height:12px;margin-bottom:12px;text-align:center}.mfui-9-instructions_reversed .mfui-9-instructions__title_resolution_mobile{margin-bottom:16px}@media screen and (max-width:1023px){.mfui-9-instructions_reversed .mfui-9-instructions__picture{margin-bottom:0;max-height:100%}.mfui-9-instructions_reversed .mfui-9-instructions__articles{display:none}}@media screen and (max-width:767px){.mfui-9-instructions_reversed .mfui-9-instructions__articles-title-block{margin-bottom:32px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_reversed .mfui-9-instructions__articles-title-block{margin-bottom:40px}}.mfui-9-instructions_reversed.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:100%}
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-9-instructions__title_resolution_mobile{margin-bottom:32px;text-align:center}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__title_resolution_mobile{margin-bottom:40px}}.mfui-9-instructions__title_resolution_desktop{margin-bottom:40px}.mfui-9-instructions .swiper-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}@media screen and (min-width:1024px){.mfui-9-instructions__wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mfui-9-instructions__wrapper_vertical-align_top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-instructions__wrapper_vertical-align_unset{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}}.mfui-9-instructions .mfui-9-instructions__text{margin-top:32px}@media screen and (max-width:1023px){.mfui-9-instructions .mfui-9-instructions__text{margin-top:40px;text-align:center}}.mfui-9-instructions .mfui-9-instructions__button{display:block;margin-top:32px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}@media screen and (max-width:1023px){.mfui-9-instructions .mfui-9-instructions__button{margin-left:auto;margin-right:auto}}@media screen and (min-width:768px){.mfui-9-instructions .mfui-9-instructions__button{margin-top:40px}}.mfui-9-instructions__picture{max-height:490px;max-width:530px;overflow:hidden;position:relative}@media screen and (max-width:1023px){.mfui-9-instructions__picture{margin:0 auto}}@media screen and (min-width:1024px){.mfui-9-instructions__picture{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;width:50%}.mfui-9-instructions__picture_align_left{-webkit-box-ordinal-group:1;-ms-flex-order:0;margin-right:40px;order:0}}.mfui-9-instructions_mask_none .mfui-9-instructions__slide{display:-webkit-box;display:-ms-flexbox;display:flex}.mfui-9-instructions_mask_none .mfui-9-instructions__swiper-img,.mfui-9-instructions_mask_none .mfui-9-instructions__swiper-img_video{border-radius:24px}.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .swiper-wrapper{height:100%}.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:529px;max-width:832px;width:100%}@media screen and (min-width:1280px) and (max-width:1439px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:410px;max-width:645px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:422px;max-width:663px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:427px;max-width:672px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{height:auto;max-height:none}}.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:529px}@media screen and (min-width:1280px) and (max-width:1439px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:410px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:422px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:427px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:auto}}.mfui-9-instructions__swiper-img{border-radius:0;height:100%;width:100%}.mfui-9-instructions__swiper-img_video{border-radius:0;-webkit-filter:brightness(108.5%);filter:brightness(108.5%)}.mfui-9-instructions__img-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;height:490px;position:relative}@media screen and (max-width:1023px){.mfui-9-instructions__img-wrapper:before{background:var(--spbSky2);bottom:0;content:"";display:block;height:1px;left:0;margin:0 auto;position:absolute;right:0;width:324px;z-index:2}}.mfui-9-instructions__device-screen{overflow:hidden;pointer-events:none}.mfui-9-instructions_mask_android .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone .mfui-9-instructions__img-wrapper{height:487px}@media screen and (max-width:1023px){.mfui-9-instructions_mask_android .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions_mask_iphone .mfui-9-instructions__img-wrapper:before{display:none}}.mfui-9-instructions_mask_android .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone .mfui-9-instructions__device-screen{background:50% no-repeat;background-size:contain;height:100%;margin:auto;position:relative;width:100%;z-index:2}.mfui-9-instructions_mask_android .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone .mfui-9-instructions__swiper{border-radius:20px;height:468px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:10px;width:217px;z-index:1}.mfui-9-instructions_mask_android .mfui-9-instructions__qr-code,.mfui-9-instructions_mask_iphone .mfui-9-instructions__qr-code{left:61.2%;top:16px}.mfui-9-instructions_mask_android .mfui-9-instructions__device-screen{background-image:url(img/android.png)}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:529px;max-width:530px;width:100%}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:513px;max-width:514px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:529px;max-width:530px}}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:529px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:513px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:529px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:427px}}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{height:100%}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:529px;top:0;width:240px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:513px;width:232px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:529px;width:240px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:426px;width:196px}}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__img-wrapper{height:420px;min-height:420px}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__img-wrapper:before{background:var(--spbSky2);bottom:0;content:"";display:block;height:1px;left:0;margin:0 auto;position:absolute;right:0;width:324px;z-index:2}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__device-screen{background:50% no-repeat;background-size:contain;height:490px;margin-top:20px;position:relative;width:100%;z-index:1}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__swiper{left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:28px;width:218px}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__qr-code,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__qr-code{left:61.2%;top:8px}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__device-screen{background-image:url(img/android.png)}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:659px;max-width:832px;width:100%}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:511px;max-width:645px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:532px;max-width:672px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:490px;max-width:530px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:659px;min-height:659px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:511px;min-height:511px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:532px;min-height:532px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:420px;min-height:420px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper:before{width:380px}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:384px 759px;height:759px;margin-top:31px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:298px 576px;height:576px;margin-top:25px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:310px 621px;height:621px;margin-top:25px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:241px 490px;height:490px;margin-top:20px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:45px;width:348px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:37px;width:276px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:38px;width:282px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:28px;width:218px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__qr-code,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__qr-code{left:66%}.mfui-9-instructions_mask_iphone .mfui-9-instructions__device-screen{background-image:url(img/iphone.png)}.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{border-radius:40px}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__device-screen{background-image:url(img/iphone.png)}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__swiper{border-radius:24px}@media screen and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper{background:url(img/laptop.png) 50% 0 no-repeat;background-size:100%;height:0;padding-bottom:58.9%}}.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper:before{display:none}.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{background:url(img/laptop.png) 50% 0 no-repeat;background-size:100%;height:100%;margin:auto;position:relative;width:100%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:530px}}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:450px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:270px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{background:url(img/laptop.png) 50% no-repeat;background-size:contain}}.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{left:50%;margin:auto;overflow:hidden;position:absolute;right:0;top:4px;-webkit-transform:translate(-49.5%);transform:translate(-49.5%);width:78%}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{max-width:415px;top:7px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{max-width:302px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{top:12px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{top:50%;-webkit-transform:translate(-49.5%,-55%);transform:translate(-49.5%,-55%)}}.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:487px;max-width:832px;width:100%}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-width:100%;min-width:514px;width:66%}}@media screen and (max-width:1023px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:393px;max-width:672px}}.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:487px}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:393px;padding-bottom:393px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:0}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__swiper{max-width:514px}}@media screen and (max-width:1023px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__swiper{max-width:672px}}.mfui-9-instructions__slide{-ms-flex-negative:0;flex-shrink:0;height:100%}@media screen and (max-width:767px){.mfui-9-instructions__articles{margin-top:24px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles{margin-top:32px}}@media screen and (min-width:1024px){.mfui-9-instructions__articles{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;width:50%}.mfui-9-instructions__articles_align_right{margin-right:40px}}.mfui-9-instructions__articles-list{list-style-type:none;margin:0;padding:0}.mfui-9-instructions__articles-item{min-height:40px;opacity:.5;position:relative}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item{margin-bottom:24px}}.mfui-9-instructions__articles-item:hover,.mfui-9-instructions__articles-item_active{opacity:1}.mfui-9-instructions__articles-item:hover .mfui-9-instructions__articles-item-dot,.mfui-9-instructions__articles-item_active .mfui-9-instructions__articles-item-dot{color:var(--stcWhite)}.mfui-9-instructions__articles-item:hover .mfui-9-instructions__articles-item-dot:before,.mfui-9-instructions__articles-item_active .mfui-9-instructions__articles-item-dot:before{background:var(--brandGreen);bottom:0;left:0;right:0;top:0}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item:last-child{margin-bottom:0}}.mfui-9-instructions__articles-item-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:none;padding:0;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:12px;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:40px;position:relative;text-align:start;width:100%}.mfui-9-instructions__articles-item-button:focus-visible{-webkit-animation:focus-outline-shrink .3s linear forwards;animation:focus-outline-shrink .3s linear forwards;outline-offset:2px}@-webkit-keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}@keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}.mfui-9-instructions__articles-item-button:focus{outline:none}.mfui-9-instructions__articles-item-button:disabled{color:inherit;cursor:auto}.mfui-9-instructions__articles-item-dot{border-radius:12px;-webkit-box-shadow:inset 0 0 0 1px var(--spbSky3);box-shadow:inset 0 0 0 1px var(--spbSky3);cursor:pointer;display:inline-block;font-size:15px;font-weight:500;height:40px;line-height:40px;position:absolute;text-align:center;width:40px}@media screen and (max-width:479px){.mfui-9-instructions__articles-item-dot{min-width:40px}}.mfui-9-instructions__articles-item-dot:before{border-radius:12px;bottom:50%;content:"";left:50%;position:absolute;right:50%;top:50%;-webkit-transition:all .3s ease;transition:all .3s ease}.mfui-9-instructions__articles-item-dot-number{position:relative}.mfui-9-instructions__articles-item-title{cursor:pointer;display:inline-block;font-size:15px;font-weight:400;line-height:24px}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item-title{padding:8px 0 0 56px}}.mfui-9-instructions__articles-dots{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;list-style-type:none;margin:0;padding:0}@media screen and (max-width:767px){.mfui-9-instructions__articles-dots{margin-top:16px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles-dots{margin-top:24px}}.mfui-9-instructions__articles-dots_text-after{margin-bottom:48px}.mfui-9-instructions__articles-dot{background:var(--spbSky2);border-radius:4px;cursor:pointer;display:inline-block;height:8px;margin-right:12px;position:relative;width:8px}.mfui-9-instructions__articles-dot:hover,.mfui-9-instructions__articles-dot_active{background:var(--brandGreen)}.mfui-9-instructions__articles-dot_active{width:20px}.mfui-9-instructions__articles-dot:last-child{margin-right:0}.mfui-9-instructions__articles-title-block{margin:0 auto;text-align:center}@media screen and (max-width:767px){.mfui-9-instructions__articles-title-block{width:55%}}@media screen and (max-width:479px){.mfui-9-instructions__articles-title-block{width:100%}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles-title-block{max-width:530px;width:100%}}.mfui-9-instructions__articles-title-block_with-numeration{text-align:left}.mfui-9-instructions__articles-title{font-weight:400;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-instructions__articles-num,.mfui-9-instructions__articles-title{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;line-height:24px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mfui-9-instructions__articles-num{font-weight:500;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brandGreen);border-radius:50%;color:var(--stcWhite);height:40px;margin-right:16px;width:40px}@media screen and (min-width:1024px){.mfui-9-instructions__articles-num{display:none}}.mfui-9-instructions__picture_background_base,.mfui-9-instructions__picture_background_spbSky0,.mfui-9-instructions__picture_background_spbSky1,.mfui-9-instructions__picture_background_transparent,.mfui-9-instructions__picture_background_violet{border-radius:24px}.mfui-9-instructions__picture_background_base .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_spbSky0 .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_spbSky1 .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_transparent .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_violet .mfui-9-instructions__img-wrapper:before{display:none}.mfui-9-instructions__picture_background_spbSky0{background-color:var(--spbSky0)}.mfui-9-instructions__picture_background_spbSky1{background-color:var(--spbSky1)}.mfui-9-instructions__picture_background_base{background-color:var(--base)}.mfui-9-instructions__picture_background_violet{background-color:#e1dcea}.mfui-9-instructions__picture_background_transparent{background-color:transparent}.mfui-9-instructions__picture_overlay_logo-base,.mfui-9-instructions__picture_overlay_logo-cropped-base-with-opacity,.mfui-9-instructions__picture_overlay_logo-cropped-spb-sky-3,.mfui-9-instructions__picture_overlay_logo-spb-sky-0{background-position:50%;background-repeat:no-repeat;background-size:contain}.mfui-9-instructions__picture_overlay_logo-base{background-image:url(img/logo-base.png)}.mfui-9-instructions__picture_overlay_logo-spb-sky-0{background-image:url(img/logo-spb-sky-0.png)}.mfui-9-instructions__picture_overlay_logo-cropped-base-with-opacity{background-image:url(img/logo-cropped-base-with-opacity.png)}.mfui-9-instructions__picture_overlay_logo-cropped-spb-sky-3{background-image:url(img/logo-cropped-spb-sky-3.png)}.mfui-9-instructions__arrow{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:2}@media screen and (max-width:767px){.mfui-9-instructions__arrow{display:none}}.mfui-9-instructions__arrow_prev{left:24px}.mfui-9-instructions__arrow_next{right:24px}.mfui-9-instructions__qr-code{-webkit-box-sizing:border-box;box-sizing:border-box;display:none;padding:12px;position:absolute;right:64px;top:12px;width:126px;z-index:3}@media screen and (min-width:768px){.mfui-9-instructions__qr-code{display:block}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions__qr-code{right:44px}}.mfui-9-instructions__qr-code-image{display:block;height:auto;width:100%}.mfui-9-instructions__qr-code-text{font-size:12px;font-weight:500;line-height:12px;margin-bottom:12px;text-align:center}.mfui-9-instructions_reversed .mfui-9-instructions__title_resolution_mobile{margin-bottom:16px}@media screen and (max-width:1023px){.mfui-9-instructions_reversed .mfui-9-instructions__picture{margin-bottom:0;max-height:100%}.mfui-9-instructions_reversed .mfui-9-instructions__articles{display:none}}@media screen and (max-width:767px){.mfui-9-instructions_reversed .mfui-9-instructions__articles-title-block{margin-bottom:32px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_reversed .mfui-9-instructions__articles-title-block{margin-bottom:40px}}.mfui-9-instructions_reversed.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:100%}
@@ -12,6 +12,7 @@ var React = _interopRequireWildcard(require("react"));
12
12
  var _uiCore = require("@megafon/ui-core");
13
13
  var _uiHelpers = require("@megafon/ui-helpers");
14
14
  var _setRelAttribute = require("../../helpers/setRelAttribute");
15
+ var _useResolutions2 = _interopRequireDefault(require("../../hooks/useResolutions"));
15
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
16
17
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
18
  /* eslint-disable jsx-a11y/no-static-element-interactions */
@@ -123,6 +124,8 @@ var Instructions = function Instructions(_ref) {
123
124
  _React$useState4 = (0, _slicedToArray2["default"])(_React$useState3, 2),
124
125
  slideIndex = _React$useState4[0],
125
126
  setSlideIndex = _React$useState4[1];
127
+ var _useResolutions = (0, _useResolutions2["default"])(),
128
+ isDesktop = _useResolutions.isDesktop;
126
129
  var showButton = button === null || button === void 0 ? void 0 : button.title;
127
130
  var isMobileReversed = elementOrder === 'reversed';
128
131
  var getSwiperInstance = React.useCallback(function (swiper) {
@@ -256,10 +259,12 @@ var Instructions = function Instructions(_ref) {
256
259
  }), renderSlider());
257
260
  }, [pictureMask, renderSlider]);
258
261
  var renderDesktopArticles = React.useCallback(function () {
262
+ if (!isDesktop) {
263
+ return null;
264
+ }
259
265
  return /*#__PURE__*/React.createElement("ul", {
260
266
  className: cn('articles-list', {
261
- 'text-after': !!text,
262
- desktop: true
267
+ 'text-after': !!text
263
268
  }),
264
269
  "data-testid": "".concat(testIdPrefix, "-articles-list-desktop")
265
270
  }, instructionItems.map(function (_ref5, i) {
@@ -282,12 +287,13 @@ var Instructions = function Instructions(_ref) {
282
287
  className: cn('articles-item-title', [desktopItemTitle])
283
288
  }, itemTitle)));
284
289
  }));
285
- }, [desktopInstructionItem, desktopItemTitle, getActiveCustomClass, handleArticleClick, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, instructionItem, instructionItems, slideIndex, text]);
290
+ }, [isDesktop, text, instructionItems, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, slideIndex, getActiveCustomClass, instructionItem, desktopInstructionItem, handleArticleClick, desktopItemTitle]);
286
291
  var renderMobileArticles = React.useCallback(function () {
292
+ if (isDesktop) {
293
+ return null;
294
+ }
287
295
  return /*#__PURE__*/React.createElement("div", {
288
- className: cn('articles-list', {
289
- mobile: true
290
- }),
296
+ className: cn('articles-list'),
291
297
  "data-testid": "".concat(testIdPrefix, "-articles-list-mobile")
292
298
  }, /*#__PURE__*/React.createElement("div", {
293
299
  className: cn('articles-title-block', {
@@ -306,7 +312,7 @@ var Instructions = function Instructions(_ref) {
306
312
  className: cn('articles-title-text', [mobileItemTitle])
307
313
  }), itemTitle));
308
314
  })));
309
- }, [dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.mobileItemText, instructionItems, mobileItemTitle, slideIndex, isMobileReversed, showMobileNumeration]);
315
+ }, [isDesktop, isMobileReversed, showMobileNumeration, instructionItems, slideIndex, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.mobileItemText, mobileItemTitle]);
310
316
  var renderArrows = React.useCallback(function () {
311
317
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_uiCore.NavArrow, {
312
318
  dataAttrs: {
@@ -365,7 +371,7 @@ var Instructions = function Instructions(_ref) {
365
371
  hAlign: "center"
366
372
  }, /*#__PURE__*/React.createElement(_uiCore.GridColumn, {
367
373
  all: "12"
368
- }, !!title && renderTitle('mobile'), /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({
374
+ }, !!title && !isDesktop && renderTitle('mobile'), /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({
369
375
  className: cn('wrapper', {
370
376
  'vertical-align': pictureVerticalAlign
371
377
  })
@@ -376,10 +382,10 @@ var Instructions = function Instructions(_ref) {
376
382
  overlay: pictureOverlay
377
383
  }),
378
384
  "data-testid": "".concat(testIdPrefix, "-picture")
379
- }, isMobileReversed && renderMobileArticles(), renderPicture(), !!showArrows && renderArrows(), renderQrCode()), renderMobileDots(), /*#__PURE__*/React.createElement("div", {
385
+ }, isMobileReversed && renderMobileArticles(), renderPicture(), !!showArrows && renderArrows(), renderQrCode()), !isDesktop && renderMobileDots(), /*#__PURE__*/React.createElement("div", {
380
386
  className: cn('articles', {
381
387
  align: pictureAlign
382
388
  })
383
- }, !!title && renderTitle('desktop'), !isMobileReversed && renderMobileArticles(), renderDesktopArticles(), text && renderText(), showButton && renderButton(), children)))));
389
+ }, !!title && isDesktop && renderTitle('desktop'), !isMobileReversed && renderMobileArticles(), renderDesktopArticles(), text && renderText(), showButton && renderButton(), children)))));
384
390
  };
385
391
  var _default = exports["default"] = Instructions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-shared",
3
- "version": "9.3.0",
3
+ "version": "9.4.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -77,13 +77,13 @@
77
77
  },
78
78
  "dependencies": {
79
79
  "@babel/runtime": "^7.8.4",
80
- "@megafon/ui-core": "^9.6.0",
81
- "@megafon/ui-helpers": "^5.0.1",
82
- "@megafon/ui-icons": "^4.2.0",
80
+ "@megafon/ui-core": "^9.7.0",
81
+ "@megafon/ui-helpers": "^5.0.2",
82
+ "@megafon/ui-icons": "^4.3.0",
83
83
  "core-js": "^3.6.4",
84
84
  "htmr": "^1.0.2",
85
85
  "lodash.throttle": "^4.1.1",
86
86
  "swiper": "^12.1.2"
87
87
  },
88
- "gitHead": "8bd22ed05aad89abe43ef5307a6ce0a0be8c741f"
88
+ "gitHead": "1de2963fe36843eee3226a7e0b67ff1691d939ce"
89
89
  }