{"version":3,"file":"index.C4BIyqEQ.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-card-simple/views/desktop/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-card-simple/views/desktop/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-card-simple/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-card-simple/views/desktop/index.js"],"sourcesContent":["import { css } from 'styled-components';\n\nconst liverpoolFilters = {\n CarouselCardSimpleSlider: ()=>/*#__PURE__*/ css([\n `.splide__pagination{`,\n `{visibility:visible;}}`\n ], ({ theme })=>theme.media.custom('1024px'))\n};\n\nexport { liverpoolFilters as default };\n//# sourceMappingURL=liverpool.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverpoolFilters from './styles/liverpool.js';\n\nconst carouselCardSimpleThemes = createThemes({\n [ThemeId.partnershipsLiverpool]: liverpoolFilters\n});\n\nexport { carouselCardSimpleThemes as default };\n//# sourceMappingURL=index.js.map\n","import { CardSimpleWrapperDesktop } from '@babylon/ui-kit-cards/components/cards/card-simple/views/desktop/styled';\nimport Slider from '@babylon/ui-kit-structures/components/others/slider';\nimport { BoxShadow } from '@babylon/ui-kit-styles/common/mixins/box-shadow.styled';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport carouselCardSimpleThemes from './themes/index.js';\n\nconst CarouselCardSimpleContainer = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"CarouselCardSimpleContainer\"\n})([\n ``\n]);\nconst CarouselCardSimpleSlider = /*#__PURE__*/ styled(Slider).withConfig({\n displayName: \"CarouselCardSimpleSlider\"\n})([\n `&.carousel-card-simple-slider-secondary{`,\n `{& img{height:176px;}& > a{background-color:`,\n `;}}}.splide__pagination{`,\n `{visibility:hidden;}}.splide__arrows{`,\n `{visibility:hidden;}& [disabled]{visibility:hidden;}left:-22px;right:-22px;width:calc(100% + 44px);> button{width:36px;height:36px;background-color:`,\n `;`,\n ` `,\n ` &:hover{.nico-angle-right{&::before{color:`,\n `;}}.nico-angle-left{&::before{color:`,\n `;}}}}.nico-angle-right{&::before{`,\n ` `,\n `}}.nico-angle-left{&::before{`,\n ` `,\n `}}}`,\n ``\n], CardSimpleWrapperDesktop, ({ theme })=>theme.colors.black.high, ({ theme })=>theme.media.custom('1024px'), ({ theme })=>theme.media.down('tablet'), ({ theme })=>theme.colors.white.base, BorderRadius({\n all: '100%'\n}), BoxShadow, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base, FlexMixin({\n justify: 'center',\n align: 'center'\n}), FontMixin({\n size: 'small',\n weight: 'bold'\n}), FlexMixin({\n justify: 'center',\n align: 'center'\n}), FontMixin({\n size: 'small',\n weight: 'bold'\n}), carouselCardSimpleThemes('CarouselCardSimpleSlider'));\n\nexport { CarouselCardSimpleContainer, CarouselCardSimpleSlider };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Title from '@babylon/ui-kit-base/components/text/title/views/desktop';\nimport CardSimple from '@babylon/ui-kit-cards/components/cards/card-simple/views/desktop';\nimport { Children } from 'react';\nimport { useTheme } from 'styled-components';\nimport { CarouselCardSimpleContainer, CarouselCardSimpleSlider } from './styled.js';\n\nconst CarouselCardSimpleDesktop = ({ props })=>{\n const { title, config, items = [], variant = 'default' } = props ?? {};\n const theme = /*#__PURE__*/ useTheme();\n const slider = {\n breakpoints: {\n [theme.breakpoints.xxl]: {\n perPage: 4,\n perMove: 4\n },\n [theme.breakpoints.xl]: {\n perPage: 3,\n perMove: 3\n },\n [theme.breakpoints.lg]: {\n perPage: 2,\n perMove: 2\n }\n },\n arrows: config?.hasNavigation,\n gap: 12,\n pagination: config?.hasPagination,\n perMove: 4,\n perPage: 4,\n paginationVariant: 'bottom'\n };\n return /*#__PURE__*/ jsxs(CarouselCardSimpleContainer, {\n \"data-testid\": \"CarouselCardSimpleDesktop\",\n children: [\n title && /*#__PURE__*/ jsx(Title, {\n ...title\n }),\n /*#__PURE__*/ jsx(CarouselCardSimpleSlider, {\n ...slider,\n className: `carousel-card-simple-slider-${variant}`,\n children: Children.toArray(items.map((item)=>{\n const image = {\n ...item.image,\n ...config?.resize\n };\n const literals = {\n ...item.config?.literals,\n ...config?.literals\n };\n return /*#__PURE__*/ jsx(CardSimple, {\n ...item,\n image: image,\n config: {\n ...item.config,\n literals\n }\n });\n }))\n })\n ]\n });\n};\n\nexport { CarouselCardSimpleDesktop as default };\n//# sourceMappingURL=index.js.map\n"],"names":["liverpoolFilters","css","theme","carouselCardSimpleThemes","createThemes","ThemeId","CarouselCardSimpleContainer","styled","CarouselCardSimpleSlider","Slider","CardSimpleWrapperDesktop","BorderRadius","BoxShadow","FlexMixin","FontMixin","CarouselCardSimpleDesktop","props","title","config","items","variant","useTheme","slider","jsxs","jsx","Title","Children","item","image","literals","_a","CardSimple"],"mappings":"6KAEA,MAAMA,EAAmB,CACrB,yBAA0B,IAAkBC,EAAI,CACxC,uBACA,wBACZ,EAAW,CAAC,CAAE,MAAAC,KAAUA,EAAM,MAAM,OAAO,QAAQ,CAAC,CACpD,ECHMC,EAA2BC,EAAa,CAC1C,CAACC,EAAQ,qBAAqB,EAAGL,CACrC,CAAC,ECEKM,EAA4CC,EAAO,IAAI,WAAW,CACpE,YAAa,6BACjB,CAAC,EAAE,CACC,EACJ,CAAC,EACKC,EAAyCD,EAAOE,CAAM,EAAE,WAAW,CACrE,YAAa,0BACjB,CAAC,EAAE,CACC,2CACA,+CACA,2BACA,wCACA,uJACA,IACA,IACA,8CACA,uCACA,oCACA,IACA,gCACA,IACA,MACA,EACJ,EAAGC,EAA0B,CAAC,CAAE,MAAAR,CAAK,IAAKA,EAAM,OAAO,MAAM,KAAM,CAAC,CAAE,M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