
export default function getRandomPlace(allPlaces, minVideos=3) {
  const validPlaces = allPlaces.filter(place => place.items >= minVideos);
  return validPlaces[Math.floor(Math.random() * validPlaces.length)];
}