declare const _default: "\n\tdocument.addEventListener(\"DOMContentLoaded\", function() {\n\t\tvar root = document.querySelector('html');\n\t\tvar navbarToggleForKeyboard = document.getElementById(\"hamburger\");\n\t\tvar navbarToggle = document.getElementById(\"hamburger-cover\");\n\n\t\tvar navbarToggleForKeyboardHandler = function() {\n\t\t\tvar method = navbarToggleForKeyboard.checked ? 'add' : 'remove';\n\t\t\troot.classList[method]('navbar--expanded');\n\t\t\tnavbarToggle.checked = navbarToggleForKeyboard.checked;\n\t\t}\n\n\t\tnavbarToggleForKeyboard.addEventListener(\"change\", navbarToggleForKeyboardHandler);\n\n\t\tvar enterKeyCode = 13;\n\t\tnavbarToggleForKeyboard.addEventListener(\"keypress\", function(e) {\n\t\t\tvar keyCode = (e.which || e.keyCode);\n\t\t\tif (keyCode === enterKeyCode) {\n\t\t\t\tnavbarToggleForKeyboard.checked = navbarToggleForKeyboard.checked ? false : true;\n\t\t\t\tnavbarToggleForKeyboardHandler();\n\t\t\t}\n\t\t});\n\n\t\tnavbarToggle.addEventListener(\"change\", function() {\n\t\t\tvar method = navbarToggle.checked ? 'add' : 'remove';\n\t\t\troot.classList[method]('navbar--expanded');\n\t\t\tnavbarToggleForKeyboard.checked = navbarToggle.checked;\n\t\t});\n\t});\n";
export default _default;
