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,OAAQtD,CACX,EAAET,EAAO,CACN,gBAAiB+D,CACpB,EAAC,CAAC,CACV,CACjB,CAAa,CACJ,CACT,CAAK,CACL,EC3BM+F,GAA4B,CAAC,CAAE,MAAA1L,EAAO,MAAAmC,EAAQ,CAAE,EAAE,UAAAkD,EAAW,eAAA0D,EAAgB,GAAGC,KAAuB1I,OAAK,MAAO,CACjH,cAAe,sBACf,UAAWkF,EAAW,iCAAkC,CACpD,CAACH,CAAS,EAAG,CAAC,CAACA,CAC3B,CAAS,EACD,SAAU,CACQ9E,MAAImB,EAAO,CACrB,UAAW,SACX,cAAe,uBACf,MAAO1B,CACvB,CAAa,EACaO,MAAIoB,GAAkB,CAChC,SAAUQ,GAAA,YAAAA,EAAO,IAAK8G,GAAa,CAC/B,IAAIC,EAAuB,CACvB,GAAGD,EACH,GAAGD,CAC3B,EACoB,OAAqBzI,MAAIuH,GAAqB,CAC1C,UAAWiB,EACX,GAAGG,CACN,EAAEtH,EAAO,CACN,oBAAqBsH,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","Title","ScrollHorizontal","genKey","WeatherCard","generateViewsComponent","WeatherSlider","Slider","WeatherCarouselDesktop","subtitle","items","useTheme","config","Container","weather","getPricesInfo","prices","item","pricesHigherThanZero","cheapestPrice","higherPrice","cheapestPointers","element","index","getPricesHeightAndCheapest","price","MAXHEIGHT","cheapestClass","blockHeight","getProduct","props","_a","_b","PriceChartBox","Wrapper","Item","Block","Link","Anchor","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","nullFunction","Tooltip","commonProps","ProductCampaignCard","ProductCampaignImageWrapper","ProductCampaignContent","ProductCampaignTitle","ProductCampaignCardDesktop","data","list","Image","ImageWrapper","Content","TitleWrapper","campaign","ProductCampaignCardThin","ProductCampaignInner","length","GridMixin","ProductCampaignListItems","childClassName","rest","childProps","childPropsWithConfig","ProductCampaignCardSmall","ProductCampaignListDesktop","SearcherType","PriceChartMobileBox","ModalWrapper","Modal","ModalHeader","ModalHeaderText","ModalCloseButton","ModalContent","Price","SearcherCruMobile","lazy","__vitePreload","SearcherLeiMobile","n","SearcherFliMobile","SearcherFlightHotelMobile","SearcherFerryHotelMobile","SearcherActivitiesMobile","SearcherFerryMobile","SearcherTrainHotelMobile","product","searcherProps","renderSearcher","Searcher","searcherId","_merge","cloneDeep","Suspense","renderSearcherSkeletonMobile","SearcherPriceChartType","SearcherId","PriceChartMobile","ProductCampaignPriceContainer","ProductCampaignItemMobile","content","ProductCampaignCardMobile","links","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],"sources":["../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/weather-card/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/weather-card/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/weather-card/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/weather-card/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/weather-card/index.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/weather-carousel/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/weather-carousel/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/price-chart/utils/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/price-chart/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/price-chart/views/desktop/bar-item/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/price-chart/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/constants.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/product-campaign-item/hooks/useProductCampaignItem.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/product-campaign-item/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/product-campaign-item/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/product-campaign-card-small/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/product-campaign-card-small/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/product-campaign-card-thin/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop/product-campaign-card-thin/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/product-campaign-list/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/product-campaign-list/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/price-chart/types.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/price-chart/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/price-chart/views/mobile/bar-item/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/price-chart/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/mobile/product-campaign-item/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/mobile/product-campaign-item/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-campaign-card/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/product-campaign-list/views/mobile/index.js"],"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})([\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})([\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})([\n ``,\n ``\n], Padding({\n y: '16px',\n x: '32px'\n}));\nconst Description = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"Description\"\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})([\n ``,\n ``\n], FlexMixin({\n align: 'center',\n justify: 'space-between'\n}));\nconst Temperature = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Temperature\"\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})([\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.js';\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})([\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})([\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})([\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})([\n ``,\n ``\n], FlexMixin({\n direction: 'column'\n}));\nconst TodayDegrees = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TodayDegrees\"\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})([\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})([\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})([\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})([\n ``\n]);\nconst DayMonth = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"DayMonth\"\n})([\n `white-space:nowrap;`\n]);\nconst DayDegrees = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"DayDegrees\"\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 Title 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.js';\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(Title, {\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.js';\nimport WeatherCardMobile from './views/mobile/index.js';\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})([\n ``\n]);\nconst WeatherSlider = /*#__PURE__*/ styled(Slider).withConfig({\n displayName: \"WeatherSlider\"\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/views/desktop';\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.js';\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 Anchor from '@babylon/ui-kit-base/components/others/anchor';\nimport { 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})([\n ``\n]);\nconst Wrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Wrapper\"\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})([\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})([\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(Anchor).withConfig({\n displayName: \"Link\"\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.js';\nimport { Item, Block, Link } from '../styled.js';\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 ...link,\n target: link?.target ?? '_blank'\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/views/desktop';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport classNames from 'classnames';\nimport { getPricesInfo } from '../../utils/index.js';\nimport BarItem from './bar-item/index.js';\nimport { PriceChartBox, Wrapper } from './styled.js';\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 Anchor from '@babylon/ui-kit-base/components/others/anchor';\nimport { 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(Anchor).withConfig({\n displayName: \"ProductCampaignItemA\"\n})([\n ``,\n `;cursor:pointer;`\n], ProductCampaignItemCSS);\nconst ProductCampaignItemDiv = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignItemDiv\"\n})([\n ``,\n `;cursor:pointer;`\n], ProductCampaignItemCSS);\nconst ProductCampaignDate = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"ProductCampaignDate\"\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})([\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})([\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, Fragment } 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.js';\nimport contextBabylon from '@babylon/ui-kit-context';\nimport { formatPriceWithCurrency } from '@babylon/ui-kit-helpers/currency';\nimport { nullFunction } from '@babylon/ui-kit-helpers/null';\nimport { useContext } from 'react';\nimport useProductCampaignItem from './hooks/useProductCampaignItem.js';\nimport { ProductCampaignItem as ProductCampaignItem$1, ProductCampaignDate, ProductCampaignPrice, ProductCampaignItemA, ProductCampaignItemDiv } from './styled.js';\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 : nullFunction,\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})([\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})([\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})([\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})([\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.js';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport ProductCampaignItem from './product-campaign-item/index.js';\nimport { ProductCampaignCard, ProductCampaignImageWrapper, ProductCampaignTitle, ProductCampaignContent } from './styled.js';\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 { 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})([\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})([\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})([\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})([\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})([\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.js';\nimport { Card, ImageWrapper, TitleWrapper, Title, Content } from './styled.js';\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 isLazy: true\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.js';\n\nconst Card = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Card\"\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})([\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})([\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})([\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})([\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.js';\nimport { Card, ImageWrapper, TitleWrapper, Title, Content } from './styled.js';\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 isLazy: true\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})([\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/views/desktop';\nimport ProductCampaignCard from '@babylon/ui-kit-cards/components/cards/product-campaign-card/views/desktop';\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.js';\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 Anchor from '@babylon/ui-kit-base/components/others/anchor';\nimport 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})([\n ``\n]);\nconst ModalWrapper = /*#__PURE__*/ styled(Modal).withConfig({\n displayName: \"ModalWrapper\"\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})([\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})([\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})([\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})([\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(Anchor).withConfig({\n displayName: \"Link\"\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 { renderSearcherSkeletonMobile } from '@babylon/ui-kit-searchers/helpers/skeleton/views/mobile';\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.js';\nimport { getProduct, getPricesHeightAndCheapest } from '../../../utils/index.js';\nimport { Item, Price, Block, Link, ModalWrapper } from '../styled.js';\n\nconst SearcherCruMobile = /*#__PURE__*/ lazy(()=>import('@babylon/ui-kit-searchers/components/searchers/searcher-cru/views/mobile'));\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: renderSearcherSkeletonMobile(searcherId),\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(SearcherCruMobile, 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 ...link\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/views/mobile';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport classNames from 'classnames';\nimport { getPricesInfo } from '../../utils/index.js';\nimport BarItem from './bar-item/index.js';\nimport { PriceChartMobileBox, Wrapper } from './styled.js';\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 Anchor from '@babylon/ui-kit-base/components/others/anchor';\nimport { 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(Anchor).withConfig({\n displayName: \"ProductCampaignItem\"\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})([\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})([\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})([\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 { useContext } from 'react';\nimport { ProductCampaignItem, ProductCampaignDate, ProductCampaignPriceContainer, ProductCampaignPrice } from './styled.js';\n\nconst ProductCampaignItemMobile = ({ obj, config })=>{\n const { Currency } = useContext(contextBabylon);\n const { price, content } = obj;\n return /*#__PURE__*/ jsxs(ProductCampaignItem, {\n ...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})([\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})([\n `overflow:hidden;position:relative;`\n]);\nconst ProductCampaignContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCampaignContent\"\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})([\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 { 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 { ImageResize } from '../../constants.js';\nimport ProductCampaignItemMobile from './product-campaign-item/index.js';\nimport { ProductCampaignCard, ProductCampaignImageWrapper, ProductCampaignContent, ProductCampaignTitle } from './styled.js';\n\nconst ProductCampaignCardMobile = (data)=>{\n const { config, title = false, links = [], className = '', image } = data;\n return /*#__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\nexport { ProductCampaignCardMobile as default };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Title from '@babylon/ui-kit-base/components/text/title/views/mobile';\nimport ProductCampaignCard from '@babylon/ui-kit-cards/components/cards/product-campaign-card/views/mobile';\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.BgCo1fqP.js"}