{"version":3,"file":"index.Bv4mhghP.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-wrappers/esm/helpers/transports/card-product/mobile/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-wrappers/esm/helpers/transports/carousel-product/mobile/index.mjs"],"sourcesContent":["const productCardTransportConverterMobile = (item, config)=>{\n const { link = {\n href: ''\n }, image = {\n src: '',\n alt: '',\n alternative: '',\n text: '',\n title: ''\n }, title = '', price = {}, textInfo, descriptions = [], isBlackfriday = false, departureContent = {}, returnContent = {} } = item;\n return {\n config: {\n ...config,\n isBlackfriday,\n typeCard: config?.typeCard,\n literals: {\n ...config?.literals,\n fromCaption: item.price?.from\n }\n },\n link,\n image,\n title,\n subtitle: item.subtitle,\n textInfo,\n descriptions,\n price: {\n value: price?.value ? Math.floor(price?.value) : undefined,\n from: !!price?.from\n },\n departureContent,\n returnContent\n };\n};\n\nexport { productCardTransportConverterMobile };\n","import { productCardTransportConverterMobile } from '../../card-product/mobile/index.mjs';\n\nconst carouselProductTransportsConverterMobile = (carousel)=>{\n const { items = [], link, title = '', isFirstComponent } = carousel;\n return {\n props: {\n config: {\n literals: {\n viewMore: link?.content ?? ''\n }\n },\n title: {\n title: title ?? ''\n },\n items: items?.map((item)=>productCardTransportConverterMobile(item, carousel.config)),\n link,\n isFirstComponent\n }\n };\n};\nconst tabProductTransportConverterMobile = (tab)=>({\n config: {\n literals: {\n viewMore: tab.data?.link?.content ?? ''\n }\n },\n name: tab.name ?? '',\n title: tab.title ?? '',\n params: tab.arguments ?? [],\n items: tab.data?.items?.map((item)=>productCardTransportConverterMobile(item, tab.data?.config)),\n link: tab.data?.link\n });\n\nexport { carouselProductTransportsConverterMobile, tabProductTransportConverterMobile };\n"],"names":["productCardTransportConverterMobile","item","config","_a","link","image","title","price","textInfo","descriptions","isBlackfriday","departureContent","returnContent","carouselProductTransportsConverterMobile","carousel","items","isFirstComponent","tabProductTransportConverterMobile","tab","_b","_c","_d","_e"],"mappings":"AAAA,MAAMA,EAA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