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UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;;;;;;;ACA4D;AAE5D,IAAMf,QAAQ,GAAGD,sEAAW,CAACY,QAAQ,CAACC,cAAc,CAAC,WAAW,CAAC,CAAC;AAClEZ,QAAQ,CAACS,IAAI,EAAE,C","sources":["webpack://web/./Pages/Components/Header/Header.js","webpack://web/webpack/bootstrap","webpack://web/webpack/runtime/define property getters","webpack://web/webpack/runtime/hasOwnProperty shorthand","webpack://web/./Pages/Shared/js/layout.js"],"sourcesContent":["// const sideMenu = document.getElementById('side-menu')\r\n\r\nconst SeySideMenu = function (sideMenu) {\r\n let isOpen = false\r\n\r\n if (!sideMenu) {\r\n console.log('not found element side menu')\r\n return\r\n }\r\n\r\n const openMenu = (sideMenu) => {\r\n sideMenu.classList.remove('left-[-250px]')\r\n sideMenu.classList.add('left-0')\r\n }\r\n\r\n const closeMenu = (sideMenu) => {\r\n sideMenu.classList.remove('left-0')\r\n sideMenu.classList.add('left-[-250px]')\r\n }\r\n\r\n const init = () => {\r\n const btnCloseMenu = document.getElementById('close-menu-btn')\r\n const btnOpenMenu = document.getElementById('open-menu-button')\r\n\r\n btnOpenMenu.addEventListener('click', () => {\r\n if (!isOpen) { openMenu(sideMenu); isOpen = true }\r\n })\r\n\r\n btnCloseMenu.addEventListener('click', () => {\r\n if (isOpen) { closeMenu(sideMenu); isOpen = false }\r\n })\r\n }\r\n\r\n const api = {\r\n init\r\n }\r\n\r\n return api\r\n}\r\n\r\nexport { SeySideMenu }\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","import { SeySideMenu } from '../../Components/Header/Header'\r\n\r\nconst sideMenu = SeySideMenu(document.getElementById('side-menu'))\r\nsideMenu.init()\r\n"],"names":["SeySideMenu","sideMenu","isOpen","console","log","openMenu","classList","remove","add","closeMenu","init","btnCloseMenu","document","getElementById","btnOpenMenu","addEventListener","api"],"sourceRoot":""}