{"version":3,"sources":["webpack:///./resources/scripts/components/sidebar.ts"],"names":["document","addEventListener","MENU_BUTTON_TRIGGER","getElementById","SIDEBAR_MENU","querySelector","event","preventDefault","classList","toggle","toggleMenu"],"mappings":"oFACAA,SAASC,iBAAiB,oBAAoB,WAC1C,IAAMC,EAAsBF,SAASG,eAAe,mBAC9CC,EAAeJ,SAASK,cAAc,iBAM5CH,SAA0EA,EAAoBD,iBAAiB,SAAS,SAAAK,GAAK,OAL1G,SAACA,GAChBA,EAAMC,iBACNL,EAAoBM,UAAUC,OAAO,aACrCL,EAAaI,UAAUC,OAAO,aAE+FC,CAAWJ,W","file":"/scripts/sidebar.js","sourcesContent":["\"use strict\";\ndocument.addEventListener('DOMContentLoaded', () => {\n const MENU_BUTTON_TRIGGER = document.getElementById('pageMenuTrigger');\n const SIDEBAR_MENU = document.querySelector('.sidebar-menu');\n const toggleMenu = (event) => {\n event.preventDefault();\n MENU_BUTTON_TRIGGER.classList.toggle('is-active');\n SIDEBAR_MENU.classList.toggle('is-active');\n };\n MENU_BUTTON_TRIGGER === null || MENU_BUTTON_TRIGGER === void 0 ? void 0 : MENU_BUTTON_TRIGGER.addEventListener('click', event => toggleMenu(event));\n});\n"],"sourceRoot":""}