{"version":3,"sources":["webpack:///./Scripts/Components/ImageGalleryViewer.js","webpack:///./Scripts/Containers/ImageGallery.container.js"],"names":["ImageGalleryViewer","Component","props","_classCallCheck","this","_super","call","galleryImages","images","map","image","index","original","src","thumbnail","length","react_default","a","createElement","react","image_gallery_default","_extends","lazyLoad","showPlayButton","onErrorImageURL","showFullscreenButton","slideDuration","thumbnailPosition","items","ImageGalleryContainer","Components_ImageGalleryViewer"],"mappings":"okDAmCeA,oPAhCkBC,2BAC7B,SAAAD,EAAYE,GAAO,mGAAAC,CAAAC,KAAAJ,GAAAK,EAAAC,KAAAF,KACTF,2FAGN,IAAMK,EAAgBH,KAAKF,MAAMM,OAAOC,IAAI,SAACC,EAAOC,GAChD,OACIC,SAAUF,EAAMG,IAChBC,UAAWJ,EAAMG,OAazB,OACKT,KAAKF,MAAMM,QAAUJ,KAAKF,MAAMM,OAAOO,OAAS,EAAIC,EAAAC,EAAAC,cAACC,EAAA,SAAD,MACrDH,EAAAC,EAAAC,cAACC,EAAA,SAAD,KACMZ,EAAcQ,OAAS,GACrBC,EAAAC,EAAAC,cAACE,EAAAH,EAADI,GAAcT,SAAUL,EAAc,GAAGK,WAZjDU,UAAU,EACVC,gBAAgB,EAChBC,gBAAiB,0CACjBC,sBAAsB,EACtBC,cAAe,IACfC,kBAAmB,WAO6DC,MAAOrB,eCEpFsB,UA1Be,SAAA3B,GAAK,OAAIc,EAAAC,EAAAC,cAACY,EAAuB5B","file":"7.c9f9192acd09960e45c2.js","sourcesContent":["import React, { Component, Fragment } from 'react'\r\nimport ImageGallery from 'react-image-gallery';\r\n\r\nclass ImageGalleryViewer extends Component {\r\n constructor(props) {\r\n super(props);\r\n }\r\n render() {\r\n const galleryImages = this.props.images.map((image, index) => {\r\n return {\r\n original: image.src,\r\n thumbnail: image.src,\r\n }\r\n })\r\n\r\n const gallerySettings = {\r\n lazyLoad: true,\r\n showPlayButton: false,\r\n onErrorImageURL: 'https://via.placeholder.com/400x200/000',\r\n showFullscreenButton: false,\r\n slideDuration: 225,\r\n thumbnailPosition: 'bottom',\r\n }\r\n\r\n return (\r\n !this.props.images || this.props.images.length < 1 ? :\r\n \r\n { galleryImages.length > 0 &&\r\n \r\n }\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default ImageGalleryViewer;","import React from 'react';\r\nimport ImageGalleryViewer from '../Components/ImageGalleryViewer';\r\n// import { setCurrentIndex, show, previous, next } from '../Actions/LightboxImages.action';\r\n\r\nconst ImageGalleryContainer = props => ;\r\n\r\n// const mapStateToProps = (state) => {\r\n// return {\r\n// isOpen: state.lightboxImages.visible,\r\n// currentImage: state.lightboxImages.index,\r\n// }\r\n// }\r\n\r\n// const mapDispatchToProps = dispatch => {\r\n// return {\r\n// onClose: () => { \r\n// dispatch(show(false))\r\n// document.body.style.overflow = \"visible\"; \r\n// },\r\n// onClickNext: () => {dispatch(next())},\r\n// onClickPrev: () => dispatch(previous()),\r\n// onClickThumbnail: (index) => {\r\n// dispatch(show(true));\r\n// dispatch(setCurrentIndex(index));\r\n \r\n// },\r\n \r\n// }\r\n// }\r\n\r\nexport default ImageGalleryContainer;"],"sourceRoot":""}