/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
/******/ (() => { // webpackBootstrap
/******/ 	var __webpack_modules__ = ({

/***/ "./src/js/lib.js":
/*!***********************!*\
  !*** ./src/js/lib.js ***!
  \***********************/
/***/ ((__unused_webpack_module, exports) => {

  eval("var $ = function $(selector, context) {\n  return (context || document).querySelector(selector);\n};\nvar $$ = function $$(selector, context) {\n  return toArray((context || document).querySelectorAll(selector));\n};\nvar matches = function matches(el, selector) {\n  return (el.matches || el.matchesSelector || el.msMatchesSelector || el.mozMatchesSelector || el.webkitMatchesSelector || el.oMatchesSelector).call(el, selector);\n};\nfunction toArray(arrayLike) {\n  return Array.prototype.slice.call(arrayLike);\n}\nfunction index(element) {\n  var sib = element.parentNode.childNodes;\n  var n = 0;\n  for (var i = 0; i < sib.length; i++) {\n    if (sib[i] == element) return n;\n    if (sib[i].nodeType == 1) n++;\n  }\n  return -1;\n}\nfunction eq(index) {\n  if (index >= 0 && index < this.length) return this[index];else return -1;\n}\nexports.$ = $;\nexports.$$ = $$;\n\n//# sourceURL=webpack://gulp_4_browserify/./src/js/lib.js?");

  /***/ }),

  /***/ "./src/js/main.js":
  /*!************************!*\
    !*** ./src/js/main.js ***!
    \************************/
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {

  eval("function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar $ = (__webpack_require__(/*! ./lib.js */ \"./src/js/lib.js\").$);\nvar $$ = (__webpack_require__(/*! ./lib.js */ \"./src/js/lib.js\").$$);\n(function () {\n  var images_id = [\"picture01\", \"picture02\", \"picture03\", \"picture04\", \"picture05\", \"picture06\", \"picture07\", \"picture08\", \"picture09\", \"picture10\", \"picture11\", \"picture12\", \"picture13\", \"picture14\", \"picture15\", \"picture16\", \"picture17\", \"picture18\", \"picture19\", \"picture20\"];\n  var left = [\"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\"];\n  var top = [\"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\"];\n  var image_items = images_id.map(function (id, index) {\n    return {\n      id: id,\n      top: \"\",\n      left: \"\",\n      elem: \"\"\n    };\n  });\n  var countCorrect = 0;\n  var array_false = [\"<img src='/games/dnd-map/images/wrong-face.png' aria-hidden='true'><div class='message-title'>Λάθος τοπωνύμιο!</div>\"];\n  var array_false_en = [\"<img src='/games/dnd-map/images/wrong-face.png' aria-hidden='true'><div class='message-title'>This is not the correct answer!</div>\"];\n  var array_correct = [\"<img src='/games/dnd-map/images/correct-face.png' aria-hidden='true'><div class='message-title'>Μπράβο!<br/>Αυτό το μνημείο είναι σε αυτή την περιοχή!</div>\"];\n  var array_correct_en = [\"<img src='/games/dnd-map/images/correct-face.png' aria-hidden='true'><div class='message-title'>Bravo<br/>This is the correct answer!</div>\"];\n  var modal = document.getElementById(\"myModal\");\n  var modal2 = document.getElementById(\"my2ndModal\");\n  var btn = document.getElementById(\"myBtn\");\n  var closeButton = document.getElementsByClassName(\"close\")[0];\n  var countIncremented = false;\n  // When the user clicks on the btn, open the modal\n  btn.onclick = function () {\n    modal.style.display = \"block\";\n  };\n  // When the user clicks on closeButton, close the modal\n  closeButton.onclick = function () {\n    modal.style.display = \"none\";\n    if (countCorrect >= 20) {\n      modal2.style.display = \"block\";\n    }\n  };\n  // When the user clicks anywhere outside of the modal, close it\n  window.onclick = function (event) {\n    if (event.target == modal) {\n      modal.style.display = \"none\";\n      if (countCorrect >= 20) {\n        modal2.style.display = \"block\";\n      }\n    }\n  };\n  var gameLang = {\"GAME_LANG\":\"greek\"}.GAME_LANG;\n  var draggableElements = document.querySelectorAll(\".draggable\");\n  // const coins = document.querySelectorAll(\"coin\");\n  var droppableElements = document.querySelectorAll(\".droppable\");\n  var spanElements = document.querySelectorAll(\".area-title\");\n\n  // coins.forEach((elem, index) => {\n  //   image_items[index].top = elem.offsetTop - 50;\n  //   image_items[index].left = elem.offsetLeft - 50;\n  // });\n\n  draggableElements.forEach(function (elem, index) {\n    image_items[index].elem = elem;\n    elem.addEventListener(\"dragstart\", dragStart);\n    elem.addEventListener(\"dragend\", dragEnd);\n    elem.addEventListener(\"touchstart\", touchStart);\n    elem.addEventListener(\"touchmove\", touchMove);\n    elem.addEventListener(\"touchend\", touchEnd);\n  });\n  [].concat(_toConsumableArray(droppableElements), _toConsumableArray(spanElements)).forEach(function (elem) {\n    elem.addEventListener(\"dragenter\", dragEnter);\n    elem.addEventListener(\"dragleave\", dragLeave);\n    elem.addEventListener(\"dragover\", dragOver);\n    elem.addEventListener(\"drop\", drop);\n  });\n  function dragStart(e) {\n    e.dataTransfer.setData(\"text\", e.target.id);\n  }\n  function dragEnd(e) {\n    e.target.style.opacity = \"1\";\n  }\n  function touchStart(event) {\n    event.target.classList.add(\"while-touched\");\n    var touch = event.targetTouches[0];\n    event.target.style.left = touch.pageX + \"px\";\n    event.target.style.top = touch.pageY + \"px\";\n    event.preventDefault();\n  }\n  function touchMove(event) {\n    if (event.target.parentElement.classList.contains(\"dragged-coin\")) {\n      // Exit early if the element has already been dropped\n      return;\n    }\n    var touch = event.targetTouches[0];\n    event.target.style.left = touch.pageX + \"px\";\n    event.target.style.top = touch.pageY + \"px\";\n    event.target.style.position = \"fixed\";\n    event.target.style.transform = \"translate(-50%, -50%)\";\n    droppableElements.forEach(function (elem) {\n      var rect = elem.getBoundingClientRect();\n      var padding = 5; // Increase the range by 49px\n\n      // Check the span element inside the div\n      var span = elem.querySelector(\"span\");\n      if (span) {\n        var spanRect = span.getBoundingClientRect();\n        if (touch.pageX > spanRect.left - padding && touch.pageX < spanRect.right + padding && touch.pageY > spanRect.top - padding && touch.pageY < spanRect.bottom + padding) {\n          if (!elem.classList.contains(\"dropped\")) {\n            elem.classList.add(\"droppable-hover\");\n          }\n        } else if (touch.pageX > rect.left - padding && touch.pageX < rect.right + padding && touch.pageY > rect.top - padding && touch.pageY < rect.bottom + padding) {\n          if (!elem.classList.contains(\"dropped\")) {\n            elem.classList.add(\"droppable-hover\");\n          }\n        } else {\n          elem.classList.remove(\"droppable-hover\");\n        }\n      } else if (touch.pageX > rect.left - padding && touch.pageX < rect.right + padding && touch.pageY > rect.top - padding && touch.pageY < rect.bottom + padding) {\n        if (!elem.classList.contains(\"dropped\")) {\n          elem.classList.add(\"droppable-hover\");\n        }\n      } else {\n        elem.classList.remove(\"droppable-hover\");\n      }\n    });\n    event.preventDefault();\n  }\n  function touchEnd(event) {\n    if (event.target.parentElement.classList.contains(\"dragged-coin\")) {\n      // Exit early if the element has already been dropped\n      return;\n    }\n    event.target.classList.remove(\"while-touched\");\n    event.target.style.position = \"static\";\n    event.target.style.transform = \"none\";\n    drop_space_end(event.changedTouches[0].pageX, event.changedTouches[0].pageY, event, left, top);\n    event.preventDefault();\n  }\n  function drop_space(x, y, event, left, top) {\n    droppableElements.forEach(function (elem, index) {\n      if (x > elem.offsetLeft && x < elem.offsetWidth + elem.offsetLeft && y > elem.offsetTop && y < elem.offsetTop + elem.offsetHeight) {\n        elem.classList.add(\"droppable-hover\");\n        elem.classList.add(\"hover\"); // Add this line\n      } else {\n        elem.classList.remove(\"droppable-hover\");\n        elem.classList.remove(\"hover\"); // Add this line\n      }\n    });\n  }\n  function drop_space_end(x, y, event, left, top) {\n    countIncremented = false;\n    var padding = 5; // Increase the drop area by 5px\n\n    droppableElements.forEach(function (elem) {\n      var rect = elem.getBoundingClientRect();\n\n      // Check the span element inside the div\n      var span = elem.querySelector(\"span\");\n      if (span) {\n        var spanRect = span.getBoundingClientRect();\n        if (x > spanRect.left - padding && x < spanRect.right + padding && y > spanRect.top - padding && y < spanRect.bottom + padding) {\n          elem.classList.add(\"droppable-hover\");\n          var draggableElementData = event.target.id;\n          var droppableElementData = elem.getAttribute(\"data-draggable-id\");\n          var geia = draggableElementData;\n          var getMessege = document.getElementById(\"modal-message\");\n          if (geia === droppableElementData || geia === \"picture19\" && droppableElementData === \"picture01\" || geia === \"picture20\" && droppableElementData === \"picture02\") {\n            elem.classList.add(\"dropped\");\n            var draggableElement = document.getElementById(draggableElementData);\n            draggableElement.classList.add(\"dragged\");\n            draggableElement.nextSibling.nextSibling.classList.add(\"hide-enlarge\");\n            draggableElement.parentElement.lastChild.previousSibling.classList.add(\"show-completed\");\n            draggableElement.parentElement.classList.add(\"dragged-coin\");\n            draggableElement.parentElement.classList.remove(\"wobble-horizontal\");\n            draggableElement.setAttribute(\"draggable\", \"false\");\n            elem.classList.remove(\"droppable-hover\");\n            var imageUrl = draggableElement.src; // Get the src of the draggableElement\n            if (elem.style.getPropertyValue(\"--dropped-image-path\")) {\n              // If --dropped-image-path is already set, set --dropped-image-path-2\n              elem.style.setProperty(\"--dropped-image-path-2\", \"url(\".concat(imageUrl, \")\"));\n            } else {\n              // If --dropped-image-path is not set, set it\n              elem.style.setProperty(\"--dropped-image-path\", \"url(\".concat(imageUrl, \")\"));\n            }\n            getMessege.innerHTML = array_correct[0];\n            getMessege.lastChild.classList.add(\"correct-answer\");\n            var buttonText = document.getElementsByClassName(\"button-text\")[0];\n            buttonText.innerHTML = \"Συνέχισε\";\n            buttonText.classList.remove(\"try-again\");\n            closeButton.classList.remove(\"try_again\");\n            modal.style.display = \"block\";\n            countCorrect = countCorrect + 1;\n            countIncremented = true;\n          } else if (geia !== droppableElementData) {\n            getMessege.innerHTML = array_false;\n            var _buttonText = document.getElementsByClassName(\"button-text\")[0];\n            _buttonText.innerHTML = \"Προσπάθησε ξανά\";\n            _buttonText.classList.add(\"try-again\");\n            closeButton.classList.add(\"try_again\");\n            modal.style.display = \"block\";\n            elem.classList.remove(\"droppable-hover\");\n          }\n        }\n      }\n      if (x > rect.left - padding && x < rect.right + padding && y > rect.top - padding && y < rect.bottom + padding) {\n        elem.classList.add(\"droppable-hover\");\n        var _draggableElementData = event.target.id;\n        var _droppableElementData = elem.getAttribute(\"data-draggable-id\");\n        var _geia = _draggableElementData;\n        var _getMessege = document.getElementById(\"modal-message\");\n        if (_geia === _droppableElementData || _geia === \"picture19\" && _droppableElementData === \"picture01\" || _geia === \"picture20\" && _droppableElementData === \"picture02\") {\n          elem.classList.add(\"dropped\");\n          var _draggableElement = document.getElementById(_draggableElementData);\n          _draggableElement.classList.add(\"dragged\");\n          _draggableElement.nextSibling.nextSibling.classList.add(\"hide-enlarge\");\n          _draggableElement.parentElement.lastChild.previousSibling.classList.add(\"show-completed\");\n          _draggableElement.parentElement.classList.add(\"dragged-coin\");\n          _draggableElement.parentElement.classList.remove(\"wobble-horizontal\");\n          _draggableElement.setAttribute(\"draggable\", \"false\");\n          elem.classList.remove(\"droppable-hover\");\n          var _imageUrl = _draggableElement.src; // Get the src of the draggableElement\n          if (elem.style.getPropertyValue(\"--dropped-image-path\")) {\n            // If --dropped-image-path is already set, set --dropped-image-path-2\n            elem.style.setProperty(\"--dropped-image-path-2\", \"url(\".concat(_imageUrl, \")\"));\n          } else {\n            // If --dropped-image-path is not set, set it\n            elem.style.setProperty(\"--dropped-image-path\", \"url(\".concat(_imageUrl, \")\"));\n          }\n          _getMessege.innerHTML = array_correct[0];\n          _getMessege.lastChild.classList.add(\"correct-answer\");\n          var _buttonText2 = document.getElementsByClassName(\"button-text\")[0];\n          _buttonText2.innerHTML = \"Συνέχισε\";\n          _buttonText2.classList.remove(\"try-again\");\n          closeButton.classList.remove(\"try_again\");\n          modal.style.display = \"block\";\n          if (countIncremented === false) {\n            countCorrect = countCorrect + 1;\n          }\n        } else if (_geia !== _droppableElementData) {\n          _getMessege.innerHTML = array_false;\n          var _buttonText3 = document.getElementsByClassName(\"button-text\")[0];\n          _buttonText3.innerHTML = \"Προσπάθησε ξανά\";\n          _buttonText3.classList.add(\"try-again\");\n          closeButton.classList.add(\"try_again\");\n          modal.style.display = \"block\";\n          elem.classList.remove(\"droppable-hover\");\n        }\n      } else {\n        var count = 0;\n        image_items.forEach(function (e, index) {\n          if (e.elem.id === event.target.id) {\n            count = index;\n          }\n        });\n        event.target.style.left = image_items[count].left;\n        event.target.style.top = image_items[count].top;\n        elem.classList.remove(\"droppable-hover\");\n      }\n      countIncremented = false;\n    });\n  }\n  var currentHoveredElement = null;\n  var dragCounter = 0;\n  function dragEnter(event) {\n    if ((event.target.classList.contains(\"droppable\") || event.target.classList.contains(\"area-title\")) && !event.target.closest(\".droppable\").classList.contains(\"dropped\")) {\n      dragCounter++;\n      event.target.closest(\".droppable\").classList.add(\"droppable-hover\");\n    }\n  }\n  function dragLeave(event) {\n    if ((event.target.classList.contains(\"droppable\") || event.target.classList.contains(\"area-title\")) && !event.target.closest(\".droppable\").classList.contains(\"dropped\")) {\n      dragCounter--;\n      if (dragCounter === 0) {\n        event.target.closest(\".droppable\").classList.remove(\"droppable-hover\");\n      }\n    }\n  }\n  function dragOver(event) {\n    var x = event.clientX;\n    var y = event.clientY;\n    var elementUnderCursor = document.elementFromPoint(x, y);\n    event.preventDefault(); // Necessary to allow dropping\n\n    if (elementUnderCursor.closest(\".droppable\").classList.contains(\"dropped\")) {\n      return; // Prevent hover effect on already dropped elements\n    }\n    if (currentHoveredElement !== elementUnderCursor) {\n      if (currentHoveredElement) {\n        currentHoveredElement.classList.remove(\"droppable-hover\");\n      }\n      if ((elementUnderCursor.classList.contains(\"droppable\") || elementUnderCursor.classList.contains(\"area-title\")) && !elementUnderCursor.closest(\".droppable\").classList.contains(\"dropped\")) {\n        elementUnderCursor.closest(\".droppable\").classList.add(\"droppable-hover\");\n        currentHoveredElement = elementUnderCursor.closest(\".droppable\");\n      } else {\n        currentHoveredElement = null;\n      }\n    }\n  }\n  function drop(event) {\n    event.stopPropagation();\n    countIncremented = false;\n    if (event.target.parentElement.classList.contains(\"dragged-coin\")) {\n      // Exit early if the element has already been dropped\n      return;\n    }\n    event.preventDefault();\n    dragCounter = 0;\n    event.target.classList.remove(\"droppable-hover\");\n    event.target.parentElement.classList.remove(\"droppable-hover\");\n    var draggableElementData = event.dataTransfer.getData(\"text\");\n    var draggedElement = document.getElementById(draggableElementData);\n    draggedElement.style.transform = \"scale(1)\";\n\n    // Check if the target is a span, if yes, get the parent .droppable\n    var droppableElement = event.target.classList.contains(\"area-title\") ? event.target.parentElement : event.target;\n    var droppableElementData = droppableElement.getAttribute(\"data-draggable-id\");\n    var parentDroppableElementData = droppableElement.parentElement.getAttribute(\"data-draggable-id\");\n    var geia = draggableElementData;\n    var getMessege = document.getElementById(\"modal-message\");\n    if (geia === droppableElementData || geia === \"picture19\" && droppableElementData === \"picture01\" || geia === \"picture20\" && droppableElementData === \"picture02\") {\n      droppableElement.classList.add(\"dropped\");\n      var draggableElement = document.getElementById(draggableElementData);\n      draggableElement.classList.add(\"dragged\");\n      draggableElement.nextSibling.nextSibling.classList.add(\"hide-enlarge\");\n      draggableElement.parentElement.lastChild.previousSibling.classList.add(\"show-completed\");\n      draggableElement.parentElement.classList.add(\"dragged-coin\");\n      draggableElement.parentElement.classList.remove(\"wobble-horizontal\");\n      draggableElement.setAttribute(\"draggable\", \"false\");\n      if (geia === \"picture01\" || geia === \"picture02\" || geia === \"picture03\" || geia === \"picture04\" || geia === \"picture05\" || geia === \"picture06\" || geia === \"picture07\" || geia === \"picture08\" || geia === \"picture09\" || geia === \"picture10\" || geia === \"picture11\" || geia === \"picture12\" || geia === \"picture13\" || geia === \"picture14\" || geia === \"picture15\" || geia === \"picture16\" || geia === \"picture17\" || geia === \"picture18\" || geia === \"picture19\" || geia === \"picture20\") {\n        console.log(\"geia\", geia);\n        var imageUrl = draggableElement.src;\n        if (droppableElement.style.getPropertyValue(\"--dropped-image-path\")) {\n          // If --dropped-image-path is already set, set --dropped-image-path-2\n          droppableElement.style.setProperty(\"--dropped-image-path-2\", \"url(\".concat(imageUrl, \")\"));\n        } else {\n          // If --dropped-image-path is not set, set it\n          droppableElement.style.setProperty(\"--dropped-image-path\", \"url(\".concat(imageUrl, \")\"));\n        }\n        getMessege.innerHTML = array_correct[0];\n        getMessege.lastChild.classList.add(\"correct-answer\");\n        var buttonText = document.getElementsByClassName(\"button-text\")[0];\n        buttonText.innerHTML = \"Συνέχισε\";\n        buttonText.classList.remove(\"try-again\");\n        closeButton.classList.remove(\"try_again\");\n        modal.style.display = \"block\";\n        countCorrect = countCorrect + 1;\n        countIncremented = true;\n      }\n    } else if (geia === parentDroppableElementData) {\n      droppableElement.parentElement.classList.add(\"dropped\");\n      var _draggableElement2 = document.getElementById(draggableElementData);\n      _draggableElement2.classList.add(\"dragged\");\n      _draggableElement2.nextSibling.nextSibling.classList.add(\"hide-enlarge\");\n      _draggableElement2.parentElement.lastChild.previousSibling.classList.add(\"show-completed\");\n      _draggableElement2.parentElement.classList.add(\"dragged-coin\");\n      _draggableElement2.parentElement.classList.remove(\"wobble-horizontal\");\n      _draggableElement2.setAttribute(\"draggable\", \"false\");\n      if (geia === \"picture01\" || geia === \"picture02\" || geia === \"picture03\" || geia === \"picture04\" || geia === \"picture05\" || geia === \"picture06\" || geia === \"picture07\" || geia === \"picture08\" || geia === \"picture09\" || geia === \"picture10\" || geia === \"picture11\" || geia === \"picture12\" || geia === \"picture13\" || geia === \"picture14\" || geia === \"picture15\" || geia === \"picture16\" || geia === \"picture17\" || geia === \"picture18\" || geia === \"picture19\" || geia === \"picture20\") {\n        getMessege.innerHTML = array_correct[0];\n        getMessege.lastChild.classList.add(\"correct-answer\");\n        var _buttonText4 = document.getElementsByClassName(\"button-text\")[0];\n        _buttonText4.innerHTML = \"Συνέχισε\";\n        _buttonText4.classList.remove(\"try-again\");\n        closeButton.classList.remove(\"try_again\");\n        modal.style.display = \"block\";\n        if (countIncremented === false) {\n          countCorrect = countCorrect + 1;\n        }\n      }\n    } else {\n      getMessege.innerHTML = array_false;\n      var _buttonText5 = document.getElementsByClassName(\"button-text\")[0];\n      _buttonText5.innerHTML = \"Προσπάθησε ξανά\";\n      _buttonText5.classList.add(\"try-again\");\n      closeButton.classList.add(\"try_again\");\n      modal.style.display = \"block\";\n    }\n    countIncremented = false;\n  }\n  var playGameButton = $(\".hit-play\");\n  var getIntro = $(\".intro\");\n  var getGamePlay = $(\".gameplay\");\n  if (playGameButton && getIntro && getGamePlay) {\n    playGameButton.onclick = function () {\n      getIntro.classList.add(\"hide-intro\");\n      getGamePlay.classList.add(\"active\");\n    };\n  }\n  var enlargeImage = $$(\".enlarge\");\n  var pictureModal = $(\"#pictureModal\");\n  var closePictureModal = $(\".close-picture-modal\");\n  if (enlargeImage) {\n    enlargeImage.forEach(function (elem) {\n      elem.onclick = function () {\n        if (pictureModal) {\n          pictureModal.firstElementChild.firstElementChild.src = elem.previousElementSibling.src;\n          pictureModal.classList.add(\"show-enlarged\");\n        }\n      };\n    });\n  }\n  if (closePictureModal) {\n    closePictureModal.onclick = function () {\n      if (pictureModal) {\n        pictureModal.classList.remove(\"show-enlarged\");\n      }\n    };\n  }\n})();\n\n//# sourceURL=webpack://gulp_4_browserify/./src/js/main.js?");

  /***/ })

  /******/ 	});
  /************************************************************************/
  /******/ 	// The module cache
  /******/ 	var __webpack_module_cache__ = {};
  /******/
  /******/ 	// The require function
  /******/ 	function __webpack_require__(moduleId) {
  /******/ 		// Check if module is in cache
  /******/ 		var cachedModule = __webpack_module_cache__[moduleId];
  /******/ 		if (cachedModule !== undefined) {
  /******/ 			return cachedModule.exports;
  /******/ 		}
  /******/ 		// Create a new module (and put it into the cache)
  /******/ 		var module = __webpack_module_cache__[moduleId] = {
  /******/ 			// no module.id needed
  /******/ 			// no module.loaded needed
  /******/ 			exports: {}
  /******/ 		};
  /******/
  /******/ 		// Execute the module function
  /******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
  /******/
  /******/ 		// Return the exports of the module
  /******/ 		return module.exports;
  /******/ 	}
  /******/
  /************************************************************************/
  /******/
  /******/ 	// startup
  /******/ 	// Load entry module and return exports
  /******/ 	// This entry module can't be inlined because the eval devtool is used.
  /******/ 	var __webpack_exports__ = __webpack_require__("./src/js/main.js");
  /******/
  /******/ })()
  ;
