{"version":3,"file":"211.6641063d060f4bbe30d3.min.js","mappings":"2OA2CA,QAzCMA,SAAAA,I,2bACF,WAAYC,GAAO,kCACTA,G,qCAGV,WAAS,WAGL,GAAIC,KAAKD,MAAME,WAAY,CACvB,IAAMC,EAASF,KAAKD,MAAME,WAAWE,MAAM,KACrCC,EAAcJ,KAAKD,MAAMM,gBAAgBF,MAAM,KAErD,OACI,wBAAC,IAAD,CAAUG,QAAS,CACfC,iBAAiB,EACjBC,UAAU,EACVC,SAAoC,SAA1BT,KAAKD,MAAMW,WACrBC,YAAY,EACZC,UAAW,OACXC,YAAY,EACZC,SAAU,IAGNZ,EAAOa,KAAI,SAACC,EAAOC,GAAR,OACP,+BAAKC,UAAU,sBACX,+BAAKC,MAAO,CAAEC,OAAQ,OAAQC,aAAc,OAASC,IAAKN,EAAOO,IAAI,KAExC,SAAzB,EAAKxB,MAAMyB,WAAwBpB,EAAYqB,QAAWR,EAAQ,GAAM,gCAAMC,UAAU,4BAA6Bd,EAAYa,SAU7J,OAAO,S,EArCTnB,CAA+B4B,EAAAA","sources":["webpack://Vollrath.Kentico.Web/./js/shared/react/components/ser-vue-ingredient-slider.jsx"],"sourcesContent":["import React, { Component } from \"react\";\r\nimport Carousel from './carousel.jsx';\r\nclass SerVueIngredientSlider extends Component {\r\n constructor(props) {\r\n super(props);\r\n }\r\n\r\n render() {\r\n\r\n\r\n if (this.props.imagesText) {\r\n const images = this.props.imagesText.split(',');\r\n const ingredients = this.props.ingredientsText.split(',');\r\n\r\n return (\r\n <Carousel options={{\r\n prevNextButtons: false,\r\n pageDots: false,\r\n autoPlay: this.props.autoScroll === 'True' ? true : false,\r\n groupCells: true,\r\n cellAlign: 'left',\r\n wrapAround: true,\r\n lazyLoad: 2,\r\n }}>\r\n {\r\n images.map((image, index) => (\r\n <div className=\"ser-vue-ingredient\">\r\n <img style={{ height: \"100%\", borderRadius: \"0px\" }} src={image} alt=\"\" />\r\n {\r\n this.props.showTitle === 'True' && ingredients.length >= (index + 1) && <span className=\"ser-vue-ingredient-title\">{ ingredients[index] }</span>\r\n }\r\n \r\n </div>\r\n ))\r\n }\r\n </Carousel>\r\n );\r\n }\r\n\r\n return null;\r\n }\r\n}\r\n\r\nexport default SerVueIngredientSlider;"],"names":["SerVueIngredientSlider","props","this","imagesText","images","split","ingredients","ingredientsText","options","prevNextButtons","pageDots","autoPlay","autoScroll","groupCells","cellAlign","wrapAround","lazyLoad","map","image","index","className","style","height","borderRadius","src","alt","showTitle","length","Component"],"sourceRoot":""}