{"version":3,"names":[],"mappings":"","sources":["navigation.js"],"sourcesContent":["(function($, Drupal, window, document, undefined) {\r\n Drupal.behaviors.menu_navigation = {\r\n attach: function (context) {\r\n \r\n const $dropdown = $(\".dropdown\");\r\n const $dropdownToggle = $(\".dropdown-toggle\");\r\n const $dropdownMenu = $(\".dropdown-menu\");\r\n const showClass = \"show\";\r\n\r\n $(window).on(\"load resize\", function() {\r\n if (this.matchMedia(\"(min-width: 768px)\").matches) {\r\n $dropdown.hover(\r\n function() {\r\n const $this = $(this);\r\n $this.addClass(showClass);\r\n $this.find($dropdownToggle).attr(\"aria-expanded\", \"true\");\r\n $this.find($dropdownMenu).addClass(showClass);\r\n },\r\n function() {\r\n const $this = $(this);\r\n $this.removeClass(showClass);\r\n $this.find($dropdownToggle).attr(\"aria-expanded\", \"false\");\r\n $this.find($dropdownMenu).removeClass(showClass);\r\n }\r\n );\r\n } else {\r\n $dropdown.off(\"mouseenter mouseleave\");\r\n }\r\n });\r\n\r\n }\r\n }\r\n\r\n})(jQuery, Drupal, this, this.document)\r\n\r\n"],"file":"../navigation.js"}