{"version":3,"sources":["assets/img/sprite.svg","assets/img/escudo.png","assets/img/barcoibt.png","assets/img/hpage1.jpg","assets/img/hpage2.jpg","assets/img/menud.jpg","assets/img/menug1.jpg","assets/img/menug2.jpg","assets/img/menug3.jpg","assets/img/anicruleft.png","assets/img/anicruright.png","assets/img/escudo.jpg","components/MainNav.jsx","components/HomePage.jsx","components/Invita.jsx","components/Carousel.jsx","components/ImageCard.jsx","components/FotoGallery.jsx","components/VideoPly.jsx","components/Escudo.jsx","assets/data/navlinks.js","App.js","index.js"],"names":["module","exports","MainNav","navLinks","showE","hideE","className","map","link","index","key","to","path","onClick","href","Sprite","icon","text","HomePage","useState","opacity","setOpacity","invs","Invitados","invitado","NameG1","toString","NameG2","useEffect","window","scrollTo","setTimeout","src","BarcoIBT","style","alt","Escudo","inv","React","hpage1","hpage2","Carousel","timer","slideIndex","showSlides","i","slides","document","getElementsByClassName","length","display","clearTimeout","MenuG1","MenuG2","MenuG3","MenuD","ImageCard","image","showModal","setShowModal","imgName","setImgName","name","fname","getElementById","classList","add","cat","substring","remove","fcat","curcat","Fotos","filter","catName","ndx","fotoUrl","findIndex","surl","PrevFoto","NextFoto","FotoGallery","images","setImages","page","setPage","maxPage","setMaxPage","cuCat","setCuCat","nameCat","setNameCat","lastCat","setLastCat","LoadImgs","catnm","urls","maximg","parseInt","imgarr","j","push","AniCruL","AniCruR","id","class","VideoPly","url","controls","width","height","Escud","App","showEscudo","setShowEscudo","console","log","Invita","ReactDOM","render","StrictMode"],"mappings":"qFAAAA,EAAOC,QAAU,IAA0B,oC,88uBCA3CD,EAAOC,QAAU,IAA0B,oC,gBCA3CD,EAAOC,QAAU,IAA0B,sC,+0FCA3CD,EAAOC,QAAU,IAA0B,oC,gBCA3CD,EAAOC,QAAU,IAA0B,oC,gBCA3CD,EAAOC,QAAU,IAA0B,mC,gBCA3CD,EAAOC,QAAU,IAA0B,oC,gBCA3CD,EAAOC,QAAU,IAA0B,oC,gBCA3CD,EAAOC,QAAU,IAA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AU,wBACb,kBAAC,EAAD,CAASH,SAAaA,EAAUC,MAVhB,WAClB8G,GAAc,IAS0C7G,MANtC,WAClB6G,GAAc,MAMZ,yBAAK5G,UAAU,kBACX6G,QAAQC,IAAI,QAAUH,GACtBA,GAAc,kBAAC,EAAD,MAGhB,kBAAC,IAAD,KACE,kBAAC,EAAD,CAAUrG,KAAK,MACf,kBAACyG,EAAD,CAAQzG,KAAK,YACb,kBAAC,EAAD,CAAUA,KAAK,UACf,kBAAC,EAAD,CAAaA,KAAK,UAClB,kBAAC,EAAD,CAAUA,KAAK,eC/BzB0G,IAASC,OACP,kBAAC,IAAMC,WAAP,KACE,kBAAC,EAAD,OAEFzE,SAASiB,eAAe,W","file":"static/js/main.24280048.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/sprite.3eb2cc12.svg\";","module.exports = __webpack_public_path__ + \"static/media/escudo.da414d3d.png\";","module.exports = __webpack_public_path__ + \"static/media/barcoibt.bbb66f44.png\";","module.exports = __webpack_public_path__ + \"static/media/hpage1.b66cf4e1.jpg\";","module.exports = __webpack_public_path__ + \"static/media/hpage2.fc412080.jpg\";","module.exports = __webpack_public_path__ + \"static/media/menud.c5f4af4f.jpg\";","module.exports = __webpack_public_path__ + \"static/media/menug1.7b946499.jpg\";","module.exports = __webpack_public_path__ + \"static/media/menug2.1350f84b.jpg\";","module.exports = __webpack_public_path__ + \"static/media/menug3.af065e19.jpg\";","module.exports = __webpack_public_path__ + \"static/media/anicruleft.bac75364.png\";","module.exports = __webpack_public_path__ + \"static/media/anicruright.63579414.png\";","module.exports = __webpack_public_path__ + \"static/media/escudo.84ed3aec.jpg\";","import React from 'react';\r\nimport { Link } from \"@reach/router\";\r\nimport Sprite from '../assets/img/sprite.svg';\r\n\r\nconst MainNav = ({navLinks, showE, hideE }) => {\r\n return (\r\n \r\n )\r\n}\r\n\r\nexport default MainNav;\r\n","import React, { useState, useEffect} from 'react';\r\nimport Escudo from '../assets/img/escudo.png';\r\nimport BarcoIBT from '../assets/img/barcoibt.png';\r\nimport Invitados from '../assets/data/invitados.json';\r\n\r\nconst HomePage = () => {\r\n const [opacity, setOpacity] = useState(1);\r\n\r\n const invs = Invitados.map((invitado, index) => {\r\n invitado.NameG1 = invitado.NameG1.toString();\r\n invitado.NameG2 = invitado.NameG2.toString();\r\n return invitado;\r\n });\r\n\r\n useEffect(() => {\r\n window.scrollTo(0, 0);\r\n setOpacity(0);\r\n setTimeout(() => {\r\n setOpacity('');\r\n }, 2000);\r\n }, []);\r\n\r\n return (\r\n <>\r\n
\r\n \"\"\r\n
\r\n
\r\n \"\"\r\n
\r\n {invs.map((inv, index) => \r\n
\r\n
\r\n
\r\n
\r\n {inv.NameG2!==\"\" && {inv.NameG1}}\r\n
\r\n
\r\n {inv.NameG2!==\"\" ? & :
{inv.NameG1}
}\r\n
\r\n
\r\n {inv.NameG2}\r\n
\r\n
\r\n
\r\n
\r\n )}\r\n \r\n )\r\n}\r\n\r\nexport default HomePage;\r\n","import React from 'react';\r\nimport hpage1 from '../assets/img/hpage1.jpg';\r\nimport hpage2 from '../assets/img/hpage2.jpg';\r\n\r\nconst HomePage = () => {\r\n\r\n React.useEffect(() => {\r\n window.scrollTo(0, 0);\r\n }, []);\r\n \r\n return (\r\n
\r\n
\r\n \"\"/\r\n
\r\n
\r\n \"\"/\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default HomePage;\r\n","import React, { useEffect } from 'react';\r\nimport MenuD from '../assets/img/menud.jpg';\r\nimport MenuG1 from '../assets/img/menug1.jpg';\r\nimport MenuG2 from '../assets/img/menug2.jpg';\r\nimport MenuG3 from '../assets/img/menug3.jpg';\r\n\r\n\r\nconst Carousel = () => {\r\n var slideIndex = 0;\r\n\r\n let timer;\r\n\r\n function showSlides() {\r\n var i;\r\n var slides = document.getElementsByClassName(\"mySlides\");\r\n for (i = 0; i < slides.length; i++) {\r\n slides[i].style.display = \"none\"; \r\n }\r\n slideIndex++;\r\n if (slideIndex > slides.length) {slideIndex = 1} \r\n slides[slideIndex-1].style.display = \"block\"; \r\n timer = setTimeout(showSlides, 2000); \r\n }\r\n\r\n useEffect(() => {\r\n showSlides();\r\n return () => clearTimeout(timer);\r\n });\r\n\r\n useEffect(() => {\r\n window.scrollTo(0, 0);\r\n }, []);\r\n\r\n return (\r\n
\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n \"Comidas\"/\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Carousel;\r\n","import React, {useState} from 'react';\r\nimport Fotos from '../assets/data/fotos.json';\r\nimport Sprite from '../assets/img/sprite.svg';\r\n\r\nconst ImageCard = ({ image }) => {\r\n const urlFoto = 'http://ibesame.com/fotos/';\r\n const urlThumbnail = 'http://ibesame.com/thumbnails/';\r\n const [showModal, setShowModal] = useState(false);\r\n const [imgName, setImgName] = useState('');\r\n\r\n const InitFoto = (fname) => {\r\n document.getElementById(\"divco\").classList.add(\"cover\");\r\n setImgName(fname);\r\n setShowModal(true);\r\n }\r\n\r\n const NextFoto = (fcat) => {\r\n const curcat = Fotos.filter((cat) => cat.catName===fcat);\r\n var ndx = curcat[0].fotoUrl.findIndex(surl => surl===imgName);\r\n if (ndx < curcat[0].fotoUrl.length-1) ndx++;\r\n setImgName(curcat[0].fotoUrl[ndx].toString());\r\n }\r\n\r\n const PrevFoto = (fcat) => {\r\n const curcat = Fotos.filter((cat) => cat.catName===fcat);\r\n var ndx = curcat[0].fotoUrl.findIndex(surl => surl===imgName);\r\n if (ndx > 0) ndx--;\r\n setImgName(curcat[0].fotoUrl[ndx].toString());\r\n }\r\n\r\n return (\r\n
\r\n \"\" InitFoto(image.name) }/>\r\n {showModal ? (\r\n <>\r\n \r\n
\r\n {/*content*/}\r\n
\r\n \"\"\r\n {/*header*/}\r\n
\r\n \r\n {image.cat + ' ' + imgName.substring(imgName.length-8).substring(0,4)}\r\n \r\n { document.getElementById(\"divco\").classList.remove(\"cover\"); \r\n setShowModal(false) }}\r\n >X\r\n
\r\n {/*body*/}\r\n
\r\n PrevFoto(image.cat)}\r\n >\r\n \r\n \r\n \r\n \r\n NextFoto(image.cat)}\r\n >\r\n \r\n \r\n \r\n \r\n
\r\n {/*footer*/}\r\n
\r\n
\r\n
\r\n \r\n ) : null}\r\n \r\n )\r\n}\r\n\r\nexport default ImageCard;\r\n","import React, {useState, useEffect} from 'react';\r\nimport ImageCard from './ImageCard';\r\nimport Sprite from '../assets/img/sprite.svg';\r\nimport Fotos from '../assets/data/fotos.json';\r\nimport AniCruL from '../assets/img/anicruleft.png';\r\nimport AniCruR from '../assets/img/anicruright.png';\r\n\r\nconst FotoGallery = () => {\r\n const [images, setImages] = useState([]);\r\n const [page, setPage] = useState(0);\r\n const [maxPage, setMaxPage] = useState(0);\r\n const [cuCat, setCuCat] = useState(0);\r\n const [nameCat, setNameCat] = useState(\"\");\r\n const [lastCat, setLastCat] = useState(0);\r\n\r\n const LoadImgs = () => { \r\n const fxp = 16;\r\n setLastCat(Fotos.length-1);\r\n var catnm = Fotos[cuCat].catName;\r\n var urls = Fotos[cuCat].fotoUrl;\r\n var maximg = urls.length;\r\n setNameCat(catnm);\r\n setMaxPage(parseInt(maximg/fxp) + (maximg % fxp > 0 ? 1 : 0));\r\n var imgarr = [];\r\n var j = (page-1)*fxp;\r\n for (var i = 0; i < fxp; i++) {\r\n j = j + 1; \r\n if (j <= maximg)\r\n imgarr.push(\r\n {\r\n cat: catnm,\r\n name: urls[j-1],\r\n }\r\n );\r\n }\r\n return imgarr;\r\n } \r\n\r\n useEffect(() => {\r\n (page > 0) ? setImages(LoadImgs()) : setImages([]);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [page]);\r\n\r\n useEffect(() => {\r\n (page !== 1) ? setPage(1) : setImages(LoadImgs());\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [cuCat]);\r\n\r\n useEffect(() => {\r\n window.scrollTo(0, 0);\r\n }, []);\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n \"\" page>1?setPage(page-1):setPage(page)} />\r\n
\r\n
\r\n \r\n cuCat>1?setCuCat(cuCat-1):setCuCat(0)}>\r\n \r\n \r\n {nameCat}\r\n cuCat\r\n \r\n \r\n \r\n
\r\n
\r\n \"\" page\r\n
\r\n
\r\n
\r\n
\r\n {images.map((image, index) => (\r\n \r\n ))}\r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default FotoGallery;\r\n","import React from 'react';\r\nimport ReactPlayer from 'react-player';\r\nimport '../assets/css/slide.css';\r\n\r\nconst VideoPly = () => {\r\n\r\n React.useEffect(() => {\r\n window.scrollTo(0, 0);\r\n }, []);\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default VideoPly;\r\n\r\n","import React from 'react';\r\nimport Escud from '../assets/img/escudo.jpg';\r\n\r\nconst Escudo = () => {\r\n return (\r\n
\r\n \"Escudo\"\r\n
\r\n )\r\n}\r\n\r\nexport default Escudo;\r\n","const navLinks = [\r\n {\r\n text: 'Home',\r\n path: '/',\r\n icon: 'icon-home'\r\n },\r\n {\r\n text: 'Invitación',\r\n path: '/invita',\r\n icon: 'icon-open-book'\r\n },\r\n {\r\n text: 'Menu',\r\n path: '/menu',\r\n icon: 'icon-drink'\r\n },\r\n {\r\n text: 'Fotos',\r\n path: '/foto',\r\n icon: 'icon-camera'\r\n },\r\n {\r\n text: 'Video',\r\n path: '/video',\r\n icon: 'icon-youtube'\r\n }\r\n]\r\n\r\nexport default navLinks;\r\n","import React, { useState } from 'react';\nimport { Router } from '@reach/router';\nimport MainNav from './components/MainNav';\nimport HomePage from './components/HomePage';\nimport Invita from './components/Invita';\nimport Carousel from './components/Carousel';\nimport FotoGallery from './components/FotoGallery';\nimport VideoPly from './components/VideoPly';\nimport Escudo from './components/Escudo';\nimport navLinks from './assets/data/navlinks';\n\nfunction App() {\n \n const [showEscudo, setShowEscudo] = useState(false);\n\n const showEscudoH = () => {\n setShowEscudo(true);\n }\n\n const hideEscudoH = () => {\n setShowEscudo(false);\n }\n\n return (\n
\n \n
\n { console.log(\"Show \" + showEscudo) }\n { showEscudo && }\n {/* Esto es para produccion porque llega con /bit y no se ejecuta el router path del / */}\n {/* { window.location.pathname==='/bit' && } */}\n \n \n \n \n \n \n \n
\n
\n );\n}\n\nexport default App;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './assets/css/main.css';\nimport App from './App';\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);\n"],"sourceRoot":""}