{"version":3,"sources":["common/js/components/public/productstructure/multipleModelsV2Component.js"],"names":["multipleModelsV2","setupCarousel","moreThanOneImage","$","length","breakpoint","value","flickity","arrowShape","lazyLoad","prevNextButtons","pageDots","draggable","cellAlign","contain"],"mappings":"AAAA,IAAIA,kBACFC,cAAe,SAASA,gBACtB,IAAIC,iBAAmBC,EAAE,2CAA2CC,OAAS,EACpD,OAArBC,WAAWC,OAAuC,OAArBD,WAAWC,OAEtCJ,kBACFC,EAAE,uCAAuCI,UACvCC,WAAY,oDACZC,UAAU,EACVC,gBAAiBR,iBACjBS,UAAU,EACVC,WAAW,EACXC,UAAW,OACXC,SAAS,MAMnBX,EAAE,WACAH,iBAAiBC","file":"../../../../../../common/js/components/public/productstructure/multipleModelsV2Component-5ebc6590e8.js","sourcesContent":["var multipleModelsV2 = {\n setupCarousel: function setupCarousel() {\n var moreThanOneImage = $(\".multipleModelsV2Component-carouselItem\").length > 4;\n if (breakpoint.value === 'md' || breakpoint.value === 'lg') {\n //Only init carousel if more than 3 slides\n if (moreThanOneImage) {\n $('.multipleModelsV2Component-carousel').flickity({\n arrowShape: 'M70.5 99.3L21.2 50 70.5.7 76 6.2 32.2 50 76 93.8z',\n lazyLoad: true,\n prevNextButtons: moreThanOneImage,\n pageDots: false,\n draggable: false,\n cellAlign: 'left',\n contain: true\n });\n }\n }\n }\n};\n$(function () {\n multipleModelsV2.setupCarousel();\n});"]}