'use strict';document.addEventListener('DOMContentLoaded',function(){var searchBar=document.querySelector('.js-search-bar');var SEARCH_BAR_ACTIVE='nav-search-bar--active';var desktopSearchTrigger=document.querySelector('.js-search-desktop');var desktopSearchClose=document.querySelector('.js-desktop-search-close');Array.from(document.querySelectorAll('.js-search-desktop')).forEach(function(e){e.addEventListener('click',function(){console.log('hey searcv');searchBar.classList.add(SEARCH_BAR_ACTIVE);});});desktopSearchClose.addEventListener('click',function(){searchBar.classList.remove(SEARCH_BAR_ACTIVE);});});