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e,uBACf,MAAOvC,CACvB,CAAa,EACaO,MAAIoB,GAAkB,CAChC,SAAUQ,GAAA,YAAAA,EAAO,IAAKmH,GAAa,CAC/B,IAAIC,EAAuB,CACvB,GAAGD,EACH,GAAGD,CAC3B,EACoB,OAAqB9I,MAAIsH,GAAqB,CAC1C,UAAWuB,EACX,GAAGG,CACN,EAAE3H,EAAO,CACN,oBAAqB2H,CACxB,EAAC,CACtB,EACA,CAAa,CACJ,CACJ","names":["Card","styled","AttentionMixin","css","BoxShadow","theme","Border","BorderRadius","CardHeader","Padding","FontMixin","CardBody","Description","Margin","Weather","FlexMixin","Temperature","WeatherIcon","Icon","WeatherCardDesktop","title","description","temperature","iconName","min","max","jsxs","jsx","CardMobile","TitleMobileStyled","Today","TodayIcon","TodayContent","TodayDegrees","TodayName","Day","DayIcon","DayName","DayMonth","DayDegrees","WeatherCardMobile","today","days","day","degrees","icon","TitleMobile","ScrollHorizontal","genKey","WeatherCard","generateViewsComponent","WeatherSlider","Slider","WeatherCarouselDesktop","subtitle","items","useTheme","config","Container","Title","weather","getPricesInfo","prices","item","pricesHigherThanZero","cheapestPrice","higherPrice","cheapestPointers","element","index","getPricesHeightAndCheapest","price","MAXHEIGHT","cheapestClass","blockHeight","getProduct","props","_a","_b","PriceChartBox","Wrapper","Item","Block","Link","BarItem","titleModal","imageModal","literals","searcherDefault","type","link","searcher","Currency","Language","useContext","contextBabylon","pricesData","isVisible","toggleVisibility","useBoolean","onClickBar","event","formatPriceWithCurrency","CardProductModal","PriceChartDesktop","className","priceInfo","Fragment","classNames","ImageResize","useProductCampaignItem","obj","startDate","endDate","text","tooltip","displayDate","setDisplayDate","useState","displayStartDate","setDisplayStartDate","displayEndDate","setDisplayEndDate","value","setFalse","setTrue","linkRef","useRef","defaultTooltipProps","useEffect","formatDate","formatedDate","ProductCampaignItemCSS","ProductCampaignItemA","ProductCampaignItemDiv","ProductCampaignDate","ProductCampaignPrice","ProductCampaignItem","image","href","modalTitle","children","ProductCampaignItem$1","Tooltip","commonProps","ProductCampaignCard","ProductCampaignImageWrapper","ProductCampaignContent","ProductCampaignTitle","ProductCampaignCardDesktop","data","list","Image","ProductCampaignPriceContainer","ProductCampaignItemMobile","content","nullsToUndefined","ProductCampaignCardMobile","links","ImageWrapper","Content","TitleWrapper","campaign","ProductCampaignCardThin","ProductCampaignInner","length","GridMixin","ProductCampaignListItems","childClassName","rest","childProps","childPropsWithConfig","ProductCampaignCardSmall","ProductCampaignListDesktop","SearcherType","PriceChartMobileBox","ModalWrapper","Modal","ModalHeader","ModalHeaderText","ModalCloseButton","ModalContent","Price","SearcherCru","lazy","SearcherLeiMobile","__vitePreload","n","SearcherFliMobile","SearcherFlightHotelMobile","SearcherFerryHotelMobile","SearcherActivitiesMobile","SearcherFerryMobile","SearcherTrainHotelMobile","product","searcherProps","renderSearcher","Searcher","searcherId","_merge","cloneDeep","Suspense","renderSearcherSkeleton","SearcherPriceChartType","SearcherId","PriceChartMobile","ProductCampaignListMobile"],"ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32],"sources":["../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/weather-card/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/weather-card/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/weather-card/views/mobile/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/weather-card/views/mobile/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/weather-card/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/carousels/weather-carousel/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/carousels/weather-carousel/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/price-chart/utils/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/price-chart/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/price-chart/views/desktop/bar-item/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/price-chart/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/constants.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/desktop/product-campaign-item/hooks/useProductCampaignItem.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/desktop/product-campaign-item/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/desktop/product-campaign-item/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/mobile/product-campaign-item/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/mobile/product-campaign-item/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/mobile/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/mobile/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/desktop/product-campaign-card-small/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/desktop/product-campaign-card-small/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/desktop/product-campaign-card-thin/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-campaign-card/views/desktop/product-campaign-card-thin/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/product-campaign-list/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/product-campaign-list/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/price-chart/types.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/price-chart/views/mobile/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/price-chart/views/mobile/bar-item/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/price-chart/views/mobile/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/product-campaign-list/views/mobile/index.mjs"],"sourcesContent":["import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { BoxShadow } from '@babylon/ui-kit-styles/common/mixins/box-shadow.styled';\nimport { AttentionMixin, FontMixin, FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Border, BorderRadius, Padding, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled, { css } from 'styled-components';\n\nconst Card = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Card\",\n componentId: \"sc-6cc1b2b1-0\"\n})([\n \"\",\n \" \",\n \" background-color:\",\n \";\",\n \" \",\n \" min-height:170px;width:100%;\"\n], AttentionMixin(/*#__PURE__*/ css([\n \"cursor:pointer;\"\n])), BoxShadow, ({ theme })=>theme.colors.white.base, ({ theme })=>Border({\n all: `1px solid ${theme.border.color.base}`\n }), BorderRadius({\n all: '4px'\n}));\nconst CardHeader = /*#__PURE__*/ styled.h4.withConfig({\n displayName: \"CardHeader\",\n componentId: \"sc-6cc1b2b1-1\"\n})([\n \"\",\n \" \",\n \" text-align:center;line-height:1.2;color:\",\n \";\",\n \"\"\n], ({ theme })=>Border({\n bottom: `1px solid ${theme.border.color.base}`\n }), Padding({\n all: '16px'\n}), ({ theme })=>theme.colors.text.dark, FontMixin({\n weight: 'bold'\n}));\nconst CardBody = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"CardBody\",\n componentId: \"sc-6cc1b2b1-2\"\n})([\n \"\",\n \"\"\n], Padding({\n y: '16px',\n x: '32px'\n}));\nconst Description = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"Description\",\n componentId: \"sc-6cc1b2b1-3\"\n})([\n \"color:\",\n \";\",\n \" \",\n \" line-height:1.2;text-align:center;\"\n], ({ theme })=>theme.colors.primary.light, FontMixin({\n size: 'medium',\n weight: 'regular'\n}), Margin({\n bottom: '16px'\n}));\nconst Weather = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Weather\",\n componentId: \"sc-6cc1b2b1-4\"\n})([\n \"\",\n \"\"\n], FlexMixin({\n align: 'center',\n justify: 'space-between'\n}));\nconst Temperature = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Temperature\",\n componentId: \"sc-6cc1b2b1-5\"\n})([\n \"color:\",\n \";\",\n \" text-align:center;\"\n], ({ theme })=>theme.colors.text.light, FontMixin({\n size: 'medium'\n}));\nconst WeatherIcon = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"WeatherIcon\",\n componentId: \"sc-6cc1b2b1-6\"\n})([\n \"color:\",\n \";font-size:50px;\"\n], ({ theme })=>theme.colors.primary.light);\n\nexport { Card, CardBody, CardHeader, Description, Temperature, Weather, WeatherIcon };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport { Card, CardHeader, CardBody, Description, Weather, Temperature, WeatherIcon } from './styled.mjs';\n\nconst WeatherCardDesktop = ({ title = '', description = '', temperature, iconName })=>{\n const { min, max } = temperature ?? {};\n return /*#__PURE__*/ jsxs(Card, {\n \"data-testid\": \"WeatherCard\",\n children: [\n /*#__PURE__*/ jsx(CardHeader, {\n children: title\n }),\n /*#__PURE__*/ jsxs(CardBody, {\n children: [\n description && /*#__PURE__*/ jsx(Description, {\n \"data-testid\": \"WeatherDescription\",\n children: description\n }),\n /*#__PURE__*/ jsxs(Weather, {\n children: [\n /*#__PURE__*/ jsxs(Temperature, {\n \"data-testid\": \"WeatherTemperatureMin\",\n children: [\n /*#__PURE__*/ jsx(\"p\", {\n \"data-testid\": \"WeatherTemperatureMinLabel\",\n className: \"label\",\n children: min?.label\n }),\n /*#__PURE__*/ jsx(\"p\", {\n \"data-testid\": \"WeatherTemperatureMinContent\",\n className: \"content\",\n children: min?.content\n })\n ]\n }),\n /*#__PURE__*/ jsx(WeatherIcon, {\n className: `nico-${iconName}`\n }),\n /*#__PURE__*/ jsxs(Temperature, {\n \"data-testid\": \"WeatherTemperatureMax\",\n children: [\n /*#__PURE__*/ jsx(\"p\", {\n \"data-testid\": \"WeatherTemperatureMaxLabel\",\n className: \"label\",\n children: max?.label\n }),\n /*#__PURE__*/ jsx(\"p\", {\n \"data-testid\": \"WeatherTemperatureMaxContent\",\n className: \"content\",\n children: max?.content\n })\n ]\n })\n ]\n })\n ]\n })\n ]\n });\n};\n\nexport { WeatherCardDesktop as default };\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { TitleMobileStyled } from '@babylon/ui-kit-base/components/text/title/views/mobile/styled';\nimport { FontMixin, FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Padding, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst CardMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"CardMobile\",\n componentId: \"sc-f0f07a1a-0\"\n})([\n \"\",\n \" \",\n \"{\",\n \"}\"\n], FontMixin({\n weight: 'regular'\n}), TitleMobileStyled, Padding({\n x: '16px'\n}));\nconst Today = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Today\",\n componentId: \"sc-f0f07a1a-1\"\n})([\n \"\",\n \" \",\n \"\"\n], FlexMixin({\n align: 'center',\n justify: 'center'\n}), Margin({\n bottom: '32px'\n}));\nconst TodayIcon = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"TodayIcon\",\n componentId: \"sc-f0f07a1a-2\"\n})([\n \"font-size:70px;\",\n \" color:\",\n \";\"\n], Margin({\n right: '16px'\n}), ({ theme })=>theme.colors.primary.light);\nconst TodayContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TodayContent\",\n componentId: \"sc-f0f07a1a-3\"\n})([\n \"\",\n \"\"\n], FlexMixin({\n direction: 'column'\n}));\nconst TodayDegrees = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TodayDegrees\",\n componentId: \"sc-f0f07a1a-4\"\n})([\n \"\",\n \" color:\",\n \";\"\n], FontMixin({\n size: 'xl',\n weight: 'medium'\n}), ({ theme })=>theme.colors.primary.light);\nconst TodayName = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TodayName\",\n componentId: \"sc-f0f07a1a-5\"\n})([\n \"\",\n \" color:\",\n \";\"\n], FontMixin({\n size: 'base'\n}), ({ theme })=>theme.colors.primary.light);\nconst Day = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Day\",\n componentId: \"sc-f0f07a1a-6\"\n})([\n \"\",\n \" \",\n \" color:\",\n \";text-align:center;line-height:21px;\",\n \"\"\n], Margin({\n x: '15px'\n}), FontMixin({\n size: 'medium'\n}), ({ theme })=>theme.colors.text.dark, FlexMixin({\n direction: 'column'\n}));\nconst DayIcon = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"DayIcon\",\n componentId: \"sc-f0f07a1a-7\"\n})([\n \"display:block;color:\",\n \";\",\n \"\"\n], ({ theme })=>theme.colors.primary.light, FontMixin({\n size: 'largest'\n}));\nconst DayName = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"DayName\",\n componentId: \"sc-f0f07a1a-8\"\n})([\n \"\"\n]);\nconst DayMonth = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"DayMonth\",\n componentId: \"sc-f0f07a1a-9\"\n})([\n \"white-space:nowrap;\"\n]);\nconst DayDegrees = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"DayDegrees\",\n componentId: \"sc-f0f07a1a-10\"\n})([\n \"color:\",\n \";\",\n \"\"\n], ({ theme })=>theme.colors.primary.light, FontMixin({\n weight: 'medium'\n}));\n\nexport { CardMobile, Day, DayDegrees, DayIcon, DayMonth, DayName, Today, TodayContent, TodayDegrees, TodayIcon, TodayName };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport TitleMobile from '@babylon/ui-kit-base/components/text/title/views/mobile';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport ScrollHorizontal from '@babylon/ui-kit-structures/components/others/scroll-horizontal';\nimport { CardMobile, Today, TodayIcon, TodayContent, TodayDegrees, TodayName, Day, DayIcon, DayName, DayMonth, DayDegrees } from './styled.mjs';\n\nconst WeatherCardMobile = ({ title, today, days = [] })=>{\n const { day, degrees, icon } = today ?? {};\n return /*#__PURE__*/ jsxs(CardMobile, {\n \"data-testid\": \"WeatherCard\",\n children: [\n title && /*#__PURE__*/ jsx(TitleMobile, {\n title: title\n }),\n /*#__PURE__*/ jsxs(Today, {\n \"data-testid\": \"Today\",\n children: [\n /*#__PURE__*/ jsx(TodayIcon, {\n className: `nico-${icon}`\n }),\n /*#__PURE__*/ jsxs(TodayContent, {\n children: [\n /*#__PURE__*/ jsx(TodayDegrees, {\n \"data-testid\": \"TodayDegrees\",\n children: degrees\n }),\n /*#__PURE__*/ jsx(TodayName, {\n \"data-testid\": \"TodayName\",\n children: day\n })\n ]\n })\n ]\n }),\n /*#__PURE__*/ jsx(ScrollHorizontal, {\n children: days.map((day)=>/*#__PURE__*/ jsxs(Day, {\n \"data-testid\": \"WeatherCardDay\",\n children: [\n /*#__PURE__*/ jsx(DayIcon, {\n className: `nico-${day?.icon}`\n }),\n /*#__PURE__*/ jsx(DayName, {\n children: day?.day\n }),\n /*#__PURE__*/ jsx(DayMonth, {\n children: day?.monthDay\n }),\n /*#__PURE__*/ jsx(DayDegrees, {\n children: day?.degrees\n })\n ]\n }, genKey(day)))\n })\n ]\n });\n};\n\nexport { WeatherCardMobile as default };\n","import { generateViewsComponent } from '@babylon/ui-kit-helpers/views';\nimport WeatherCardDesktop from './views/desktop/index.mjs';\nimport WeatherCardMobile from './views/mobile/index.mjs';\n\nconst WeatherCard = generateViewsComponent(WeatherCardDesktop, WeatherCardMobile);\n\nexport { WeatherCard as default };\n","import Slider from '@babylon/ui-kit-structures/components/others/slider';\nimport { Padding, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst WeatherCarousel = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"WeatherCarousel\",\n componentId: \"sc-3dffab57-0\"\n})([\n \"\"\n]);\nconst WeatherSlider = /*#__PURE__*/ styled(Slider).withConfig({\n displayName: \"WeatherSlider\",\n componentId: \"sc-3dffab57-1\"\n})([\n \".splide__slide{\",\n \"}.splide__arrows .splide__arrow{&:hover{color:\",\n \";}}.splide__arrows .splide__arrow--prev{\",\n \"}.splide__arrows .splide__arrow--next{\",\n \"}\"\n], Padding({\n bottom: '4px'\n}), ({ theme })=>theme.colors.primary.base, Margin({\n left: '-24px'\n}), Margin({\n right: '-24px'\n}));\n\nexport { WeatherCarousel, WeatherSlider };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Title from '@babylon/ui-kit-base/components/text/title';\nimport WeatherCard from '@babylon/ui-kit-cards/components/cards/weather-card';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport { Container } from '@babylon/ui-kit-styles/common/mixins/container.styled';\nimport { useTheme } from 'styled-components';\nimport { WeatherSlider } from './styled.mjs';\n\nconst WeatherCarouselDesktop = ({ title, subtitle, items = [] })=>{\n const theme = /*#__PURE__*/ useTheme();\n const config = {\n gap: 16,\n breakpoints: {\n [theme.breakpoints.sm]: {\n perPage: 1\n },\n [theme.breakpoints.md]: {\n perPage: 3\n },\n [theme.breakpoints.lg]: {\n perPage: 4\n },\n [theme.breakpoints.xl]: {\n perPage: 5\n },\n [theme.breakpoints.xxl]: {\n perPage: 6\n }\n },\n perPage: 6,\n perMove: 6,\n paginationVariant: 'bottom'\n };\n return /*#__PURE__*/ jsxs(Container, {\n \"data-testid\": \"WeatherCarousel\",\n children: [\n title && /*#__PURE__*/ jsx(Title, {\n title: title,\n subTitle: subtitle\n }),\n /*#__PURE__*/ jsx(WeatherSlider, {\n ...config,\n children: items.map((weather)=>/*#__PURE__*/ jsx(WeatherCard, {\n ...weather\n }, genKey(weather)))\n })\n ]\n });\n};\n\nexport { WeatherCarouselDesktop as default };\n","const getPricesInfo = (items)=>{\n const prices = items.map((item)=>item.price ?? 0);\n const pricesHigherThanZero = prices.filter((item)=>item > 0);\n const cheapestPrice = Math.min(...pricesHigherThanZero);\n const higherPrice = Math.max(...prices);\n const cheapestPointers = [];\n prices.forEach((element, index)=>{\n if (element === cheapestPrice) cheapestPointers.push(index);\n });\n return {\n higherPrice,\n cheapestPointers\n };\n};\nconst getPricesHeightAndCheapest = ({ cheapestPointers, index, price, higherPrice, MAXHEIGHT })=>{\n const isCheapest = cheapestPointers.find((element)=>element === index);\n const cheapestClass = isCheapest ? 'is-cheapest' : '';\n const blockHeight = Math.round(price / higherPrice * MAXHEIGHT);\n return {\n cheapestClass,\n blockHeight\n };\n};\nconst getProduct = (props)=>{\n if (props.searcherDefault && 'config' in props.searcherDefault && props.searcherDefault.config && 'type' in props.searcherDefault.config && typeof props.searcherDefault.config.type === 'string') return props.searcherDefault.config.type.toUpperCase();\n if ('type' in props && typeof props.type === 'string') {\n return props.type.toUpperCase();\n }\n if (props.searcherDefault && 'product' in props.searcherDefault) {\n if (typeof props.searcherDefault?.product === 'string') return props.searcherDefault?.product.toUpperCase();\n }\n return 'FLIGHT';\n};\n\nexport { getPricesHeightAndCheapest, getPricesInfo, getProduct };\n","import { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst PriceChartBox = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceChartBox\",\n componentId: \"sc-71a0b852-0\"\n})([\n \"\"\n]);\nconst Wrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Wrapper\",\n componentId: \"sc-71a0b852-1\"\n})([\n \"\",\n \" overflow-y:auto;padding-bottom:10px;&::-webkit-scrollbar{height:6px;background-color:\",\n \";}&::-webkit-scrollbar-track{border-radius:10px;background-color:\",\n \";}&::-webkit-scrollbar-thumb{border-radius:3px;background-color:\",\n \";}\"\n], FlexMixin({\n align: 'end',\n justify: 'center'\n}), ({ theme })=>theme.colors.grays.light, ({ theme })=>theme.colors.grays.light, ({ theme })=>theme.colors.grays.base);\nconst Item = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Item\",\n componentId: \"sc-71a0b852-2\"\n})([\n \"\",\n \" margin-right:10px;\"\n], FlexMixin({\n direction: 'column',\n align: 'center',\n justify: 'center'\n}));\nconst Block = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Block\",\n componentId: \"sc-71a0b852-3\"\n})([\n \"\",\n \" \",\n \" background-color:\",\n \";color:\",\n \";border-top-left-radius:4px;border-top-right-radius:4px;cursor:pointer;padding:6px 8px 8px;width:80px;min-height:40px;&.is-cheapest{background-color:\",\n \";}\"\n], FlexMixin({\n align: 'end',\n justify: 'center'\n}), FontMixin({\n size: 'large',\n weight: 'light',\n height: 'large'\n}), ({ theme })=>theme.colors.primary.lighter, ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.secondary.base);\nconst Link = /*#__PURE__*/ styled.a.withConfig({\n displayName: \"Link\",\n componentId: \"sc-71a0b852-4\"\n})([\n \"\",\n \" color:\",\n \";margin-top:12px;\"\n], FontMixin({\n size: 'base',\n weight: 'regular',\n height: 'small'\n}), ({ theme })=>theme.colors.text.dark);\n\nexport { Block, Item, Link, PriceChartBox, Wrapper };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport CardProductModal from '@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal';\nimport contextBabylon from '@babylon/ui-kit-context';\nimport { formatPriceWithCurrency } from '@babylon/ui-kit-helpers/currency';\nimport { useContext } from 'react';\nimport { useBoolean } from 'usehooks-ts';\nimport { getPricesHeightAndCheapest } from '../../../utils/index.mjs';\nimport { Item, Block, Link } from '../styled.mjs';\n\nconst BarItem = ({ cheapestPointers, higherPrice, item, index, titleModal, imageModal, literals, searcherDefault, type })=>{\n const { price = 0, link } = item;\n const searcher = {\n ...searcherDefault,\n ...item.searcher\n };\n const { Currency, Language } = useContext(contextBabylon);\n const pricesData = getPricesHeightAndCheapest({\n cheapestPointers,\n index,\n price,\n higherPrice,\n MAXHEIGHT: 100\n });\n const { value: isVisible, toggle: toggleVisibility } = useBoolean();\n const onClickBar = (event)=>{\n event.preventDefault();\n toggleVisibility();\n };\n return /*#__PURE__*/ jsxs(Item, {\n children: [\n /*#__PURE__*/ jsx(Block, {\n className: pricesData.cheapestClass,\n style: {\n height: pricesData.blockHeight + 30\n },\n onClick: onClickBar,\n \"data-testid\": \"priceChartBlock\",\n children: price > 0 ? /*#__PURE__*/ jsx(\"span\", {\n className: \"price\",\n children: formatPriceWithCurrency(Math.floor(price), Currency, Language)\n }) : /*#__PURE__*/ jsx(Icon, {\n className: `nico-magnifier`\n })\n }),\n link && /*#__PURE__*/ jsx(Link, {\n \"data-testid\": \"link\",\n href: link?.href,\n title: link?.title,\n target: link?.target ?? '_blank',\n children: link.content\n }),\n /*#__PURE__*/ jsx(CardProductModal, {\n title: titleModal ?? '',\n zone: false,\n literals: literals,\n ratingIco: 'star',\n searcher: searcher,\n image: {\n src: imageModal ?? ''\n },\n price: {\n value: Math.round(price)\n },\n isVisible: isVisible,\n toggleVisibility: toggleVisibility,\n product: type\n })\n ]\n });\n};\n\nexport { BarItem as default };\n","import { jsx, Fragment, jsxs } from 'react/jsx-runtime';\nimport Title from '@babylon/ui-kit-base/components/text/title';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport classNames from 'classnames';\nimport { getPricesInfo } from '../../utils/index.mjs';\nimport BarItem from './bar-item/index.mjs';\nimport { PriceChartBox, Wrapper } from './styled.mjs';\n\nconst PriceChartDesktop = ({ props, className })=>{\n const { title, subtitle, items = [], searcher, titleModal, imageModal, config } = props ?? {};\n const { literals, type } = config ?? {};\n const priceInfo = getPricesInfo(items);\n return /*#__PURE__*/ jsx(Fragment, {\n children: /*#__PURE__*/ jsxs(PriceChartBox, {\n className: classNames(`${className}`),\n \"data-testid\": \"priceChart\",\n children: [\n /*#__PURE__*/ jsx(Title, {\n title: title,\n subTitle: subtitle\n }),\n /*#__PURE__*/ jsx(Wrapper, {\n children: items.map((item, index)=>/*#__PURE__*/ jsx(BarItem, {\n item: item,\n cheapestPointers: priceInfo.cheapestPointers,\n higherPrice: priceInfo.higherPrice,\n index: index,\n titleModal: titleModal,\n imageModal: imageModal,\n literals: literals,\n searcherDefault: searcher,\n type: type\n }, genKey(item)))\n })\n ]\n })\n });\n};\n\nexport { PriceChartDesktop as default };\n","const ImageResize = {\n DESKTOP: {\n resize: {\n width: 965,\n height: 840,\n quality: 85,\n operation: 'resize',\n suboperation: 'crop'\n },\n alternative: '/comun/images/not-available.png',\n isLazy: true\n },\n MOBILE: {\n resize: {\n width: 248,\n height: 100,\n quality: 85\n },\n alternative: '/comun/images/not-available.png',\n isLazy: true\n }\n};\n\nexport { ImageResize };\n","import contextBabylon from '@babylon/ui-kit-context';\nimport { formatDate } from '@babylon/ui-kit-helpers/date';\nimport { useContext, useState, useRef, useEffect } from 'react';\nimport { useBoolean } from 'usehooks-ts';\n\nconst useProductCampaignItem = (props)=>{\n const { obj, config, searcherDefault } = props;\n const { Language } = useContext(contextBabylon);\n const { startDate, endDate, text = false, tooltip = false } = obj;\n const [displayDate, setDisplayDate] = useState('');\n const [displayStartDate, setDisplayStartDate] = useState('');\n const [displayEndDate, setDisplayEndDate] = useState('');\n const { value, setFalse, setTrue } = useBoolean();\n const linkRef = useRef(null);\n const defaultTooltipProps = {\n placement: 'top',\n isNegative: false,\n referenceElement: linkRef.current,\n children: tooltip\n };\n const searcher = searcherDefault ? {\n ...searcherDefault,\n origin: obj.origin ?? searcherDefault.origin,\n destination: obj.destination ?? searcherDefault.destination,\n calendar: {\n ...searcherDefault.calendar,\n startDate: obj.startDate ?? searcherDefault.calendar?.startDate,\n endDate: obj.endDate ?? searcherDefault.calendar?.endDate\n }\n } : false;\n useEffect(()=>{\n if (!text && !!startDate) {\n formatDate(startDate, 'dd/MM', Language).then((formatedDate)=>setDisplayStartDate(formatedDate)).catch(console.error);\n }\n }, [\n Language,\n startDate,\n text\n ]);\n useEffect(()=>{\n if (!text && !!endDate) {\n formatDate(endDate, 'dd/MM', Language).then((formatedDate)=>setDisplayEndDate(formatedDate)).catch(console.error);\n }\n }, [\n Language,\n endDate,\n text\n ]);\n useEffect(()=>{\n setDisplayDate(text || (config?.literals?.dateLabel ?? '').replace('{startDate}', displayStartDate).replace('{endDate}', displayEndDate));\n }, [\n displayStartDate,\n displayEndDate,\n config,\n text\n ]);\n const { value: isVisible, toggle: toggleVisibility } = useBoolean();\n const onClickBar = (event)=>{\n event.preventDefault();\n toggleVisibility();\n };\n return {\n searcher,\n onClickBar,\n displayDate,\n defaultTooltipProps,\n value,\n linkRef,\n setTrue,\n setFalse,\n isVisible,\n toggleVisibility\n };\n};\n\nexport { useProductCampaignItem as default };\n","import { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled, { css } from 'styled-components';\n\nconst ProductCampaignItemCSS = /*#__PURE__*/ css([\n \"\",\n \" border-bottom:1px solid \",\n \";padding:16px 0;:first-child{padding:6px 0 16px 0;}:last-child{border-bottom:0;padding:16px 0 6px 0;}\"\n], FlexMixin({\n direction: 'row',\n justify: 'space-between',\n align: 'center'\n}), ({ theme })=>theme.colors.grays.light);\nconst ProductCampaignItemA = /*#__PURE__*/ styled.a.withConfig({\n displayName: \"ProductCampaignItemA\",\n componentId: \"sc-effe3ae7-0\"\n})([\n \"\",\n \";cursor:pointer;\"\n], ProductCampaignItemCSS);\nconst ProductCampaignItemDiv = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignItemDiv\",\n componentId: \"sc-effe3ae7-1\"\n})([\n \"\",\n \";cursor:pointer;\"\n], ProductCampaignItemCSS);\nconst ProductCampaignDate = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"ProductCampaignDate\",\n componentId: \"sc-effe3ae7-2\"\n})([\n \"\",\n \" color:\",\n \";\"\n], FontMixin({\n size: 'medium',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.darker);\nconst ProductCampaignPrice = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"ProductCampaignPrice\",\n componentId: \"sc-effe3ae7-3\"\n})([\n \"\",\n \" color:\",\n \";\"\n], FontMixin({\n size: 'large',\n weight: 'medium'\n}), ({ theme })=>theme.colors.secondary.base);\nconst ProductCampaignItem = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignItem\",\n componentId: \"sc-effe3ae7-4\"\n})([\n \"\",\n \" width:100%;\"\n], FlexMixin({\n direction: 'row',\n justify: 'space-between',\n align: 'center'\n}));\n\nexport { ProductCampaignDate, ProductCampaignItem, ProductCampaignItemA, ProductCampaignItemDiv, ProductCampaignPrice };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport Tooltip from '@babylon/ui-kit-base/components/others/tooltip';\nimport CardProductModal from '../../../../product-card/views/desktop/card-product-modal/index.mjs';\nimport contextBabylon from '@babylon/ui-kit-context';\nimport { formatPriceWithCurrency } from '@babylon/ui-kit-helpers/currency';\nimport { useContext, Fragment } from 'react';\nimport useProductCampaignItem from './hooks/useProductCampaignItem.mjs';\nimport { ProductCampaignItem as ProductCampaignItem$1, ProductCampaignDate, ProductCampaignPrice, ProductCampaignItemA, ProductCampaignItemDiv } from './styled.mjs';\n\nconst ProductCampaignItem = (props)=>{\n const { obj, config, image, literals } = props;\n const { Currency } = useContext(contextBabylon);\n const { price, href = false, tooltip = false, modalTitle } = obj;\n const { searcher, onClickBar, displayDate, defaultTooltipProps, value, linkRef, setTrue, setFalse, isVisible, toggleVisibility } = useProductCampaignItem(props);\n const children = /*#__PURE__*/ jsxs(ProductCampaignItem$1, {\n onClick: searcher ? onClickBar : ()=>{},\n children: [\n /*#__PURE__*/ jsx(ProductCampaignDate, {\n children: displayDate\n }),\n /*#__PURE__*/ jsx(ProductCampaignPrice, {\n children: price ? formatPriceWithCurrency(price, Currency) : /*#__PURE__*/ jsx(Icon, {\n className: \"nico-magnifier\"\n })\n }),\n !!tooltip && value && /*#__PURE__*/ jsx(Tooltip, {\n \"data-testid\": \"ProductCampaignTooltip\",\n ...defaultTooltipProps\n })\n ]\n });\n const commonProps = {\n 'data-testid': 'ProductCampaignItem',\n ref: linkRef,\n onMouseEnter: setTrue,\n onMouseLeave: setFalse\n };\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n href ? /*#__PURE__*/ jsx(ProductCampaignItemA, {\n href: href,\n ...commonProps,\n children: children\n }) : /*#__PURE__*/ jsx(ProductCampaignItemDiv, {\n ...commonProps,\n children: children\n }),\n searcher && literals ? /*#__PURE__*/ jsx(CardProductModal, {\n title: modalTitle ?? '',\n zone: false,\n literals: literals,\n ratingIco: 'star',\n searcher: searcher,\n image: {\n src: image.src ?? ''\n },\n price: {\n value: price ? Math.round(price) : 0\n },\n isVisible: isVisible,\n toggleVisibility: toggleVisibility,\n product: config?.type\n }) : ''\n ]\n });\n};\n\nexport { ProductCampaignItem as default };\n","import { 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';\n\nconst ProductCampaignCard = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignCard\",\n componentId: \"sc-596d6804-0\"\n})([\n \"\",\n \" padding:0px;border-top:1px solid \",\n \";border-bottom:1px solid \",\n \";background-color:\",\n \";margin-bottom:20px;border-radius:'4px';\",\n \";\"\n], FlexMixin({\n direction: 'column',\n justify: 'flex-start'\n}), ({ theme })=>theme.colors.grays.lighter, ({ theme })=>theme.colors.grays.lighter, ({ theme })=>theme.colors.white.base, BoxShadow);\nconst ProductCampaignImageWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignImageWrapper\",\n componentId: \"sc-596d6804-1\"\n})([\n \"\",\n \" height:220px;overflow:hidden;position:relative;\"\n], BorderRadius({\n topLeft: '4px',\n topRight: '4px'\n}));\nconst ProductCampaignContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignContent\",\n componentId: \"sc-596d6804-2\"\n})([\n \"\",\n \" background-color:\",\n \";padding:12px;\"\n], FlexMixin({\n direction: 'column',\n justify: 'space-between'\n}), ({ theme })=>theme.colors.white.base);\nconst ProductCampaignTitle = /*#__PURE__*/ styled.h3.withConfig({\n displayName: \"ProductCampaignTitle\",\n componentId: \"sc-596d6804-3\"\n})([\n \"\",\n \" \",\n \" position:absolute;bottom:0;left:0;right:0;color:\",\n \";height:50px;background-image:linear-gradient(180deg,transparent,#005591 92%);padding:0 12px;\"\n], FlexMixin({\n align: 'center'\n}), FontMixin({\n height: 'larger',\n size: 'larger',\n weight: 'light'\n}), ({ theme })=>theme.colors.white.base);\n\nexport { ProductCampaignCard, ProductCampaignContent, ProductCampaignImageWrapper, ProductCampaignTitle };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Image from '@babylon/ui-kit-base/components/multimedia/image';\nimport { ImageResize } from '../../constants.mjs';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport ProductCampaignItem from './product-campaign-item/index.mjs';\nimport { ProductCampaignCard, ProductCampaignImageWrapper, ProductCampaignTitle, ProductCampaignContent } from './styled.mjs';\n\nconst ProductCampaignCardDesktop = (data)=>{\n const { config, title = false, list = [], className = '', image, searcher } = data;\n return /*#__PURE__*/ jsxs(ProductCampaignCard, {\n \"data-testid\": \"ProductCampaignCard\",\n className: className,\n children: [\n /*#__PURE__*/ jsxs(ProductCampaignImageWrapper, {\n children: [\n !!image && /*#__PURE__*/ jsx(Image, {\n ...ImageResize.DESKTOP,\n ...image\n }),\n /*#__PURE__*/ jsx(ProductCampaignTitle, {\n children: title\n })\n ]\n }),\n /*#__PURE__*/ jsx(ProductCampaignContent, {\n children: !!list && list.map((obj)=>/*#__PURE__*/ jsx(ProductCampaignItem, {\n obj: obj,\n config: config,\n searcherDefault: searcher,\n image: image,\n literals: config.literals\n }, genKey({\n ProductCampaign: obj\n })))\n })\n ]\n });\n};\n\nexport { ProductCampaignCardDesktop as default };\n","import { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst ProductCampaignItem = /*#__PURE__*/ styled.a.withConfig({\n displayName: \"ProductCampaignItem\",\n componentId: \"sc-a9a2db9f-0\"\n})([\n \"\",\n \" border-bottom:1px solid \",\n \";padding:8px 12px;min-height:45px;:last-child{border-bottom:0;}\"\n], FlexMixin({\n direction: 'row',\n justify: 'space-between',\n align: 'center'\n}), ({ theme })=>theme.colors.grays.light);\nconst ProductCampaignDate = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"ProductCampaignDate\",\n componentId: \"sc-a9a2db9f-1\"\n})([\n \"\",\n \" color:\",\n \";\"\n], FontMixin({\n size: 'medium',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.darker);\nconst ProductCampaignPriceContainer = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"ProductCampaignPriceContainer\",\n componentId: \"sc-a9a2db9f-2\"\n})([\n \"\",\n \" \",\n \" color:\",\n \";\"\n], FlexMixin({\n direction: 'row',\n justify: 'space-between',\n align: 'baseline'\n}), FontMixin({\n size: 'medium',\n weight: 'regular'\n}), ({ theme })=>theme.colors.secondary.base);\nconst ProductCampaignPrice = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"ProductCampaignPrice\",\n componentId: \"sc-a9a2db9f-3\"\n})([\n \"\",\n \" \",\n \"\"\n], FontMixin({\n size: 'base',\n weight: 'medium'\n}), Margin({\n left: '4px'\n}));\n\nexport { ProductCampaignDate, ProductCampaignItem, ProductCampaignPrice, ProductCampaignPriceContainer };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport contextBabylon from '@babylon/ui-kit-context';\nimport { formatPriceWithCurrency } from '@babylon/ui-kit-helpers/currency';\nimport { nullsToUndefined } from '@babylon/ui-kit-helpers/null';\nimport { useContext } from 'react';\nimport { ProductCampaignItem, ProductCampaignDate, ProductCampaignPriceContainer, ProductCampaignPrice } from './styled.mjs';\n\nconst ProductCampaignItemMobile = ({ obj, config })=>{\n const { Currency } = useContext(contextBabylon);\n const { price, content } = obj;\n return /*#__PURE__*/ jsxs(ProductCampaignItem, {\n ...nullsToUndefined(obj),\n \"data-testid\": \"ProductCampaignItem\",\n children: [\n /*#__PURE__*/ jsx(ProductCampaignDate, {\n children: content\n }),\n /*#__PURE__*/ jsxs(ProductCampaignPriceContainer, {\n children: [\n config?.literals?.fromPrice,\n /*#__PURE__*/ jsx(ProductCampaignPrice, {\n children: price ? formatPriceWithCurrency(price, Currency) : /*#__PURE__*/ jsx(Icon, {\n \"data-testid\": \"IconMGlass\",\n className: \"nico-magnifier\"\n })\n })\n ]\n })\n ]\n });\n};\n\nexport { ProductCampaignItemMobile as default };\n","import { BoxShadow } from '@babylon/ui-kit-styles/common/mixins/box-shadow.styled';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst ProductCampaignCard = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignCard\",\n componentId: \"sc-80c47090-0\"\n})([\n \"\",\n \" padding:0px;border-top:1px solid \",\n \";border-bottom:1px solid \",\n \";background-color:\",\n \";margin-bottom:20px;width:248px;height:100%;cursor:pointer;\",\n \";\"\n], FlexMixin({\n direction: 'column',\n justify: 'flex-start'\n}), ({ theme })=>theme.colors.grays.lighter, ({ theme })=>theme.colors.grays.lighter, ({ theme })=>theme.colors.white.base, BoxShadow);\nconst ProductCampaignImageWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignImageWrapper\",\n componentId: \"sc-80c47090-1\"\n})([\n \"overflow:hidden;position:relative;\"\n]);\nconst ProductCampaignContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignContent\",\n componentId: \"sc-80c47090-2\"\n})([\n \"\",\n \" background-color:\",\n \";\"\n], FlexMixin({\n direction: 'column',\n justify: 'space-between'\n}), ({ theme })=>theme.colors.white.base);\nconst ProductCampaignTitle = /*#__PURE__*/ styled.h3.withConfig({\n displayName: \"ProductCampaignTitle\",\n componentId: \"sc-80c47090-3\"\n})([\n \"\",\n \" color:\",\n \";padding:10px 12px 0;\"\n], FontMixin({\n height: 'base',\n size: 'base',\n weight: 'regular'\n}), ({ theme })=>theme.colors.grays.darker);\n\nexport { ProductCampaignCard, ProductCampaignContent, ProductCampaignImageWrapper, ProductCampaignTitle };\n","import { jsx, Fragment, jsxs } from 'react/jsx-runtime';\nimport Image from '@babylon/ui-kit-base/components/multimedia/image';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport { ImageResize } from '../../constants.mjs';\nimport ProductCampaignItemMobile from './product-campaign-item/index.mjs';\nimport { ProductCampaignCard, ProductCampaignImageWrapper, ProductCampaignContent, ProductCampaignTitle } from './styled.mjs';\n\nconst ProductCampaignCardMobile = (data)=>{\n const { config, title = false, links = [], className = '', image } = data;\n return /*#__PURE__*/ jsx(Fragment, {\n children: /*#__PURE__*/ jsxs(ProductCampaignCard, {\n \"data-testid\": \"ProductCampaignCard\",\n className: className,\n children: [\n !!image && /*#__PURE__*/ jsx(ProductCampaignImageWrapper, {\n children: /*#__PURE__*/ jsx(Image, {\n ...ImageResize.MOBILE,\n ...image\n })\n }),\n /*#__PURE__*/ jsxs(ProductCampaignContent, {\n children: [\n /*#__PURE__*/ jsx(ProductCampaignTitle, {\n children: title\n }),\n !!links && links.map((obj)=>/*#__PURE__*/ jsx(ProductCampaignItemMobile, {\n obj: obj,\n config: config\n }, genKey({\n ProductCampaign: obj\n })))\n ]\n })\n ]\n })\n });\n};\n\nexport { ProductCampaignCardMobile as default };\n","import { generateViewsComponent } from '@babylon/ui-kit-helpers/views';\nimport ProductCampaignCardDesktop from './views/desktop/index.mjs';\nimport ProductCampaignCardMobile from './views/mobile/index.mjs';\n\nconst ProductCampaignCard = generateViewsComponent(ProductCampaignCardDesktop, ProductCampaignCardMobile);\n\nexport { ProductCampaignCard as default };\n","import { 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';\n\nconst Card = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Card\",\n componentId: \"sc-1781de4-0\"\n})([\n \"\",\n \" padding:0px;border-top:1px solid \",\n \";background-color:\",\n \";\",\n \" \",\n \";\"\n], FlexMixin({\n direction: 'initial'\n}), ({ theme })=>theme.colors.grays.lighter, ({ theme })=>theme.colors.white.base, BorderRadius({\n topLeft: '4px',\n bottomLeft: '4px'\n}), BoxShadow);\nconst ImageWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ImageWrapper\",\n componentId: \"sc-1781de4-1\"\n})([\n \"\",\n \" overflow:hidden;position:relative;figure{height:100%;img{height:100%;}}\"\n], BorderRadius({\n topLeft: '4px',\n bottomLeft: '4px'\n}));\nconst Content = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Content\",\n componentId: \"sc-1781de4-2\"\n})([\n \"\",\n \" background-color:\",\n \";padding:12px;width:100%;\"\n], FlexMixin({\n direction: 'column',\n justify: 'initial'\n}), ({ theme })=>theme.colors.white.base);\nconst TitleWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TitleWrapper\",\n componentId: \"sc-1781de4-3\"\n})([\n \"background-image:linear-gradient(to bottom,transparent 50%,#005591 100%);width:100%;height:100%;background-size:cover;position:absolute;bottom:0;left:0;\"\n]);\nconst Title = /*#__PURE__*/ styled.h3.withConfig({\n displayName: \"Title\",\n componentId: \"sc-1781de4-4\"\n})([\n \"\",\n \" \",\n \" position:absolute;bottom:0;left:0;right:0;color:\",\n \";height:50px;padding:0 12px;\"\n], FlexMixin({\n align: 'center'\n}), FontMixin({\n height: 'large',\n size: 'large',\n weight: 'light'\n}), ({ theme })=>theme.colors.white.base);\n\nexport { Card, Content, ImageWrapper, Title, TitleWrapper };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Image from '@babylon/ui-kit-base/components/multimedia/image';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport ProductCampaignItem from '../product-campaign-item/index.mjs';\nimport { Card, ImageWrapper, TitleWrapper, Title, Content } from './styled.mjs';\n\nconst ProductCampaignCardDesktop = (data)=>{\n const { config, title = false, list = [], className = '', image, searcher } = data;\n return /*#__PURE__*/ jsxs(Card, {\n \"data-testid\": \"ProductCampaignCardSmall\",\n className: className,\n children: [\n image && /*#__PURE__*/ jsxs(ImageWrapper, {\n children: [\n !!image && /*#__PURE__*/ jsx(Image, {\n ...image,\n resize: {\n width: 750,\n height: 650\n }\n }),\n title && /*#__PURE__*/ jsx(TitleWrapper, {\n children: /*#__PURE__*/ jsx(Title, {\n children: title\n })\n })\n ]\n }),\n /*#__PURE__*/ jsx(Content, {\n children: !!list && list.map((campaign, index)=>/*#__PURE__*/ jsx(ProductCampaignItem, {\n obj: campaign,\n config: config,\n image: image,\n searcherDefault: searcher,\n literals: config.literals\n }, genKey({\n ProductCampaign: campaign,\n index\n })))\n })\n ]\n });\n};\n\nexport { ProductCampaignCardDesktop as default };\n","import { 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, Padding, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport { ProductCampaignItemA, ProductCampaignItemDiv } from '../product-campaign-item/styled.mjs';\n\nconst Card = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Card\",\n componentId: \"sc-dc669530-0\"\n})([\n \"\",\n \" padding:0px;border-top:1px solid \",\n \";background-color:\",\n \";\",\n \" \",\n \";height:200px;\"\n], FlexMixin({\n direction: 'initial'\n}), ({ theme })=>theme.colors.grays.lighter, ({ theme })=>theme.colors.white.base, BorderRadius({\n topLeft: '4px',\n bottomLeft: '4px'\n}), BoxShadow);\nconst ImageWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ImageWrapper\",\n componentId: \"sc-dc669530-1\"\n})([\n \"\",\n \" width:45%;overflow:hidden;position:relative;figure{height:100%;img{height:100%;}}\"\n], BorderRadius({\n topLeft: '4px',\n bottomLeft: '4px'\n}));\nconst Content = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Content\",\n componentId: \"sc-dc669530-2\"\n})([\n \"\",\n \" background-color:\",\n \";padding:12px;width:55%;\",\n \"{flex:0 0 33%;:nth-child(3){border-bottom:none;\",\n \"}:nth-child(4){\",\n \"}:nth-child(-n + 3){\",\n \"}}\",\n \"{flex:0 0 33%;:nth-child(3){border-bottom:none;\",\n \"}:nth-child(4){\",\n \"}:nth-child(-n + 3){\",\n \"}}\"\n], FlexMixin({\n direction: 'column',\n justify: 'initial',\n wrap: true\n}), ({ theme })=>theme.colors.white.base, ProductCampaignItemA, Padding({\n bottom: '6px'\n}), Padding({\n top: '6px'\n}), Margin({\n left: '20px',\n right: '40px'\n}), ProductCampaignItemDiv, Padding({\n bottom: '6px'\n}), Padding({\n top: '6px'\n}), Margin({\n left: '20px',\n right: '40px'\n}));\nconst TitleWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TitleWrapper\",\n componentId: \"sc-dc669530-3\"\n})([\n \"background-image:linear-gradient(to bottom left,transparent 50%,#005591 85%);width:100%;height:100%;background-size:cover;position:absolute;bottom:0;left:0;\"\n]);\nconst Title = /*#__PURE__*/ styled.h3.withConfig({\n displayName: \"Title\",\n componentId: \"sc-dc669530-4\"\n})([\n \"\",\n \" \",\n \" position:absolute;bottom:0;left:0;right:0;color:\",\n \";height:50px;padding:0 12px;\"\n], FlexMixin({\n align: 'center'\n}), FontMixin({\n height: 'large',\n size: 'large',\n weight: 'light'\n}), ({ theme })=>theme.colors.white.base);\n\nexport { Card, Content, ImageWrapper, Title, TitleWrapper };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Image from '@babylon/ui-kit-base/components/multimedia/image';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport ProductCampaignItem from '../product-campaign-item/index.mjs';\nimport { Card, ImageWrapper, TitleWrapper, Title, Content } from './styled.mjs';\n\nconst ProductCampaignCardThin = (data)=>{\n const { config, title = false, list = [], className = '', image, searcher } = data;\n return /*#__PURE__*/ jsxs(Card, {\n \"data-testid\": \"ProductCampaignCardThin\",\n className: className,\n children: [\n image && /*#__PURE__*/ jsxs(ImageWrapper, {\n children: [\n !!image && /*#__PURE__*/ jsx(Image, {\n ...image,\n resize: {\n width: 750,\n height: 250\n }\n }),\n /*#__PURE__*/ jsx(TitleWrapper, {\n children: title && /*#__PURE__*/ jsx(Title, {\n children: title\n })\n })\n ]\n }),\n /*#__PURE__*/ jsx(Content, {\n children: !!list && list.map((campaign, index)=>/*#__PURE__*/ jsx(ProductCampaignItem, {\n obj: campaign,\n config: config,\n image: image,\n searcherDefault: searcher,\n literals: config.literals\n }, genKey({\n ProductCampaign: campaign,\n index\n })))\n })\n ]\n });\n};\n\nexport { ProductCampaignCardThin as default };\n","import { GridMixin } from '@babylon/ui-kit-styles/common/mixins/grid.styled';\nimport styled, { css } from 'styled-components';\n\nconst ProductCampaignInner = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignInner\",\n componentId: \"sc-b94873b1-0\"\n})([\n \"\",\n \"\"\n], ({ length })=>/*#__PURE__*/ css([\n \"\",\n \"\"\n ], GridMixin({\n cols: length <= 4 ? length : 3,\n gap: '40px'\n })));\n\nexport { ProductCampaignInner };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Title from '@babylon/ui-kit-base/components/text/title';\nimport ProductCampaignCard from '@babylon/ui-kit-cards/components/cards/product-campaign-card';\nimport ProductCampaignCardSmall from '@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/product-campaign-card-small';\nimport ProductCampaignCardThin from '@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/product-campaign-card-thin';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport { Container } from '@babylon/ui-kit-styles/common/mixins/container.styled';\nimport classNames from 'classnames';\nimport { ProductCampaignInner } from './styled.mjs';\n\n//TODO: review location, check if it should be here\nconst ProductCampaignListItems = ({ items, childClassName, ...rest })=>items?.map((childProps, index)=>{\n let childPropsWithConfig = {\n ...childProps,\n ...rest\n };\n if (items.length === 1) {\n return /*#__PURE__*/ jsx(ProductCampaignCardThin, {\n className: childClassName,\n ...childPropsWithConfig\n }, genKey(`${JSON.stringify(childPropsWithConfig)} ${index}`));\n } else if (items.length === 2) {\n return /*#__PURE__*/ jsx(ProductCampaignCardSmall, {\n className: childClassName,\n ...childPropsWithConfig\n }, genKey(`${JSON.stringify(childPropsWithConfig)} ${index}`));\n } else {\n return /*#__PURE__*/ jsx(ProductCampaignCard, {\n className: childClassName,\n ...childPropsWithConfig\n }, genKey(`${JSON.stringify(childPropsWithConfig)} ${index}`));\n }\n });\nconst ProductCampaignListDesktop = ({ title, items = [], className = '', childClassName = '', ...rest })=>/*#__PURE__*/ jsxs(Container, {\n \"data-testid\": \"ProductCampaignList\",\n className: classNames('card-product-campaign', {\n [className]: !!className\n }),\n children: [\n /*#__PURE__*/ jsx(Title, {\n textAlign: \"center\",\n \"data-testid\": \"ProductCampaignTitle\",\n title: title\n }),\n /*#__PURE__*/ jsx(ProductCampaignInner, {\n length: items.length,\n children: /*#__PURE__*/ jsx(ProductCampaignListItems, {\n items: items,\n childClassName: childClassName,\n ...rest\n })\n })\n ]\n });\n\nexport { ProductCampaignListDesktop as default };\n","var SearcherType;\n(function(SearcherType) {\n SearcherType[\"ROUNDTRIP\"] = \"ROUNDTRIP\";\n SearcherType[\"CRU\"] = \"CRU\";\n SearcherType[\"ONEWAY\"] = \"ONEWAY\";\n SearcherType[\"FLIGHTHOTEL\"] = \"FLIGHTHOTEL\";\n SearcherType[\"TRAINHOTEL\"] = \"TRAINHOTEL\";\n SearcherType[\"FERRYHOTEL\"] = \"FERRYHOTEL\";\n SearcherType[\"FERRY\"] = \"FERRY\";\n SearcherType[\"LEI\"] = \"LEI\";\n SearcherType[\"ACTIVITIES\"] = \"ACTIVITIES\";\n SearcherType[\"SEARCHER_TRAIN_HOTEL\"] = \"SEARCHER_TRAIN_HOTEL\";\n SearcherType[\"SEARCHER_FERRY_HOTEL\"] = \"SEARCHER_FERRY_HOTEL\";\n SearcherType[\"SEARCHER_FLIGHT_HOTEL\"] = \"SEARCHER_FLIGHT_HOTEL\";\n SearcherType[\"SEARCHER_ACTIVITIES\"] = \"SEARCHER_ACTIVITIES\";\n})(SearcherType || (SearcherType = {}));\n\nexport { SearcherType };\n","import Modal from '@babylon/ui-kit-structures/components/others/modal';\nimport { ModalHeader, ModalHeaderText, ModalCloseButton, ModalContent } from '@babylon/ui-kit-structures/components/others/modal/styled';\nimport { FontMixin, FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst PriceChartMobileBox = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceChartMobileBox\",\n componentId: \"sc-964a922e-0\"\n})([\n \"\"\n]);\nconst ModalWrapper = /*#__PURE__*/ styled(Modal).withConfig({\n displayName: \"ModalWrapper\",\n componentId: \"sc-964a922e-1\"\n})([\n \"\",\n \"{\",\n \"{color:\",\n \";\",\n \" text-align:center;margin-left:36px;}\",\n \"{color:\",\n \";}}\",\n \"{background-color:\",\n \";}\"\n], ModalHeader, ModalHeaderText, ({ theme })=>theme.colors.white.base, FontMixin({\n size: 'large',\n weight: 'medium'\n}), ModalCloseButton, ({ theme })=>theme.colors.white.base, ModalContent, ({ theme })=>theme.colors.primary.base);\nconst Wrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Wrapper\",\n componentId: \"sc-964a922e-2\"\n})([\n \"\",\n \" overflow-y:auto;padding:0 4px 4px;&::-webkit-scrollbar{height:6px;background-color:\",\n \";}&::-webkit-scrollbar-track{border-radius:10px;background-color:\",\n \";}&::-webkit-scrollbar-thumb{border-radius:3px;background-color:\",\n \";}\"\n], FlexMixin({\n align: 'end'\n}), ({ theme })=>theme.colors.grays.light, ({ theme })=>theme.colors.grays.light, ({ theme })=>theme.colors.grays.base);\nconst Item = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Item\",\n componentId: \"sc-964a922e-3\"\n})([\n \"\",\n \" margin-right:10px;i{\",\n \" color:\",\n \";}&:last-of-type{margin-right:0;}\"\n], FlexMixin({\n direction: 'column',\n align: 'center'\n}), FontMixin({\n size: 'base',\n weight: 'bold',\n height: 'large'\n}), ({ theme })=>theme.colors.text.light);\nconst Block = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Block\",\n componentId: \"sc-964a922e-4\"\n})([\n \"\",\n \" \",\n \" background-color:\",\n \";color:\",\n \";border-top-left-radius:4px;border-top-right-radius:4px;cursor:pointer;padding:6px 8px 8px;width:54px;min-height:16px;&.is-cheapest{background-color:\",\n \";}\"\n], FlexMixin({\n align: 'end',\n justify: 'center'\n}), FontMixin({\n size: 'medium',\n weight: 'medium',\n height: 'large'\n}), ({ theme })=>theme.colors.primary.lightest, ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.secondary.base);\nconst Price = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"Price\",\n componentId: \"sc-964a922e-5\"\n})([\n \"\",\n \" color:\",\n \";\"\n], FontMixin({\n size: 'medium',\n weight: 'medium',\n height: 'large'\n}), ({ theme })=>theme.colors.text.light);\nconst Link = /*#__PURE__*/ styled.a.withConfig({\n displayName: \"Link\",\n componentId: \"sc-964a922e-6\"\n})([\n \"\",\n \" color:\",\n \";margin-top:12px;\"\n], FontMixin({\n size: 'small',\n weight: 'light',\n height: 'small'\n}), ({ theme })=>theme.colors.text.dark);\n\nexport { Block, Item, Link, ModalWrapper, Price, PriceChartMobileBox, Wrapper };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport contextBabylon from '@babylon/ui-kit-context';\nimport { formatPriceWithCurrency } from '@babylon/ui-kit-helpers/currency';\nimport { renderSearcherSkeleton } from '@babylon/ui-kit-searchers/components/others/searcher-modal/views/desktop/utils';\nimport { SearcherId } from '@babylon/ui-kit-searchers/types';\nimport cloneDeep from 'clone-deep';\nimport _merge from 'lodash/merge.js';\nimport { useContext, lazy, Suspense } from 'react';\nimport { useBoolean } from 'usehooks-ts';\nimport { SearcherType } from '../../../types.mjs';\nimport { getProduct, getPricesHeightAndCheapest } from '../../../utils/index.mjs';\nimport { Item, Price, Block, Link, ModalWrapper } from '../styled.mjs';\n\nconst SearcherCru = /*#__PURE__*/ lazy(()=>import('@babylon/ui-kit-searchers/components/searchers/searcher-cru'));\nconst SearcherLeiMobile = /*#__PURE__*/ lazy(()=>import('@babylon/ui-kit-searchers/components/searchers/searcher-lei/views/mobile'));\nconst SearcherFliMobile = /*#__PURE__*/ lazy(()=>import('@babylon/ui-kit-searchers/components/searchers/searcher-fli/views/mobile'));\nconst SearcherFlightHotelMobile = /*#__PURE__*/ lazy(()=>import('@babylon/ui-kit-searchers/components/searchers/searcher-flight-hotel/views/mobile'));\nconst SearcherFerryHotelMobile = /*#__PURE__*/ lazy(()=>import('@babylon/ui-kit-searchers/components/searchers/searcher-ferry-hotel/views/mobile'));\nconst SearcherActivitiesMobile = /*#__PURE__*/ lazy(()=>import('@babylon/ui-kit-searchers/components/searchers/searcher-activities/views/mobile'));\nconst SearcherFerryMobile = /*#__PURE__*/ lazy(()=>import('@babylon/ui-kit-searchers/components/searchers/searcher-fer/views/mobile'));\nconst SearcherTrainHotelMobile = /*#__PURE__*/ lazy(()=>import('@babylon/ui-kit-searchers/components/searchers/searcher-train-hotel/views/mobile'));\nconst BarItem = (props)=>{\n const { cheapestPointers, higherPrice, item, index, titleModal, literals, searcherDefault } = props;\n const { price = 0, link } = item;\n const product = getProduct(props);\n const searcher = {\n config: {\n literals\n },\n ...searcherDefault,\n ...item.searcher\n };\n const searcherProps = {\n ...searcher,\n hasModalParent: true\n };\n const { Currency, Language } = useContext(contextBabylon);\n const pricesData = getPricesHeightAndCheapest({\n cheapestPointers,\n index,\n price,\n higherPrice,\n MAXHEIGHT: 100\n });\n const { value: isVisible, toggle: toggleVisibility } = useBoolean();\n const onClickBar = (event)=>{\n event.preventDefault();\n toggleVisibility();\n };\n const renderSearcher = (Searcher, searcherId, data)=>{\n if (!data) return null;\n const props = _merge(cloneDeep(data));\n return /*#__PURE__*/ jsx(Suspense, {\n fallback: renderSearcherSkeleton(searcherId, {\n onModal: true\n }),\n children: /*#__PURE__*/ jsx(Searcher, {\n props: props\n })\n });\n };\n const SearcherPriceChartType = {\n [SearcherType.FLIGHTHOTEL]: {\n render: ()=>renderSearcher(SearcherFlightHotelMobile, SearcherId.FLI_HOT, searcherProps)\n },\n [SearcherType.TRAINHOTEL]: {\n render: ()=>renderSearcher(SearcherTrainHotelMobile, SearcherId.TRA_HOT, searcherProps)\n },\n [SearcherType.FERRYHOTEL]: {\n render: ()=>renderSearcher(SearcherFerryHotelMobile, SearcherId.FER_HOT, searcherProps)\n },\n [SearcherType.FERRY]: {\n render: ()=>renderSearcher(SearcherFerryMobile, SearcherId.FER, searcherProps)\n },\n [SearcherType.SEARCHER_FLIGHT_HOTEL]: {\n render: ()=>renderSearcher(SearcherFlightHotelMobile, SearcherId.FLI_HOT, searcherProps)\n },\n [SearcherType.SEARCHER_TRAIN_HOTEL]: {\n render: ()=>renderSearcher(SearcherTrainHotelMobile, SearcherId.TRA_HOT, searcherProps)\n },\n [SearcherType.SEARCHER_FERRY_HOTEL]: {\n render: ()=>renderSearcher(SearcherFerryHotelMobile, SearcherId.FER_HOT, searcherProps)\n },\n [SearcherType.SEARCHER_ACTIVITIES]: {\n render: ()=>renderSearcher(SearcherActivitiesMobile, SearcherId.ACTIVITIES, searcherProps)\n },\n [SearcherType.ROUNDTRIP]: {\n render: ()=>renderSearcher(SearcherFliMobile, SearcherId.FLI, searcherProps)\n },\n [SearcherType.ONEWAY]: {\n render: ()=>renderSearcher(SearcherFliMobile, SearcherId.FLI, searcherProps)\n },\n [SearcherType.CRU]: {\n render: ()=>renderSearcher(SearcherCru, SearcherId.CRU, searcherProps)\n },\n [SearcherType.LEI]: {\n render: ()=>renderSearcher(SearcherLeiMobile, SearcherId.LEI, searcherProps)\n },\n [SearcherType.ACTIVITIES]: {\n render: ()=>renderSearcher(SearcherActivitiesMobile, SearcherId.ACTIVITIES, searcherProps)\n }\n };\n return /*#__PURE__*/ jsxs(Item, {\n children: [\n price > 0 ? /*#__PURE__*/ jsx(Price, {\n children: formatPriceWithCurrency(Math.floor(price), Currency, Language)\n }) : /*#__PURE__*/ jsx(Icon, {\n className: `nico-magnifier`\n }),\n /*#__PURE__*/ jsx(Block, {\n className: pricesData.cheapestClass,\n style: {\n height: pricesData.blockHeight + 30\n },\n onClick: onClickBar,\n \"data-testid\": \"priceChartMobileBlock\"\n }),\n link && /*#__PURE__*/ jsx(Link, {\n \"data-testid\": \"link\",\n href: link?.href,\n title: link?.title,\n children: link.content\n }),\n /*#__PURE__*/ jsx(ModalWrapper, {\n hide: toggleVisibility,\n visible: isVisible,\n header: titleModal,\n closeOnClickOut: true,\n closeOnEscapeKeyDown: true,\n variant: \"fullScreen\",\n color: \"primary\",\n content: /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"PriceChartMobileModal\",\n children: product && SearcherPriceChartType[product]?.render()\n })\n })\n ]\n });\n};\n\nexport { BarItem as default };\n","import { jsx, Fragment, jsxs } from 'react/jsx-runtime';\nimport Title from '@babylon/ui-kit-base/components/text/title';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport classNames from 'classnames';\nimport { getPricesInfo } from '../../utils/index.mjs';\nimport BarItem from './bar-item/index.mjs';\nimport { PriceChartMobileBox, Wrapper } from './styled.mjs';\n\nconst PriceChartMobile = ({ props, className })=>{\n const { title, subtitle, items = [], searcher, titleModal, config } = props ?? {};\n const { literals } = config ?? {};\n const priceInfo = getPricesInfo(items);\n return /*#__PURE__*/ jsx(Fragment, {\n children: /*#__PURE__*/ jsxs(PriceChartMobileBox, {\n className: classNames(`${className}`),\n \"data-testid\": \"PriceChartMobile\",\n children: [\n /*#__PURE__*/ jsx(Title, {\n title: title,\n subTitle: subtitle,\n \"data-testid\": \"title\"\n }),\n /*#__PURE__*/ jsx(Wrapper, {\n children: items.map((item, index)=>/*#__PURE__*/ jsx(BarItem, {\n item: item,\n cheapestPointers: priceInfo.cheapestPointers,\n higherPrice: priceInfo.higherPrice,\n index: index,\n titleModal: titleModal,\n literals: literals,\n searcherDefault: searcher,\n type: config.type\n }, genKey(item)))\n })\n ]\n })\n });\n};\n\nexport { PriceChartMobile as default };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Title from '@babylon/ui-kit-base/components/text/title';\nimport ProductCampaignCard from '@babylon/ui-kit-cards/components/cards/product-campaign-card';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport ScrollHorizontal from '@babylon/ui-kit-structures/components/others/scroll-horizontal';\nimport classNames from 'classnames';\n\nconst ProductCampaignListMobile = ({ title, items = [], className, childClassName, ...rest })=>/*#__PURE__*/ jsxs(\"div\", {\n \"data-testid\": \"ProductCampaignList\",\n className: classNames('m-card-product-advanced-scroll', {\n [className]: !!className\n }),\n children: [\n /*#__PURE__*/ jsx(Title, {\n textAlign: \"center\",\n \"data-testid\": \"ProductCampaignTitle\",\n title: title\n }),\n /*#__PURE__*/ jsx(ScrollHorizontal, {\n children: items?.map((childProps)=>{\n let childPropsWithConfig = {\n ...childProps,\n ...rest\n };\n return /*#__PURE__*/ jsx(ProductCampaignCard, {\n className: childClassName,\n ...childPropsWithConfig\n }, genKey({\n ProductCampaignList: childPropsWithConfig\n }));\n })\n })\n ]\n });\n\nexport { ProductCampaignListMobile as default };\n"],"file":"cdn-placeholder/babylon/logitravel-flights/client/chunks/index.6uXCaiDA.js"}