function shouldOfferRevealForItem(item, visibleItemNames) {
  if (item.originalVisible === false) {
    return false;
  }
  const userWantsVisible = visibleItemNames.includes(item.name);
  const wasVisibleAtDetection = item.originalVisible === true || item.originalVisible === void 0;
  return userWantsVisible || wasVisibleAtDetection;
}

export {
  shouldOfferRevealForItem
};
