{"version":3,"file":"index.c18af701.js","sources":["../../../../../../node_modules/@babylon/ui-kit/dist/components/common/banners/banners-highlights/views/desktop/styled.js","../../../../../../node_modules/@babylon/ui-kit/dist/components/common/banners/banners-highlights/views/desktop/index.js"],"sourcesContent":["import styled from \"styled-components\";\nimport { CarouselHeaderDesktopSlider } from \"../../../../carousels/carousel-header/views/desktop/styled.js\";\nimport { FeatureContent, FeatureDescription, FeatureTitle, FeaturesBox, FeaturesItem, FeaturesList } from \"../../../../others/features/views/desktop/styled.js\";\nimport { Container } from \"../../../../../../styles/common/mixins/container.styled.js\";\nimport { GridMixin } from \"../../../../../../styles/common/mixins/grid.styled.js\";\nimport { FlexMixin, FontMixin } from \"../../../../../../styles/common/mixins/helpers.styled.js\";\nexport const BannersHighlights = styled(Container).withConfig({\n displayName: \"styled__BannersHighlights\",\n componentId: \"sc-619ef2e1-0\"\n})`\n\t${FeaturesBox} {\n\t\tbackground-color: transparent;\n\t\tborder: 0;\n\t\tpadding: 0px;\n\t}\n\t${FeaturesList} {\n\t\t${FlexMixin({\n direction: 'column'\n})};\n\t}\n\t${FeaturesItem} {\n\t\t${FlexMixin({\n direction: 'row',\n wrap: false\n})};\n\t}\n\t${FeatureContent} {\n\t\tcolor: ${({ theme })=>theme.colors.text.dark};\n\t\tmargin-left: 12px;\n\t}\n\t${FeatureTitle} {\n\t\t${FontMixin({\n size: 'base',\n weight: 'medium',\n height: 'base'\n})};\n\t\ttext-transform: uppercase;\n\t\ttext-align: left;\n\t}\n\t${FeatureDescription} {\n\t\t${FontMixin({\n weight: 'light'\n})};\n\t\tmargin-bottom: 20px;\n\t\ttext-align: left;\n\t}\n\t${CarouselHeaderDesktopSlider} {\n\t\theight: 100%;\n\t}\n\t${CarouselHeaderDesktopSlider} .splide__pagination {\n\t\tdisplay: none;\n\t}\n\t${CarouselHeaderDesktopSlider} li {\n\t\t${FlexMixin()};\n\t}\n\t${CarouselHeaderDesktopSlider} a,\n\t${CarouselHeaderDesktopSlider} img,\n\t${CarouselHeaderDesktopSlider} figure {\n\t\twidth: 100%;\n\t\theight: auto;\n\t\talign-self: center;\n\t}\n`;\nexport const BannersHighlightsWraper = styled.div.withConfig({\n displayName: \"styled__BannersHighlightsWraper\",\n componentId: \"sc-619ef2e1-1\"\n})`\n\t${GridMixin({\n cols: 2,\n gap: '40px'\n})}\n`;\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport Title from \"../../../../../base/text/title/index.js\";\nimport CarouselHeader from \"../../../../carousels/carousel-header/views/desktop/index.js\";\nimport Features from \"../../../../others/features/views/desktop/index.js\";\nimport { nullsToUndefined } from \"../../../../../../helpers/null.js\";\nimport * as S from \"./styled.js\";\nexport const BannersHighlightsDesktop = ({ title ='' , subtitle ='' , features =[] , items =[] , ...rest })=>{\n const adaptedItems = items.map((current)=>({\n ...current,\n resize: {\n width: 720,\n height: 325\n }\n }));\n return /*#__PURE__*/ _jsxs(S.BannersHighlights, {\n \"data-testid\": \"BannersHighlights\",\n ...rest,\n children: [\n /*#__PURE__*/ _jsx(Title, {\n textAlign: \"center\",\n \"data-testid\": \"BannersHighlightsTitle\",\n title: title,\n subTitle: subtitle\n }),\n /*#__PURE__*/ _jsxs(S.BannersHighlightsWraper, {\n children: [\n /*#__PURE__*/ _jsx(Features, {\n name: \"BannerHighlightsFeatures\",\n props: {\n title: {\n content: ''\n },\n features: {\n items: features\n }\n }\n }),\n /*#__PURE__*/ _jsx(CarouselHeader, {\n props: {\n items: nullsToUndefined(adaptedItems),\n rewind: false\n }\n })\n ]\n })\n ]\n });\n};\nexport default BannersHighlightsDesktop;\n\n//# sourceMappingURL=index.js.map"],"names":["BannersHighlights","styled","Container","FeaturesBox","FeaturesList","FlexMixin","FeaturesItem","FeatureContent","theme","FeatureTitle","FontMixin","FeatureDescription","CarouselHeaderDesktopSlider","BannersHighlightsWraper","GridMixin","BannersHighlightsDesktop","title","subtitle","features","items","rest","adaptedItems","current","_jsxs","S.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