@megafon/ui-shared 9.2.3 → 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.
- package/dist/es/components/BenefitCards/BenefitCard/BenefitCard.css +1 -1
- package/dist/es/components/Card/Card.css +1 -1
- package/dist/es/components/Container/Container.css +1 -1
- package/dist/es/components/Container/Container.d.ts +13 -0
- package/dist/es/components/Container/Container.js +20 -6
- package/dist/es/components/ImageBanner/ImageBanner.css +1 -1
- package/dist/es/components/ImageBanner/ImageBanner.js +2 -4
- package/dist/es/components/InfoCards/components/InfoCard/InfoCard.css +1 -1
- package/dist/es/components/Instructions/Instructions.css +1 -1
- package/dist/es/components/Instructions/Instructions.js +16 -10
- package/dist/lib/components/AccordionBox/AccordionBox.js +1 -2
- package/dist/lib/components/AudioPlayer/AudioPlayer.js +1 -2
- package/dist/lib/components/BannerBox/BannerBox.js +1 -2
- package/dist/lib/components/BenefitCards/BenefitCard/BenefitCard.css +1 -1
- package/dist/lib/components/BenefitCards/BenefitCard/BenefitCard.js +1 -2
- package/dist/lib/components/BenefitCards/BenefitCards.js +1 -2
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +1 -2
- package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.js +1 -2
- package/dist/lib/components/BenefitsPictures/BenefitsPictures.js +1 -2
- package/dist/lib/components/BlogBox/BlogBox.js +1 -2
- package/dist/lib/components/BlogBox/components/BlogBoxTile.js +1 -2
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +1 -2
- package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.js +1 -2
- package/dist/lib/components/ButtonBanner/ButtonBanner.js +1 -2
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +1 -2
- package/dist/lib/components/ButtonsBox/ButtonsBox.js +1 -2
- package/dist/lib/components/Card/Card.css +1 -1
- package/dist/lib/components/Card/Card.js +1 -2
- package/dist/lib/components/CardsBox/CardsBox.js +1 -2
- package/dist/lib/components/CardsOnBackground/CardsOnBackground.js +1 -2
- package/dist/lib/components/CarouselBox/CarouselBox.js +1 -2
- package/dist/lib/components/ChipsBox/ChipBox.js +1 -2
- package/dist/lib/components/ChipsBox/ChipsBox.js +1 -2
- package/dist/lib/components/Container/Container.css +1 -1
- package/dist/lib/components/Container/Container.d.ts +13 -0
- package/dist/lib/components/Container/Container.js +22 -8
- package/dist/lib/components/DarkGradientCards/DarkGradientCards.js +1 -2
- package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.js +1 -2
- package/dist/lib/components/DownloadLinks/DownloadLink.js +1 -2
- package/dist/lib/components/DownloadLinks/DownloadLinks.js +1 -2
- package/dist/lib/components/FaqWrapper/FaqWrapper.js +1 -2
- package/dist/lib/components/ImageBanner/ImageBanner.css +1 -1
- package/dist/lib/components/ImageBanner/ImageBanner.js +3 -6
- package/dist/lib/components/InfoCards/InfoCards.js +1 -2
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.css +1 -1
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +1 -2
- package/dist/lib/components/Instructions/Instructions.css +1 -1
- package/dist/lib/components/Instructions/Instructions.js +17 -12
- package/dist/lib/components/NotificationBox/NotificationBox.js +1 -2
- package/dist/lib/components/NumbersBox/NumbersBox.js +1 -2
- package/dist/lib/components/NumbersBox/components/NumbersCard/NumbersCard.js +1 -2
- package/dist/lib/components/PageTitle/PageTitle.js +1 -2
- package/dist/lib/components/Partners/Partners.js +1 -2
- package/dist/lib/components/Partners/components/PartnersItem/PartnersItem.js +1 -2
- package/dist/lib/components/PictureBox/PictureBox.js +1 -2
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.js +1 -2
- package/dist/lib/components/PromoBanner/PromoBanner.js +1 -2
- package/dist/lib/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.js +1 -2
- package/dist/lib/components/PromoCards/PromoCards.js +1 -2
- package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.js +2 -3
- package/dist/lib/components/Property/Property.js +1 -2
- package/dist/lib/components/ServiceCards/ServiceCards.js +1 -2
- package/dist/lib/components/ServiceCards/components/ServiceCard/ServiceCard.js +1 -2
- package/dist/lib/components/SidePictureCards/SidePictureCards.js +1 -2
- package/dist/lib/components/StepperBox/StepperBox.js +1 -2
- package/dist/lib/components/Steps/Steps.js +1 -2
- package/dist/lib/components/Steps/StepsItem.js +1 -2
- package/dist/lib/components/StoreBanner/StoreBanner.js +1 -2
- package/dist/lib/components/StoreButton/StoreButton.js +1 -2
- package/dist/lib/components/Table/Table.js +1 -2
- package/dist/lib/components/Table/TableCell.js +1 -2
- package/dist/lib/components/Table/TableRow.js +1 -2
- package/dist/lib/components/TabsBox/TabsBox.js +1 -2
- package/dist/lib/components/TextBox/TextBox.js +1 -2
- package/dist/lib/components/TextBox/TextBoxPicture.js +1 -2
- package/dist/lib/components/TextWithIcon/TextWithIcon.js +1 -2
- package/dist/lib/components/TextWithIcon/TextWithIconItem.js +1 -2
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +1 -2
- package/dist/lib/components/VideoBanner/VideoBanner.js +2 -3
- package/dist/lib/components/VideoBlock/VideoBlock.js +2 -3
- package/package.json +6 -6
|
@@ -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,12 +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
|
-
function
|
|
12
|
-
function
|
|
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 }; }
|
|
13
14
|
var BackgroundColors = exports.BackgroundColors = {
|
|
14
15
|
DEFAULT: 'default',
|
|
15
16
|
LIGHT_GRAY: 'light-gray',
|
|
@@ -17,6 +18,10 @@ var BackgroundColors = exports.BackgroundColors = {
|
|
|
17
18
|
GREEN: 'green',
|
|
18
19
|
PURPLE: 'purple'
|
|
19
20
|
};
|
|
21
|
+
var PaddingSize = exports.PaddingSize = {
|
|
22
|
+
DEFAULT: 'default',
|
|
23
|
+
MEDIUM: 'medium'
|
|
24
|
+
};
|
|
20
25
|
var cn = (0, _uiHelpers.cnCreate)('mfui-9-container');
|
|
21
26
|
var Container = function Container(_ref) {
|
|
22
27
|
var _ref$backgroundColor = _ref.backgroundColor,
|
|
@@ -25,6 +30,7 @@ var Container = function Container(_ref) {
|
|
|
25
30
|
id = _ref.id,
|
|
26
31
|
className = _ref.className,
|
|
27
32
|
classes = _ref.classes,
|
|
33
|
+
dataAttrs = _ref.dataAttrs,
|
|
28
34
|
children = _ref.children,
|
|
29
35
|
disablePaddingTop = _ref.disablePaddingTop,
|
|
30
36
|
disablePaddingBottom = _ref.disablePaddingBottom,
|
|
@@ -34,8 +40,13 @@ var Container = function Container(_ref) {
|
|
|
34
40
|
_ref$bottomShadow = _ref.bottomShadow,
|
|
35
41
|
bottomShadow = _ref$bottomShadow === void 0 ? false : _ref$bottomShadow,
|
|
36
42
|
_ref$preventMarginTop = _ref.preventMarginTopCollapse,
|
|
37
|
-
preventMarginTopCollapse = _ref$preventMarginTop === void 0 ? false : _ref$preventMarginTop
|
|
38
|
-
|
|
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), {
|
|
39
50
|
className: cn({
|
|
40
51
|
'bg-color': backgroundColor,
|
|
41
52
|
'bottom-shadow': bottomShadow,
|
|
@@ -46,11 +57,14 @@ var Container = function Container(_ref) {
|
|
|
46
57
|
}, [className, classes === null || classes === void 0 ? void 0 : classes.root]),
|
|
47
58
|
ref: rootRef,
|
|
48
59
|
id: id
|
|
49
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
60
|
+
}), /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.inner), {
|
|
50
61
|
className: cn('inner', {
|
|
51
|
-
prevent: preventMarginTopCollapse
|
|
62
|
+
prevent: preventMarginTopCollapse,
|
|
63
|
+
'padding-top-size': paddingTopSize,
|
|
64
|
+
'padding-bottom-size': paddingBottomSize,
|
|
65
|
+
'enable-mobile-radius': enableMobileRadius
|
|
52
66
|
}, [className, classes === null || classes === void 0 ? void 0 : classes.inner])
|
|
53
|
-
}, /*#__PURE__*/React.createElement(_uiCore.ContentArea, {
|
|
67
|
+
}), /*#__PURE__*/React.createElement(_uiCore.ContentArea, {
|
|
54
68
|
disableIndents: disableHorizontalIndents
|
|
55
69
|
}, children)));
|
|
56
70
|
};
|
|
@@ -13,8 +13,7 @@ var _uiCore = require("@megafon/ui-core");
|
|
|
13
13
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
14
14
|
var _useResolutions2 = _interopRequireDefault(require("../../hooks/useResolutions"));
|
|
15
15
|
var _DarkGradientCard = _interopRequireDefault(require("./components/DarkGradientCard"));
|
|
16
|
-
function
|
|
17
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
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); }
|
|
18
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
18
|
var carouselParams = (0, _defineProperty2["default"])({}, _uiHelpers.breakpoints.MOBILE_SMALL_START, {
|
|
20
19
|
slidesPerView: 'auto',
|
|
@@ -9,8 +9,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
11
11
|
var _setRelAttribute = require("../../../helpers/setRelAttribute");
|
|
12
|
-
function
|
|
13
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
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); }
|
|
14
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
14
|
var cn = (0, _uiHelpers.cnCreate)('mfui-9-dark-gradient-card');
|
|
16
15
|
var DarkGradientCard = function DarkGradientCard(_ref) {
|
|
@@ -11,8 +11,7 @@ require("core-js/modules/es.string.link.js");
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _uiCore = require("@megafon/ui-core");
|
|
13
13
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
14
|
-
function
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
14
|
+
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
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
17
16
|
var DownloadIcon = function DownloadIcon(props) {
|
|
18
17
|
return /*#__PURE__*/React.createElement("svg", (0, _extends2["default"])({
|
|
@@ -10,8 +10,7 @@ require("core-js/modules/es.array.map.js");
|
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _uiCore = require("@megafon/ui-core");
|
|
12
12
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
|
-
function
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
|
+
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); }
|
|
15
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
15
|
var getColumnConfig = exports.getColumnConfig = function getColumnConfig(itemsCount) {
|
|
17
16
|
switch (true) {
|
|
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports["default"] = void 0;
|
|
8
8
|
var React = _interopRequireWildcard(require("react"));
|
|
9
|
-
function
|
|
10
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
9
|
+
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); }
|
|
11
10
|
var FaqWrapper = function FaqWrapper(_ref) {
|
|
12
11
|
var children = _ref.children;
|
|
13
12
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -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{
|
|
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)}
|
|
@@ -13,8 +13,7 @@ require("core-js/modules/es.array.concat.js");
|
|
|
13
13
|
var React = _interopRequireWildcard(require("react"));
|
|
14
14
|
var _uiCore = require("@megafon/ui-core");
|
|
15
15
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
16
|
-
function
|
|
17
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
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); }
|
|
18
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
18
|
var BackgroundColor = exports.BackgroundColor = {
|
|
20
19
|
TRANSPARENT: 'transparent',
|
|
@@ -134,10 +133,8 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
134
133
|
color: "inherit",
|
|
135
134
|
as: isMobile ? headerLevelMobile : headerLevel,
|
|
136
135
|
tag: headerTag
|
|
137
|
-
}, typeof title === 'string' ? (0, _uiHelpers.convert)(title, _uiHelpers.titleConvertConfig) : title), !!description && /*#__PURE__*/React.createElement(
|
|
138
|
-
className: cn('description', [classes.description])
|
|
139
|
-
as: "h5",
|
|
140
|
-
color: "inherit"
|
|
136
|
+
}, typeof title === 'string' ? (0, _uiHelpers.convert)(title, _uiHelpers.titleConvertConfig) : title), !!description && /*#__PURE__*/React.createElement("div", {
|
|
137
|
+
className: cn('description', [classes.description])
|
|
141
138
|
}, typeof description === 'string' ? (0, _uiHelpers.convert)(description, _uiHelpers.titleConvertConfig) : description), !!cost && /*#__PURE__*/React.createElement("div", {
|
|
142
139
|
className: cn('cost', [classes.cost])
|
|
143
140
|
}, (0, _uiHelpers.convert)(cost, typographyConfig)), !!children && !!React.Children.count(children) && /*#__PURE__*/React.createElement("div", {
|
|
@@ -11,8 +11,7 @@ require("core-js/modules/es.array.map.js");
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
13
|
var _InfoCard = _interopRequireDefault(require("./components/InfoCard/InfoCard"));
|
|
14
|
-
function
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
14
|
+
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
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
17
16
|
var cn = (0, _uiHelpers.cnCreate)('mfui-9-info-cards');
|
|
18
17
|
var InfoCards = function InfoCards(_ref) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
h1,h2,h3,h4,h5{margin:0}.mfui-9-info-card{border-radius:24px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--content);-webkit-column-gap:12px;-moz-column-gap:12px;column-gap:12px;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:inherit;font-size:15px;line-height:24px;text-decoration:none;-webkit-transition:background-color .3s,-webkit-box-shadow .3s;transition:background-color .3s,-webkit-box-shadow .3s;transition:background-color .3s,box-shadow .3s;transition:background-color .3s,box-shadow .3s,-webkit-box-shadow .3s}.mfui-9-info-card: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-info-card:focus{outline:none}.mfui-9-info-card:hover{text-decoration:none}.mfui-9-info-card__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.mfui-9-info-card__title+.mfui-9-info-card__description{margin-top:8px}.mfui-9-info-card__more-info{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:12px;line-height:18px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500;margin-top:auto;padding-top:12px;-webkit-transition:color .3s;transition:color .3s}.mfui-9-info-card_active{cursor:pointer}.mfui-9-info-card_active:hover .mfui-9-info-card__more-info{color:var(--brandGreen)}.mfui-9-info-card__more-info-text{margin-top:-2px}.mfui-9-info-card__more-info-arrow{height:20px;width:20px;fill:currentColor}.mfui-9-info-card_size_small{padding:16px 20px}.mfui-9-info-card_size_small .mfui-9-info-card__image{height:64px;margin-bottom:16px;width:64px}.mfui-9-info-card_size_small .mfui-9-info-card__title{font-size:15px;font-weight:500;line-height:24px}.mfui-9-info-card_size_small .mfui-9-info-card__description{font-size:12px;line-height:18px}.mfui-9-info-card_size_medium{padding:20px 24px}.mfui-9-info-card_size_medium .mfui-9-info-card__image{height:80px;margin-bottom:16px;width:80px}@media screen and (min-width:768px){.mfui-9-info-card_size_medium .mfui-9-info-card__image{margin-bottom:24px}}.mfui-9-info-card_size_medium .mfui-9-info-card__title{font-size:18px;font-weight:500;letter-spacing:.5px;line-height:24px}@media screen and (min-width:1280px){.mfui-9-info-card_size_medium .mfui-9-info-card__title{font-size:20px;line-height:28px}}.mfui-9-info-card_size_big{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:24px}@media screen and (min-width:768px){.mfui-9-info-card_size_big{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:32px}}.mfui-9-info-card_size_big .mfui-9-info-card__image{-ms-flex-item-align:
|
|
1
|
+
h1,h2,h3,h4,h5{margin:0}.mfui-9-info-card{border-radius:24px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--content);-webkit-column-gap:12px;-moz-column-gap:12px;column-gap:12px;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:inherit;font-size:15px;line-height:24px;text-decoration:none;-webkit-transition:background-color .3s,-webkit-box-shadow .3s;transition:background-color .3s,-webkit-box-shadow .3s;transition:background-color .3s,box-shadow .3s;transition:background-color .3s,box-shadow .3s,-webkit-box-shadow .3s}.mfui-9-info-card: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-info-card:focus{outline:none}.mfui-9-info-card:hover{text-decoration:none}.mfui-9-info-card__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.mfui-9-info-card__title+.mfui-9-info-card__description{margin-top:8px}.mfui-9-info-card__more-info{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:12px;line-height:18px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500;margin-top:auto;padding-top:12px;-webkit-transition:color .3s;transition:color .3s}.mfui-9-info-card_active{cursor:pointer}.mfui-9-info-card_active:hover .mfui-9-info-card__more-info{color:var(--brandGreen)}.mfui-9-info-card__more-info-text{margin-top:-2px}.mfui-9-info-card__more-info-arrow{height:20px;width:20px;fill:currentColor}.mfui-9-info-card_size_small{padding:16px 20px}.mfui-9-info-card_size_small .mfui-9-info-card__image{height:64px;margin-bottom:16px;width:64px}.mfui-9-info-card_size_small .mfui-9-info-card__title{font-size:15px;font-weight:500;line-height:24px}.mfui-9-info-card_size_small .mfui-9-info-card__description{font-size:12px;line-height:18px}.mfui-9-info-card_size_medium{padding:20px 24px}.mfui-9-info-card_size_medium .mfui-9-info-card__image{height:80px;margin-bottom:16px;width:80px}@media screen and (min-width:768px){.mfui-9-info-card_size_medium .mfui-9-info-card__image{margin-bottom:24px}}.mfui-9-info-card_size_medium .mfui-9-info-card__title{font-size:18px;font-weight:500;letter-spacing:.5px;line-height:24px}@media screen and (min-width:1280px){.mfui-9-info-card_size_medium .mfui-9-info-card__title{font-size:20px;line-height:28px}}.mfui-9-info-card_size_big{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:24px 32px 32px}@media screen and (min-width:768px){.mfui-9-info-card_size_big{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:32px}}.mfui-9-info-card_size_big .mfui-9-info-card__image{-ms-flex-item-align:start;align-self:start;-webkit-box-ordinal-group:1;-ms-flex-order:0;height:88px;margin-bottom:16px;order:0;width:88px}@media screen and (min-width:768px){.mfui-9-info-card_size_big .mfui-9-info-card__image{-ms-flex-item-align:center;align-self:center;-webkit-box-ordinal-group:2;-ms-flex-order:1;height:120px;margin-bottom:0;order:1;width:120px}}@media screen and (min-width:1280px){.mfui-9-info-card_size_big .mfui-9-info-card__image{height:150px;width:150px}}.mfui-9-info-card_size_big .mfui-9-info-card__title{font-size:18px;font-weight:500;letter-spacing:.5px;line-height:24px}@media screen and (min-width:1280px){.mfui-9-info-card_size_big .mfui-9-info-card__title{font-size:20px;line-height:28px}}.mfui-9-info-card_size_big .mfui-9-info-card__more-info{font-size:15px;line-height:24px;padding-top:12px}@media screen and (min-width:768px){.mfui-9-info-card_size_big .mfui-9-info-card__more-info{padding-top:24px}}.mfui-9-info-card_size_big .mfui-9-info-card__more-info-arrow{height:32px;width:32px}.mfui-9-info-card_position_top-left{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.mfui-9-info-card_position_right-side{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mfui-9-info-card_position_right-side .mfui-9-info-card__image{-ms-flex-item-align:center;align-self:center;-webkit-box-ordinal-group:2;-ms-flex-order:1;margin-bottom:0;order:1}.mfui-9-info-card_position_right-side .mfui-9-info-card__title+.mfui-9-info-card__description{margin-top:6px}.mfui-9-info-card_position_right-side .mfui-9-info-card__more-info{padding-top:8px}.mfui-9-info-card_position_right-side.mfui-9-info-card_size_medium,.mfui-9-info-card_position_right-side.mfui-9-info-card_size_small{padding:24px 16px}@media screen and (max-width:767px){.mfui-9-info-card_position_right-side.mfui-9-info-card_size_medium .mfui-9-info-card__image{height:64px;width:64px}}@media screen and (min-width:768px){.mfui-9-info-card_size_big.mfui-9-info-card_align-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfui-9-info-card_size_big.mfui-9-info-card_align-center .mfui-9-info-card__more-info{margin-top:0}}.mfui-9-info-card_position_right-side.mfui-9-info-card_align-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfui-9-info-card_position_right-side.mfui-9-info-card_align-center .mfui-9-info-card__more-info{margin-top:0}.mfui-9-info-card_background_stroke{border:1px solid var(--spbSky2)}.mfui-9-info-card_background_shadow{background-color:var(--base);-webkit-box-shadow:0 2px 12px rgba(0,0,0,.1);box-shadow:0 2px 12px rgba(0,0,0,.1)}.mfui-9-info-card_background_green{background-color:var(--brandGreen20)}.mfui-9-info-card_background_purple{background-color:var(--brandPurple20)}.mfui-9-info-card_background_white{background-color:var(--base)}.mfui-9-info-card_background_gray{background-color:var(--spbSky0)}.mfui-9-info-card_background_no{padding:0}.mfui-9-info-card_background_stroke.mfui-9-info-card_active:hover{background-color:var(--spbSky0)}.mfui-9-info-card_background_shadow.mfui-9-info-card_active:hover,.mfui-9-info-card_background_white.mfui-9-info-card_active:hover{-webkit-box-shadow:0 8px 28px rgba(0,0,0,.1);box-shadow:0 8px 28px rgba(0,0,0,.1)}.mfui-9-info-card_background_gray.mfui-9-info-card_active:hover{background-color:var(--spbSky1)}.mfui-9-info-card_background_purple.mfui-9-info-card_active:hover{background-color:var(--buttonHoverPurpleSoft)}.mfui-9-info-card_background_green.mfui-9-info-card_active:hover{background-color:var(--buttonHoverGreenSoft)}
|
|
@@ -11,8 +11,7 @@ require("core-js/modules/es.symbol.description.js");
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
13
|
var _setRelAttribute = require("../../../../helpers/setRelAttribute");
|
|
14
|
-
function
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
14
|
+
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
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
17
16
|
var ArrowRight16 = function ArrowRight16(props) {
|
|
18
17
|
return /*#__PURE__*/React.createElement("svg", (0, _extends2["default"])({
|
|
@@ -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,8 +12,8 @@ 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
|
-
|
|
16
|
-
function _interopRequireWildcard(e, r) { if (!
|
|
15
|
+
var _useResolutions2 = _interopRequireDefault(require("../../hooks/useResolutions"));
|
|
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); }
|
|
17
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
18
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
19
19
|
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
@@ -124,6 +124,8 @@ var Instructions = function Instructions(_ref) {
|
|
|
124
124
|
_React$useState4 = (0, _slicedToArray2["default"])(_React$useState3, 2),
|
|
125
125
|
slideIndex = _React$useState4[0],
|
|
126
126
|
setSlideIndex = _React$useState4[1];
|
|
127
|
+
var _useResolutions = (0, _useResolutions2["default"])(),
|
|
128
|
+
isDesktop = _useResolutions.isDesktop;
|
|
127
129
|
var showButton = button === null || button === void 0 ? void 0 : button.title;
|
|
128
130
|
var isMobileReversed = elementOrder === 'reversed';
|
|
129
131
|
var getSwiperInstance = React.useCallback(function (swiper) {
|
|
@@ -257,10 +259,12 @@ var Instructions = function Instructions(_ref) {
|
|
|
257
259
|
}), renderSlider());
|
|
258
260
|
}, [pictureMask, renderSlider]);
|
|
259
261
|
var renderDesktopArticles = React.useCallback(function () {
|
|
262
|
+
if (!isDesktop) {
|
|
263
|
+
return null;
|
|
264
|
+
}
|
|
260
265
|
return /*#__PURE__*/React.createElement("ul", {
|
|
261
266
|
className: cn('articles-list', {
|
|
262
|
-
'text-after': !!text
|
|
263
|
-
desktop: true
|
|
267
|
+
'text-after': !!text
|
|
264
268
|
}),
|
|
265
269
|
"data-testid": "".concat(testIdPrefix, "-articles-list-desktop")
|
|
266
270
|
}, instructionItems.map(function (_ref5, i) {
|
|
@@ -283,12 +287,13 @@ var Instructions = function Instructions(_ref) {
|
|
|
283
287
|
className: cn('articles-item-title', [desktopItemTitle])
|
|
284
288
|
}, itemTitle)));
|
|
285
289
|
}));
|
|
286
|
-
}, [
|
|
290
|
+
}, [isDesktop, text, instructionItems, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, slideIndex, getActiveCustomClass, instructionItem, desktopInstructionItem, handleArticleClick, desktopItemTitle]);
|
|
287
291
|
var renderMobileArticles = React.useCallback(function () {
|
|
292
|
+
if (isDesktop) {
|
|
293
|
+
return null;
|
|
294
|
+
}
|
|
288
295
|
return /*#__PURE__*/React.createElement("div", {
|
|
289
|
-
className: cn('articles-list',
|
|
290
|
-
mobile: true
|
|
291
|
-
}),
|
|
296
|
+
className: cn('articles-list'),
|
|
292
297
|
"data-testid": "".concat(testIdPrefix, "-articles-list-mobile")
|
|
293
298
|
}, /*#__PURE__*/React.createElement("div", {
|
|
294
299
|
className: cn('articles-title-block', {
|
|
@@ -307,7 +312,7 @@ var Instructions = function Instructions(_ref) {
|
|
|
307
312
|
className: cn('articles-title-text', [mobileItemTitle])
|
|
308
313
|
}), itemTitle));
|
|
309
314
|
})));
|
|
310
|
-
}, [dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.mobileItemText,
|
|
315
|
+
}, [isDesktop, isMobileReversed, showMobileNumeration, instructionItems, slideIndex, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.mobileItemText, mobileItemTitle]);
|
|
311
316
|
var renderArrows = React.useCallback(function () {
|
|
312
317
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_uiCore.NavArrow, {
|
|
313
318
|
dataAttrs: {
|
|
@@ -366,7 +371,7 @@ var Instructions = function Instructions(_ref) {
|
|
|
366
371
|
hAlign: "center"
|
|
367
372
|
}, /*#__PURE__*/React.createElement(_uiCore.GridColumn, {
|
|
368
373
|
all: "12"
|
|
369
|
-
}, !!title && renderTitle('mobile'), /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({
|
|
374
|
+
}, !!title && !isDesktop && renderTitle('mobile'), /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({
|
|
370
375
|
className: cn('wrapper', {
|
|
371
376
|
'vertical-align': pictureVerticalAlign
|
|
372
377
|
})
|
|
@@ -377,10 +382,10 @@ var Instructions = function Instructions(_ref) {
|
|
|
377
382
|
overlay: pictureOverlay
|
|
378
383
|
}),
|
|
379
384
|
"data-testid": "".concat(testIdPrefix, "-picture")
|
|
380
|
-
}, isMobileReversed && renderMobileArticles(), renderPicture(), !!showArrows && renderArrows(), renderQrCode()), renderMobileDots(), /*#__PURE__*/React.createElement("div", {
|
|
385
|
+
}, isMobileReversed && renderMobileArticles(), renderPicture(), !!showArrows && renderArrows(), renderQrCode()), !isDesktop && renderMobileDots(), /*#__PURE__*/React.createElement("div", {
|
|
381
386
|
className: cn('articles', {
|
|
382
387
|
align: pictureAlign
|
|
383
388
|
})
|
|
384
|
-
}, !!title && renderTitle('desktop'), !isMobileReversed && renderMobileArticles(), renderDesktopArticles(), text && renderText(), showButton && renderButton(), children)))));
|
|
389
|
+
}, !!title && isDesktop && renderTitle('desktop'), !isMobileReversed && renderMobileArticles(), renderDesktopArticles(), text && renderText(), showButton && renderButton(), children)))));
|
|
385
390
|
};
|
|
386
391
|
var _default = exports["default"] = Instructions;
|
|
@@ -10,8 +10,7 @@ require("core-js/modules/es.array.index-of.js");
|
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _uiCore = require("@megafon/ui-core");
|
|
12
12
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
|
-
function
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
|
+
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); }
|
|
15
14
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
16
15
|
var t = {};
|
|
17
16
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
@@ -12,8 +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 _NumbersCard = _interopRequireDefault(require("./components/NumbersCard/NumbersCard"));
|
|
15
|
-
function
|
|
16
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
15
|
+
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); }
|
|
17
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
17
|
var slidesSettings = (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _uiHelpers.breakpoints.MOBILE_SMALL_START, {
|
|
19
18
|
slidesPerView: 1,
|
|
@@ -8,8 +8,7 @@ exports["default"] = void 0;
|
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
11
|
-
function
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
11
|
+
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
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
13
|
var cn = (0, _uiHelpers.cnCreate)('mfui-9-numbers-card');
|
|
15
14
|
var NumbersCard = function NumbersCard(_ref) {
|
|
@@ -12,8 +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 _Breadcrumbs = _interopRequireDefault(require("../Breadcrumbs/Breadcrumbs"));
|
|
15
|
-
function
|
|
16
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
15
|
+
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); }
|
|
17
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
17
|
var testIdPrefix = 'PageTitle';
|
|
19
18
|
var cn = (0, _uiHelpers.cnCreate)('mfui-9-page-title');
|
|
@@ -13,8 +13,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
var _uiCore = require("@megafon/ui-core");
|
|
14
14
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
15
15
|
var _PartnersItem = _interopRequireDefault(require("./components/PartnersItem/PartnersItem"));
|
|
16
|
-
function
|
|
17
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
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); }
|
|
18
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
18
|
var MAX_GRID_ITEMS_LENGTH = 8;
|
|
20
19
|
var slidesSettings = (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _uiHelpers.breakpoints.MOBILE_SMALL_START, {
|