{"version":3,"file":"index.CPtuVLHZ.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/scroll-horizontal/index.js","../../../../../../../node_modules/@babylon/ui-kit-banners/components/banners/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-banners/components/banners/views/mobile/index.js"],"sourcesContent":["import { jsx } from 'react/jsx-runtime';\nimport { Children } from 'react';\nimport { ScrollHorizontalList, ScrollHorizontalItem } from './styled.js';\n\nconst ScrollHorizontal = ({ className, children, gap = '8px' })=>/*#__PURE__*/ jsx(ScrollHorizontalList, {\n className: className,\n $gap: gap,\n \"data-testid\": \"ScrollHorizontal\",\n children: Children.map(children, (child)=>/*#__PURE__*/ jsx(ScrollHorizontalItem, {\n children: child\n }))\n });\n\nexport { ScrollHorizontal as default };\n","import Title from '@babylon/ui-kit-base/components/text/title/views/mobile';\nimport { ScrollHorizontalItem } from '@babylon/ui-kit-structures/components/others/scroll-horizontal/styled';\nimport styled from 'styled-components';\n\nconst MobileBanners = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"MobileBanners\"\n})([\n ``,\n `{min-width:calc(95% - 8px);img{width:100%;}}`\n], ScrollHorizontalItem);\nconst MobileBannersTitle = /*#__PURE__*/ styled(Title).withConfig({\n displayName: \"MobileBannersTitle\"\n})([\n `padding:0 16px;`\n]);\n\nexport { MobileBanners, MobileBannersTitle };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Image from '@babylon/ui-kit-base/components/multimedia/image';\nimport ScrollHorizontal from '@babylon/ui-kit-structures/components/others/scroll-horizontal';\nimport { Children } from 'react';\nimport { MobileBanners, MobileBannersTitle } from './styled.js';\n\nconst BannersMobile = ({ props })=>{\n const { title, items = [] } = props ?? {};\n return /*#__PURE__*/ jsxs(MobileBanners, {\n \"data-testid\": \"Banners\",\n children: [\n title && /*#__PURE__*/ jsx(MobileBannersTitle, {\n title: title\n }),\n /*#__PURE__*/ jsx(ScrollHorizontal, {\n children: Children.toArray(items?.map((item)=>/*#__PURE__*/ jsx(Image, {\n ...item,\n width: 460,\n height: 250,\n resize: {\n width: 460,\n height: 250\n }\n })))\n })\n ]\n });\n};\n\nexport { BannersMobile as default };\n"],"names":["ScrollHorizontal","className","children","gap","jsx","ScrollHorizontalList","Children","child","ScrollHorizontalItem","MobileBanners","styled","MobileBannersTitle","Title","BannersMobile","props","title","items","jsxs","item","Image"],"mappings":"qFAIK,MAACA,EAAmB,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAU,IAAAC,EAAM,KAAO,IAAiBC,EAAG,IAACC,EAAsB,CACjG,UAAWJ,EACX,KAAME,EACN,cAAe,mBACf,SAAUG,EAAQ,SAAC,IAAIJ,EAAWK,GAAsBH,EAAG,IAACI,EAAsB,CAC1E,SAAUD,CAC1B,CAAa,CAAC,CACT,CAAA,ECPCE,EAA8BC,EAAO,IAAI,WAAW,CACtD,YAAa,eACjB,CAAC,EAAE,CACC,GACA,8CACJ,EAAGF,CAAoB,EACjBG,EAAmCD,EAAOE,CAAK,EAAE,WAAW,CAC9D,YAAa,oBACjB,CAAC,EAAE,CACC,iBACJ,CAAC,ECRKC,EAAgB,CAAC,CAAE,MAAAC,KAAU,CAC/B,KAAM,CAAE,MAAAC,EAAO,MAAAC,EAAQ,CAAE,CAAA,EAAKF,GAAS,CAAA,EACvC,OAAqBG,EAAAA,KAAKR,EAAe,CACrC,cAAe,UACf,SAAU,CACNM,GAAuBX,EAAG,IAACO,EAAoB,CAC3C,MAAOI,CACvB,CAAa,EACaX,EAAAA,IAAIJ,EAAkB,CAChC,SAAUM,EAAAA,SAAS,QAAQU,GAAA,YAAAA,EAAO,IAAKE,GAAqBd,EAAG,IAACe,EAAO,CAC/D,GAAGD,EACH,MAAO,IACP,OAAQ,IACR,OAAQ,CACJ,MAAO,IACP,OAAQ,GACX,CACJ,CAAA,EAAE,CACvB,CAAa,CACJ,CACT,CAAK,CACL","x_google_ignoreList":[0,1,2]}