vendor: 665 bytes, lines 1-12
1/* 2 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). 3 * This devtool is neither made for production nor for readable output files. 4 * It uses "eval()" calls to create a separate source file in the browser devtools. 5 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) 6 * or disable the default devtool with "devtool: false". 7 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). 8 */ 9/******/ (() => { // webpackBootstrap 10/******/ "use strict"; 11/******/ var __webpack_modules__ = ({ 12
vendor: 6,965 bytes, lines 13-22
13/***/ "./node_modules/mburger-webcomponent/dist/mburger/index.js": 14/*!*****************************************************************!*\ 15 !*** ./node_modules/mburger-webcomponent/dist/mburger/index.js ***! 16 \*****************************************************************/ 17/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 18 19eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _js_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./js/index.js */ \"./node_modules/mburger-webcomponent/dist/mburger/js/index.js\");\n/*\n * mburger webcomponent\n * mmenujs.com/mburger\n *\n * Copyright (c) Fred Heusschen\n * frebsite.nl\n *\n * License: CC-BY-4.0\n * http://creativecommons.org/licenses/by/4.0/\n */\n\nconst webcomponentName = 'mm-burger';\nconst template = document.createElement('template');\ntemplate.innerHTML = `\n <style>*,:host{box-sizing:border-box}\n:host{--mb-bar-width:30px;--mb-bar-height:3px;--mb-bar-spacing:7px;--mb-animation-function:ease;--mb-animation-duration:0.25s;--mb-animation-delay:0s;display:inline-flex;align-items:center;gap:.75em;padding:0;margin:0;font-size:inherit;color:inherit;border:unset;background:0 0;cursor:pointer}\n:host([ease=elastic]){--mb-animation-function:cubic-bezier(.5,-0.35,.35,1.5);--mb-animation-duration:0.35s}\n:host([ease=funky]){--mb-animation-function:cubic-bezier(0,1.45,.5,1.45);--mb-animation-duration:0.4s}\n:host([ease=shaky]){--mb-animation-function:cubic-bezier(.15,.33,1,-0.81);--mb-animation-function:cubic-bezier(0,.5,1,-1);--mb-animation-duration:0.45s}\n[part=bars]{position:relative;display:block;width:var(--mb-bar-width);height:calc(var(--mb-bar-height) * 3 + var(--mb-bar-spacing) * 2)}\n.bar{display:block;position:absolute;left:0;right:0;height:var(--mb-bar-height);border-radius:calc(var(--mb-bar-height)/ 2);background:currentColor;color:inherit;opacity:1;transition:none var(--mb-animation-duration) var(--mb-animation-function) var(--mb-animation-delay)}\n.bar--top{bottom:calc(50% + var(--mb-bar-spacing) + var(--mb-bar-height)/ 2);transition-property:bottom,transform}\n.bar--middle{top:calc(50% - var(--mb-bar-height)/ 2);transition-property:opacity}\n.bar--bottom{top:calc(50% + var(--mb-bar-spacing) + var(--mb-bar-height)/ 2);transition-property:top,transform}\n.is-cross .bar--top{bottom:calc(50% - var(--mb-bar-height)/ 2);transform:rotate(45deg)}\n.is-cross .bar--middle{opacity:0}\n.is-cross .bar--bottom{top:calc(50% - var(--mb-bar-height)/ 2);transform:rotate(-45deg)}\n:host([fx=collapse]) .bar--top{transition-property:bottom,margin,transform;transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration)),var(--mb-animation-delay),var(--mb-animation-delay)}\n:host([fx=collapse]) .bar--middle{transition-property:top,opacity;transition-duration:var(--mb-animation-duration),0s;transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration) * 1.3),calc(var(--mb-animation-delay) + var(--mb-animation-duration) * 1.3)}\n:host([fx=collapse]) .bar--bottom{transition-delay:var(--mb-animation-delay)}\n:host([fx=collapse]) .is-cross .bar--top{bottom:calc(50% - var(--mb-bar-spacing) - var(--mb-bar-height));margin-bottom:calc(var(--mb-bar-spacing) + var(--mb-bar-height)/ 2);transform:rotate(45deg);transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .3),calc(var(--mb-animation-delay) + var(--mb-animation-duration) * 1.3),calc(var(--mb-animation-delay) + var(--mb-animation-duration) * 1.3)}\n:host([fx=collapse]) .is-cross .bar--middle{top:calc(50% + var(--mb-bar-spacing));opacity:0;transition-duration:var(--mb-animation-duration),0s;transition-delay:var(--mb-animation-delay),calc(var(--mb-animation-delay) + var(--mb-animation-duration))}\n:host([fx=collapse]) .is-cross .bar--bottom{top:calc(50% - var(--mb-bar-height)/ 2);transform:rotate(-45deg);transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration) * 1.3),calc(var(--mb-animation-delay) + var(--mb-animation-duration) * 1.3)}\n:host([fx=spin]) .bar--top{transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration)),var(--mb-animation-delay)}\n:host([fx=spin]) .bar--middle{transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration))}\n:host([fx=spin]) .bar--bottom{transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration)),var(--mb-animation-delay)}\n:host([fx=spin]) .is-cross .bar--top{transform:rotate(135deg);transition-delay:var(--mb-animation-delay),calc(var(--mb-animation-delay) + var(--mb-animation-duration))}\n:host([fx=spin]) .is-cross .bar--middle{transition-duration:0s;transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration))}\n:host([fx=spin]) .is-cross .bar--bottom{transform:rotate(225deg);transition-delay:var(--mb-animation-delay),calc(var(--mb-animation-delay) + var(--mb-animation-duration))}\n:host([fx=squeeze]) .bar--top{transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .4),var(--mb-animation-delay)}\n:host([fx=squeeze]) .bar--middle{transition-delay:calc(var(--mb-animation-delay) + .1s)}\n:host([fx=squeeze]) .bar--bottom{transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .4),var(--mb-animation-delay)}\n:host([fx=squeeze]) .is-cross .bar--top{transition-delay:var(--mb-animation-delay),calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .4)}\n:host([fx=squeeze]) .is-cross .bar--middle{transition-delay:var(--mb-animation-delay)}\n:host([fx=squeeze]) .is-cross .bar--bottom{transition-delay:var(--mb-animation-delay),calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .4)}\n:host([fx=tornado]) .bar--top{transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .6)}\n:host([fx=tornado]) .bar--middle{transition-property:opacity,transform;transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .3)}\n:host([fx=tornado]) .bar--bottom{transition-delay:var(--mb-animation-delay)}\n:host([fx=tornado]) .is-cross .bar--top{transform:rotate(-135deg);transition-delay:var(--mb-animation-delay)}\n:host([fx=tornado]) .is-cross .bar--middle{opacity:0;transform:rotate(-135deg);transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .3)}\n:host([fx=tornado]) .is-cross .bar--bottom{transform:rotate(-225deg);transition-delay:calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .6)}</style>\n <span part=\"bars\">\n <span class=\"bar bar--top\"></span>\n <span class=\"bar bar--middle\"></span>\n <span class=\"bar bar--bottom\"></span>\n</span>\n<slot part=\"text\"></slot>\n\n`;\ncustomElements.define(webcomponentName, class extends _js_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n constructor() {\n super(template);\n }\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mburger-webcomponent/dist/mburger/index.js?"); 20 21/***/ }), 22
vendor: 8,023 bytes, lines 23-32
23/***/ "./node_modules/mburger-webcomponent/dist/mburger/js/index.js": 24/*!********************************************************************!*\ 25 !*** ./node_modules/mburger-webcomponent/dist/mburger/js/index.js ***! 26 \********************************************************************/ 27/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 28 29eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _instances, _barsNode, _menuNode, _menuObserver, _offClick, _offKeyup, _disconnectMenu;\nconst on = (el, ev, cb) => {\n el.addEventListener(ev, cb);\n return () => {\n el.removeEventListener(ev, cb);\n };\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (class extends HTMLElement {\n constructor(template) {\n super();\n _instances.add(this);\n /** Node for the hamburger bars. */\n _barsNode.set(this, void 0);\n /** Node for the menu. */\n _menuNode.set(this, void 0);\n /** Observer for the menu node. */\n _menuObserver.set(this, null);\n /** Function to remove click even listener for the hamburber. */\n _offClick.set(this, null);\n /** Function to remove keyUp even listener for the hamburber. */\n _offKeyup.set(this, null);\n //\tAttach shadowRoot\n this.attachShadow({ mode: 'open' });\n this.shadowRoot.appendChild(template.content.cloneNode(true));\n __classPrivateFieldSet(this, _barsNode, this.shadowRoot.querySelector('[part=\"bars\"]'), \"f\");\n }\n static get observedAttributes() {\n return ['menu'];\n }\n attributeChangedCallback(name, oldValue, newValue) {\n if (name == 'menu') {\n if (oldValue) {\n __classPrivateFieldGet(this, _instances, \"m\", _disconnectMenu).call(this);\n }\n /** Node for the new menu. */\n const menuNode = document.querySelector(`#mm-clone-${newValue}`) ||\n document.querySelector(`#mm-${newValue}`) ||\n document.querySelector(`#${newValue}`);\n if (!menuNode) {\n return;\n }\n __classPrivateFieldSet(this, _menuNode, menuNode, \"f\");\n // for mmenu.js\n if (menuNode.matches('.mm-menu')) {\n this.connectMenu('class', () => __classPrivateFieldGet(this, _menuNode, \"f\").classList.contains('mm-menu--opened'), () => __classPrivateFieldGet(this, _menuNode, \"f\")['mmApi'].open(), () => __classPrivateFieldGet(this, _menuNode, \"f\")['mmApi'].close());\n }\n // for mmenu-light\n else if (menuNode.matches('.mm')) {\n this.connectMenu('class', () => __classPrivateFieldGet(this, _menuNode, \"f\").classList.contains('mm--open'), () => __classPrivateFieldGet(this, _menuNode, \"f\").classList.add('mm--open'), () => __classPrivateFieldGet(this, _menuNode, \"f\").classList.remove('mm--open'));\n }\n }\n }\n connectedCallback() {\n const menu = this.getAttribute('menu');\n if (menu) {\n // To ensure all JS was fired, a requestAnimationFrame on DOMContentLoaded...\n document.addEventListener('DOMContentLoaded', () => {\n requestAnimationFrame(() => {\n this.attributeChangedCallback('menu', '', menu);\n });\n });\n }\n }\n disconnectedCallback() {\n __classPrivateFieldGet(this, _instances, \"m\", _disconnectMenu).call(this);\n }\n /**\n * Set the icons state.\n * @param {string} state The state to set, either \"cross\" or \"bars\".\n */\n set state(state) {\n __classPrivateFieldGet(this, _barsNode, \"f\").classList[state === 'cross' ? 'add' : 'remove']('is-cross');\n }\n /**\n * Get the icons tate.\n * @returns {string} The state of the icon, can be \"cross\" or \"bars\".\n */\n get state() {\n return __classPrivateFieldGet(this, _barsNode, \"f\").matches('.is-cross') ? 'cross' : 'bars';\n }\n /**\n * Connect the hamburger to a menu\n * @param {string} attribute The attribute to observe.\n * @param {Function} isOpen Function to test whether or not the menu is opened.\n * @param {Function} open Function that opens the menu.\n * @param {Function} close Function that closes the menu.\n */\n connectMenu(attribute, isOpen, open, close) {\n if (!__classPrivateFieldGet(this, _menuNode, \"f\")) {\n return;\n }\n // Remove previous.\n __classPrivateFieldGet(this, _instances, \"m\", _disconnectMenu).call(this);\n /** Set the state for the hamburber. */\n const setState = () => {\n this.state = isOpen() ? 'cross' : 'bars';\n };\n /** Toggle menu open / close */\n const toggle = () => {\n if (this.state === 'bars') {\n open();\n }\n else {\n close();\n }\n };\n // Create new observer.\n __classPrivateFieldSet(this, _menuObserver, new MutationObserver(mutationsList => {\n for (const mutation of mutationsList) {\n if (mutation.attributeName === attribute) {\n setState();\n }\n }\n }), \"f\");\n // Observe menu.\n __classPrivateFieldGet(this, _menuObserver, \"f\").observe(__classPrivateFieldGet(this, _menuNode, \"f\"), {\n attributes: true\n });\n // Immediately check menu.\n setState();\n // Click / Enter the hamburber.\n __classPrivateFieldSet(this, _offClick, on(this, 'click', toggle), \"f\");\n __classPrivateFieldSet(this, _offKeyup, on(this, 'keyup', (event) => {\n if (event.key === 'Enter') {\n toggle();\n }\n }), \"f\");\n }\n});\n_barsNode = new WeakMap(), _menuNode = new WeakMap(), _menuObserver = new WeakMap(), _offClick = new WeakMap(), _offKeyup = new WeakMap(), _instances = new WeakSet(), _disconnectMenu = function _disconnectMenu() {\n var _a, _b, _c;\n // Disconnect previous observer.\n (_a = __classPrivateFieldGet(this, _menuObserver, \"f\")) === null || _a === void 0 ? void 0 : _a.disconnect();\n // Remove previous event listener.\n (_b = __classPrivateFieldGet(this, _offClick, \"f\")) === null || _b === void 0 ? void 0 : _b.call(this);\n (_c = __classPrivateFieldGet(this, _offKeyup, \"f\")) === null || _c === void 0 ? void 0 : _c.call(this);\n};\n\n\n//# sourceURL=webpack://assets/./node_modules/mburger-webcomponent/dist/mburger/js/index.js?"); 30 31/***/ }), 32
vendor: 6,300 bytes, lines 33-42
33/***/ "./node_modules/mmenu-js/dist/_modules/dom.js": 34/*!****************************************************!*\ 35 !*** ./node_modules/mmenu-js/dist/_modules/dom.js ***! 36 \****************************************************/ 37/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 38 39eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ childText: () => (/* binding */ childText),\n/* harmony export */ children: () => (/* binding */ children),\n/* harmony export */ create: () => (/* binding */ create),\n/* harmony export */ filterLI: () => (/* binding */ filterLI),\n/* harmony export */ filterLIA: () => (/* binding */ filterLIA),\n/* harmony export */ find: () => (/* binding */ find),\n/* harmony export */ offset: () => (/* binding */ offset),\n/* harmony export */ parents: () => (/* binding */ parents),\n/* harmony export */ prevAll: () => (/* binding */ prevAll),\n/* harmony export */ reClass: () => (/* binding */ reClass),\n/* harmony export */ text: () => (/* binding */ text)\n/* harmony export */ });\n/**\n * Create an element with classname.\n *\n * @param \t{string}\t\tselector\tThe nodeName and classnames for the element to create.\n * @return\t{HTMLElement}\t\t\t\tThe created element.\n */\nconst create = (selector) => {\n const args = selector.split('.'), elem = document.createElement(args.shift());\n elem.classList.add(...args);\n return elem;\n};\n/**\n * Find all elements matching the selector.\n * Basically the same as element.querySelectorAll() but it returns an actuall array.\n *\n * @param \t{HTMLElement} \telement Element to search in.\n * @param \t{string}\t\tfilter\tThe filter to match.\n * @return\t{array}\t\t\t\t\tArray of elements that match the filter.\n */\nconst find = (element, filter) => {\n return filter.length ? [].slice.call(element.querySelectorAll(filter)) : [];\n};\n/**\n * Find all child elements matching the (optional) selector.\n *\n * @param \t{HTMLElement} \telement Element to search in.\n * @param \t{string}\t\tfilter\tThe filter to match.\n * @return\t{array}\t\t\t\t\tArray of child elements that match the filter.\n */\nconst children = (element, filter) => {\n const children = Array.prototype.slice.call(element.children);\n return filter\n ? children.filter((child) => child.matches(filter))\n : children;\n};\n/**\n * Find all text from direct child element.\n *\n * @param \t{HTMLElement} \telement Element to search in.\n * @return\t{string}\t\t\t\tThe text.\n */\nconst childText = (element) => {\n return element\n ? [].slice.call(element.childNodes)\n .filter(node => node.nodeType === Node.TEXT_NODE)\n .map(node => node.nodeValue.trim())\n .join(' ')\n : '';\n};\n/**\n * Find text excluding text from within child elements.\n * @param {HTMLElement} element Element to search in.\n * @return {string} The text.\n */\nconst text = (element) => {\n return [].slice.call(element.childNodes)\n .filter((child) => !child.ariaHidden)\n .map((child) => child.textContent)\n .join(' ');\n};\n/**\n * Find all preceding elements matching the selector.\n *\n * @param \t{HTMLElement} \telement Element to start searching from.\n * @param \t{string}\t\tfilter\tThe filter to match.\n * @return\t{array}\t\t\t\t\tArray of preceding elements that match the selector.\n */\nconst parents = (element, filter) => {\n /** Array of preceding elements that match the selector. */\n let parents = [];\n /** Array of preceding elements that match the selector. */\n let parent = element.parentElement;\n while (parent) {\n parents.push(parent);\n parent = parent.parentElement;\n }\n return filter\n ? parents.filter((parent) => parent.matches(filter))\n : parents;\n};\n/**\n * Find all previous siblings matching the selecotr.\n *\n * @param \t{HTMLElement} \telement Element to start searching from.\n * @param \t{string}\t\tfilter\tThe filter to match.\n * @return\t{array}\t\t\t\t\tArray of previous siblings that match the selector.\n */\nconst prevAll = (element, filter) => {\n /** Array of previous siblings that match the selector. */\n let previous = [];\n /** Current element in the loop */\n let current = element.previousElementSibling;\n while (current) {\n if (!filter || current.matches(filter)) {\n previous.push(current);\n }\n current = current.previousElementSibling;\n }\n return previous;\n};\n/**\n * Get an element offset relative to the document.\n *\n * @param \t{HTMLElement}\t element \t\t\tElement to start measuring from.\n * @param \t{string}\t\t [direction=top] \tOffset top or left.\n * @return\t{number}\t\t\t\t\t\t\tThe element offset relative to the document.\n */\nconst offset = (element, direction) => {\n return (element.getBoundingClientRect()[direction] +\n document.body[direction === 'left' ? 'scrollLeft' : 'scrollTop']);\n};\n/**\n * Filter out non-listitem listitems.\n * @param {array} listitems \tElements to filter.\n * @return {array}\t\t\t\tThe filtered set of listitems.\n */\nconst filterLI = (listitems) => {\n return listitems.filter((listitem) => !listitem.matches('.mm-hidden'));\n};\n/**\n * Find anchors in listitems (excluding anchor that open a sub-panel).\n * @param {array} \tlistitems \tElements to filter.\n * @return {array}\t\t\t\tThe found set of anchors.\n */\nconst filterLIA = (listitems) => {\n let anchors = [];\n filterLI(listitems).forEach((listitem) => {\n anchors.push(...children(listitem, 'a.mm-listitem__text'));\n });\n return anchors.filter((anchor) => !anchor.matches('.mm-btn--next'));\n};\n/**\n * Refactor a classname on multiple elements.\n * @param {HTMLElement} element \tElement to refactor.\n * @param {string}\t\toldClass \tClassname to remove.\n * @param {string}\t\tnewClass \tClassname to add.\n */\nconst reClass = (element, oldClass, newClass) => {\n if (element.matches('.' + oldClass)) {\n element.classList.add(newClass);\n }\n};\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/_modules/dom.js?"); 40 41/***/ }), 42
vendor: 3,965 bytes, lines 43-52
43/***/ "./node_modules/mmenu-js/dist/_modules/helpers.js": 44/*!********************************************************!*\ 45 !*** ./node_modules/mmenu-js/dist/_modules/helpers.js ***! 46 \********************************************************/ 47/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 48 49eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ cloneId: () => (/* binding */ cloneId),\n/* harmony export */ extend: () => (/* binding */ extend),\n/* harmony export */ originalId: () => (/* binding */ originalId),\n/* harmony export */ touchDirection: () => (/* binding */ touchDirection),\n/* harmony export */ type: () => (/* binding */ type),\n/* harmony export */ uniqueId: () => (/* binding */ uniqueId)\n/* harmony export */ });\n/**\n * Deep extend an object with the given defaults.\n * Note that the extended object is not a clone, meaning the original object will also be updated.\n *\n * @param \t{object}\torignl\tThe object to extend to.\n * @param \t{object}\tdfault\tThe object to extend from.\n * @return\t{object}\t\t\tThe extended \"orignl\" object.\n */\nconst extend = (orignl, dfault) => {\n if (type(orignl) != 'object') {\n orignl = {};\n }\n if (type(dfault) != 'object') {\n dfault = {};\n }\n for (let k in dfault) {\n if (!dfault.hasOwnProperty(k)) {\n continue;\n }\n if (typeof orignl[k] == 'undefined') {\n orignl[k] = dfault[k];\n }\n else if (type(orignl[k]) == 'object') {\n extend(orignl[k], dfault[k]);\n }\n }\n return orignl;\n};\n/**\n * Detect the touch / dragging direction on a touch device.\n *\n * @param {HTMLElement} surface The element to monitor for touch events.\n * @return {object} Object with \"get\" function.\n */\nconst touchDirection = (surface) => {\n let direction = '';\n let prevPosition = null;\n surface.addEventListener('touchstart', (evnt) => {\n if (evnt.touches.length === 1) {\n direction = '';\n prevPosition = evnt.touches[0].pageY;\n }\n });\n surface.addEventListener('touchend', (evnt) => {\n if (evnt.touches.length === 0) {\n direction = '';\n prevPosition = null;\n }\n });\n surface.addEventListener('touchmove', (evnt) => {\n direction = '';\n if (prevPosition &&\n evnt.touches.length === 1) {\n const currentPosition = evnt.changedTouches[0].pageY;\n if (currentPosition > prevPosition) {\n direction = 'down';\n }\n else if (currentPosition < prevPosition) {\n direction = 'up';\n }\n prevPosition = currentPosition;\n }\n });\n return {\n get: () => direction,\n };\n};\n/**\n * Get the type of any given variable. Improvement of \"typeof\".\n *\n * @param \t{any}\t\tvariable\tThe variable.\n * @return\t{string}\t\t\t\tThe type of the variable in lowercase.\n */\nconst type = (variable) => {\n return {}.toString\n .call(variable)\n .match(/\\s([a-zA-Z]+)/)[1]\n .toLowerCase();\n};\n/**\n * Get a (page wide) unique ID.\n */\nconst uniqueId = () => {\n return `mm-${__id++}`;\n};\nlet __id = 0;\n/**\n * Get a prefixed ID from a possibly orifinal ID.\n * @param id The possibly original ID.\n */\nconst cloneId = (id) => {\n if (id.slice(0, 9) == 'mm-clone-') {\n return id;\n }\n return `mm-clone-${id}`;\n};\n/**\n * Get the original ID from a possibly prefixed ID.\n * @param id The possibly prefixed ID.\n */\nconst originalId = (id) => {\n if (id.slice(0, 9) == 'mm-clone-') {\n return id.slice(9);\n }\n return id;\n};\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/_modules/helpers.js?"); 50 51/***/ }), 52
vendor: 1,889 bytes, lines 53-62
53/***/ "./node_modules/mmenu-js/dist/_modules/i18n.js": 54/*!*****************************************************!*\ 55 !*** ./node_modules/mmenu-js/dist/_modules/i18n.js ***! 56 \*****************************************************/ 57/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 58 59eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ add: () => (/* binding */ add),\n/* harmony export */ get: () => (/* binding */ get),\n/* harmony export */ show: () => (/* binding */ show)\n/* harmony export */ });\n/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\nconst translations = {};\n/**\n * Show all translations.\n * @return {object}\tThe translations.\n */\nconst show = () => {\n return translations;\n};\n/**\n * Add translations to a language.\n * @param {object} text Object of key/value translations.\n * @param {string} language The translated language.\n */\nconst add = (text, language) => {\n if (typeof translations[language] === 'undefined') {\n translations[language] = {};\n }\n (0,_helpers__WEBPACK_IMPORTED_MODULE_0__.extend)(translations[language], text);\n};\n/**\n * Find a translated text in a language.\n * @param {string} text The text to find the translation for.\n * @param {string} language The language to search in.\n * @return {string} The translated text.\n */\nconst get = (text, language) => {\n if (typeof language === 'string' &&\n typeof translations[language] !== 'undefined') {\n return translations[language][text] || text;\n }\n return text;\n};\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/_modules/i18n.js?"); 60 61/***/ }), 62
vendor: 2,074 bytes, lines 63-72
63/***/ "./node_modules/mmenu-js/dist/_modules/matchmedia.js": 64/*!***********************************************************!*\ 65 !*** ./node_modules/mmenu-js/dist/_modules/matchmedia.js ***! 66 \***********************************************************/ 67/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 68 69eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ add: () => (/* binding */ add),\n/* harmony export */ fire: () => (/* binding */ fire),\n/* harmony export */ watch: () => (/* binding */ watch)\n/* harmony export */ });\n/** Collection of callback functions for media querys. */\nlet listeners = {};\n/**\n * Bind functions to a matchMedia listener (subscriber).\n *\n * @param {string|number} \tquery \tMedia query to match or number for min-width.\n * @param {function} \t\tyes \tFunction to invoke when the media query matches.\n * @param {function} \t\tno \t\tFunction to invoke when the media query doesn't match.\n */\nconst add = (query, yes, no) => {\n if (typeof query == 'number') {\n query = '(min-width: ' + query + 'px)';\n }\n listeners[query] = listeners[query] || [];\n listeners[query].push({ yes, no });\n};\n/**\n * Initialize the matchMedia listener.\n */\nconst watch = () => {\n for (let query in listeners) {\n let mqlist = window.matchMedia(query);\n fire(query, mqlist);\n mqlist.onchange = (evnt) => {\n fire(query, mqlist);\n };\n }\n};\n/**\n * Invoke the \"yes\" or \"no\" function for a matchMedia listener (publisher).\n *\n * @param {string} \t\t\tquery \tMedia query to check for.\n * @param {MediaQueryList} \tmqlist \tMedia query list to check with.\n */\nconst fire = (query, mqlist) => {\n var fn = mqlist.matches ? 'yes' : 'no';\n for (let m = 0; m < listeners[query].length; m++) {\n listeners[query][m][fn]();\n }\n};\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/_modules/matchmedia.js?"); 70 71/***/ }), 72
vendor: 802 bytes, lines 73-82
73/***/ "./node_modules/mmenu-js/dist/_modules/support.js": 74/*!********************************************************!*\ 75 !*** ./node_modules/mmenu-js/dist/_modules/support.js ***! 76 \********************************************************/ 77/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 78 79eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ touch: () => (/* binding */ touch)\n/* harmony export */ });\n/** Whether or not touch gestures are supported by the browser. */\nconst touch = 'ontouchstart' in window ||\n (navigator.msMaxTouchPoints ? true : false) ||\n false;\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/_modules/support.js?"); 80 81/***/ }), 82
vendor: 3,357 bytes, lines 83-92
83/***/ "./node_modules/mmenu-js/dist/addons/backbutton/mmenu.backbutton.js": 84/*!**************************************************************************!*\ 85 !*** ./node_modules/mmenu-js/dist/addons/backbutton/mmenu.backbutton.js ***! 86 \**************************************************************************/ 87/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 88 89eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/addons/backbutton/options.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n this.opts.backButton = this.opts.backButton || {};\n if (!this.opts.offCanvas.use) {\n return;\n }\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_2__.extend)(this.opts.backButton, _options__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n const _menu = `#${this.node.menu.id}`;\n //\tClose menu\n if (options.close) {\n let states = [];\n const setStates = () => {\n states = [_menu];\n _modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(this.node.pnls, '.mm-panel--opened, .mm-panel--parent').forEach((panel) => {\n states.push('#' + panel.id);\n });\n };\n this.bind('open:after', () => {\n history.pushState(null, '', location.pathname + location.search + _menu);\n });\n this.bind('open:after', setStates);\n this.bind('openPanel:after', setStates);\n this.bind('close:after', () => {\n states = [];\n history.back();\n history.pushState(null, '', location.pathname + location.search);\n });\n window.addEventListener('popstate', () => {\n if (this.node.menu.matches('.mm-menu--opened')) {\n if (states.length) {\n states = states.slice(0, -1);\n const hash = states[states.length - 1];\n if (hash == _menu) {\n this.close();\n }\n else {\n this.openPanel(this.node.menu.querySelector(hash));\n history.pushState(null, '', location.pathname + location.search + _menu);\n }\n }\n }\n });\n }\n if (options.open) {\n window.addEventListener('popstate', (evnt) => {\n if (!this.node.menu.matches('.mm-menu--opened') && location.hash == _menu) {\n this.open();\n }\n });\n }\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/backbutton/mmenu.backbutton.js?"); 90 91/***/ }), 92
vendor: 820 bytes, lines 93-102
93/***/ "./node_modules/mmenu-js/dist/addons/backbutton/options.js": 94/*!*****************************************************************!*\ 95 !*** ./node_modules/mmenu-js/dist/addons/backbutton/options.js ***! 96 \*****************************************************************/ 97/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 98 99eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n close: false,\n open: false\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/backbutton/options.js?"); 100 101/***/ }), 102
vendor: 4,490 bytes, lines 103-112
103/***/ "./node_modules/mmenu-js/dist/addons/counters/mmenu.counters.js": 104/*!**********************************************************************!*\ 105 !*** ./node_modules/mmenu-js/dist/addons/counters/mmenu.counters.js ***! 106 \**********************************************************************/ 107/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 108 109eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/addons/counters/options.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n this.opts.counters = this.opts.counters || {};\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_2__.extend)(this.opts.counters, _options__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n if (!options.add) {\n return;\n }\n /**\n * Counting the visible listitems and setting it to the counter element.\n * @param {HTMLElement} panel Panel to count LIs in.\n */\n const count = (panel) => {\n /** Parent panel for the mutated listitem. */\n const parent = this.node.pnls.querySelector(`#${panel.dataset.mmParent}`);\n if (!parent) {\n return;\n }\n /** The counter for the listitem. */\n const counter = parent.querySelector('.mm-counter');\n if (!counter) {\n return;\n }\n /** The listitems */\n const listitems = [];\n _modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(panel, '.mm-listview').forEach((listview) => {\n listitems.push(..._modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(listview, '.mm-listitem'));\n });\n counter.innerHTML = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.filterLI(listitems).length.toString();\n };\n /** Mutation observer the the listitems. */\n const listitemObserver = new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n if (mutation.attributeName == 'class') {\n count(mutation.target.closest('.mm-panel'));\n }\n });\n });\n //\tAdd the counters after a listview is initiated.\n this.bind('initListview:after', (listview) => {\n /** The panel where the listview is in. */\n const panel = listview.closest('.mm-panel');\n /** The parent LI for the panel */\n const parent = this.node.pnls.querySelector(`#${panel.dataset.mmParent}`);\n if (!parent) {\n return;\n }\n /** The button inside the parent LI */\n const button = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(parent, '.mm-btn')[0];\n if (!button) {\n return;\n }\n //\tCheck if no counter already excists.\n if (!_modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(button, '.mm-counter').length) {\n /** The counter for the listitem. */\n const counter = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.create('span.mm-counter');\n counter.setAttribute('aria-hidden', 'true');\n button.prepend(counter);\n }\n // Count immediately.\n count(panel);\n });\n // Count when LI classname changes.\n this.bind('initListitem:after', (listitem) => {\n /** The panel where the listitem is in. */\n const panel = listitem.closest('.mm-panel');\n if (!panel) {\n return;\n }\n /** The parent LI for the panel. */\n const parent = this.node.pnls.querySelector(`#${panel.dataset.mmParent}`);\n if (!parent) {\n return;\n }\n listitemObserver.observe(listitem, {\n attributes: true\n });\n });\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/counters/mmenu.counters.js?"); 110 111/***/ }), 112
vendor: 790 bytes, lines 113-122
113/***/ "./node_modules/mmenu-js/dist/addons/counters/options.js": 114/*!***************************************************************!*\ 115 !*** ./node_modules/mmenu-js/dist/addons/counters/options.js ***! 116 \***************************************************************/ 117/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 118 119eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n add: false\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/counters/options.js?"); 120 121/***/ }), 122
vendor: 5,217 bytes, lines 123-132
123/***/ "./node_modules/mmenu-js/dist/addons/iconbar/mmenu.iconbar.js": 124/*!********************************************************************!*\ 125 !*** ./node_modules/mmenu-js/dist/addons/iconbar/mmenu.iconbar.js ***! 126 \********************************************************************/ 127/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 128 129eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/addons/iconbar/options.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_matchmedia__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_modules/matchmedia */ \"./node_modules/mmenu-js/dist/_modules/matchmedia.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n this.opts.iconbar = this.opts.iconbar || {};\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_3__.extend)(this.opts.iconbar, _options__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n if (!options.use) {\n return;\n }\n let iconbar;\n ['top', 'bottom'].forEach((position, n) => {\n let ctnt = options[position];\n //\tExtend shorthand options\n if ((0,_modules_helpers__WEBPACK_IMPORTED_MODULE_3__.type)(ctnt) != 'array') {\n ctnt = [ctnt];\n }\n //\tCreate node\n const part = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.create('div.mm-iconbar__' + position);\n //\tAdd content\n for (let c = 0, l = ctnt.length; c < l; c++) {\n if (typeof ctnt[c] == 'string') {\n part.innerHTML += ctnt[c];\n }\n else {\n part.append(ctnt[c]);\n }\n }\n if (part.children.length) {\n if (!iconbar) {\n iconbar = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.create('div.mm-iconbar');\n }\n iconbar.append(part);\n }\n });\n //\tAdd to menu\n if (iconbar) {\n //\tAdd the iconbar.\n this.bind('initMenu:after', () => {\n this.node.menu.prepend(iconbar);\n });\n //\tEn-/disable the iconbar.\n let classname = 'mm-menu--iconbar-' + options.position;\n let enable = () => {\n this.node.menu.classList.add(classname);\n };\n let disable = () => {\n this.node.menu.classList.remove(classname);\n };\n if (typeof options.use == 'boolean') {\n this.bind('initMenu:after', enable);\n }\n else {\n _modules_matchmedia__WEBPACK_IMPORTED_MODULE_2__.add(options.use, enable, disable);\n }\n //\tTabs\n if (options.type == 'tabs') {\n iconbar.classList.add('mm-iconbar--tabs');\n iconbar.addEventListener('click', (evnt) => {\n const anchor = evnt.target.closest('.mm-iconbar__tab');\n if (!anchor) {\n return;\n }\n if (anchor.matches('.mm-iconbar__tab--selected')) {\n evnt.stopImmediatePropagation();\n return;\n }\n try {\n const panel = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.find(this.node.menu, `${anchor.getAttribute('href')}.mm-panel`)[0];\n if (panel) {\n evnt.preventDefault();\n evnt.stopImmediatePropagation();\n this.openPanel(panel, false);\n }\n }\n catch (err) { }\n });\n const selectTab = (panel) => {\n _modules_dom__WEBPACK_IMPORTED_MODULE_1__.find(iconbar, 'a').forEach((anchor) => {\n anchor.classList.remove('mm-iconbar__tab--selected');\n });\n const anchor = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.find(iconbar, '[href=\"#' + panel.id + '\"]')[0];\n if (anchor) {\n anchor.classList.add('mm-iconbar__tab--selected');\n }\n else {\n const parent = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.find(this.node.pnls, `#${panel.dataset.mmParent}`)[0];\n if (parent) {\n selectTab(parent.closest('.mm-panel'));\n }\n }\n };\n this.bind('openPanel:before', selectTab);\n }\n }\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/iconbar/mmenu.iconbar.js?"); 130 131/***/ }), 132
vendor: 861 bytes, lines 133-142
133/***/ "./node_modules/mmenu-js/dist/addons/iconbar/options.js": 134/*!**************************************************************!*\ 135 !*** ./node_modules/mmenu-js/dist/addons/iconbar/options.js ***! 136 \**************************************************************/ 137/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 138 139eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n use: false,\n top: [],\n bottom: [],\n position: 'left',\n type: 'default'\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/iconbar/options.js?"); 140 141/***/ }), 142
vendor: 845 bytes, lines 143-152
143/***/ "./node_modules/mmenu-js/dist/addons/iconpanels/_options.js": 144/*!******************************************************************!*\ 145 !*** ./node_modules/mmenu-js/dist/addons/iconpanels/_options.js ***! 146 \******************************************************************/ 147/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 148 149eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n add: false,\n blockPanel: true,\n visible: 3\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/iconpanels/_options.js?"); 150 151/***/ }), 152
vendor: 4,072 bytes, lines 153-162
153/***/ "./node_modules/mmenu-js/dist/addons/iconpanels/mmenu.iconpanels.js": 154/*!**************************************************************************!*\ 155 !*** ./node_modules/mmenu-js/dist/addons/iconpanels/mmenu.iconpanels.js ***! 156 \**************************************************************************/ 157/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 158 159eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_options */ \"./node_modules/mmenu-js/dist/addons/iconpanels/_options.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n this.opts.iconPanels = this.opts.iconPanels || {};\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_2__.extend)(this.opts.iconPanels, _options__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n let keepFirst = false;\n if (options.visible == 'first') {\n keepFirst = true;\n options.visible = 1;\n }\n options.visible = Math.min(3, Math.max(1, options.visible));\n options.visible++;\n //\tAdd the iconpanels\n if (options.add) {\n this.bind('initMenu:after', () => {\n this.node.menu.classList.add('mm-menu--iconpanel');\n });\n /** The classnames that can be set to a panel */\n const classnames = [\n 'mm-panel--iconpanel-0',\n 'mm-panel--iconpanel-1',\n 'mm-panel--iconpanel-2',\n 'mm-panel--iconpanel-3'\n ];\n // Show only the main panel.\n if (keepFirst) {\n this.bind('initMenu:after', () => {\n var _a;\n (_a = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(this.node.pnls, '.mm-panel')[0]) === null || _a === void 0 ? void 0 : _a.classList.add('mm-panel--iconpanel-first');\n });\n // Show parent panel(s).\n }\n else {\n this.bind('openPanel:after', (panel) => {\n // Do nothing when opening a vertical submenu\n if (panel.closest('.mm-listitem--vertical')) {\n return;\n }\n let panels = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(this.node.pnls, '.mm-panel');\n //\tFilter out panels that are not opened.\n panels = panels.filter((panel) => panel.matches('.mm-panel--parent'));\n //\tAdd the current panel to the list.\n panels.push(panel);\n //\tSlice the opened panels to the max visible amount.\n panels = panels.slice(-options.visible);\n //\tAdd the \"iconpanel\" classnames.\n panels.forEach((panel, p) => {\n panel.classList.remove('mm-panel--iconpanel-first', ...classnames);\n panel.classList.add(`mm-panel--iconpanel-${p}`);\n });\n });\n }\n // this.bind('initPanel:after', (panel: HTMLElement) => {\n // if (!panel.closest('.mm-listitem--vertical') &&\n // !DOM.children(panel, '.mm-panel__blocker')[0]\n // ) {\n // const blocker = DOM.create('div.mm-blocker.mm-panel__blocker') as HTMLElement;\n // panel.prepend(blocker);\n // }\n // });\n }\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/iconpanels/mmenu.iconpanels.js?"); 160 161/***/ }), 162
vendor: 849 bytes, lines 163-172
163/***/ "./node_modules/mmenu-js/dist/addons/navbars/configs.js": 164/*!**************************************************************!*\ 165 !*** ./node_modules/mmenu-js/dist/addons/navbars/configs.js ***! 166 \**************************************************************/ 167/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 168 169eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst configs = {\n breadcrumbs: {\n separator: '/',\n removeFirst: false\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (configs);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/navbars/configs.js?"); 170 171/***/ }), 172
vendor: 6,976 bytes, lines 173-182
173/***/ "./node_modules/mmenu-js/dist/addons/navbars/mmenu.navbars.js": 174/*!********************************************************************!*\ 175 !*** ./node_modules/mmenu-js/dist/addons/navbars/mmenu.navbars.js ***! 176 \********************************************************************/ 177/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 178 179eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Navbars)\n/* harmony export */ });\n/* harmony import */ var _configs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./configs */ \"./node_modules/mmenu-js/dist/addons/navbars/configs.js\");\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/addons/navbars/options.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_matchmedia__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../_modules/matchmedia */ \"./node_modules/mmenu-js/dist/_modules/matchmedia.js\");\n/* harmony import */ var _navbar_breadcrumbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./navbar.breadcrumbs */ \"./node_modules/mmenu-js/dist/addons/navbars/navbar.breadcrumbs.js\");\n/* harmony import */ var _navbar_close__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./navbar.close */ \"./node_modules/mmenu-js/dist/addons/navbars/navbar.close.js\");\n/* harmony import */ var _navbar_prev__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./navbar.prev */ \"./node_modules/mmenu-js/dist/addons/navbars/navbar.prev.js\");\n/* harmony import */ var _navbar_searchfield__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./navbar.searchfield */ \"./node_modules/mmenu-js/dist/addons/navbars/navbar.searchfield.js\");\n/* harmony import */ var _navbar_title__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./navbar.title */ \"./node_modules/mmenu-js/dist/addons/navbars/navbar.title.js\");\n/* harmony import */ var _navbar_tabs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./navbar.tabs */ \"./node_modules/mmenu-js/dist/addons/navbars/navbar.tabs.js\");\n\n\n\n\n\n\n\n\n\n\n\nNavbars.navbarContents = {\n breadcrumbs: _navbar_breadcrumbs__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n close: _navbar_close__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n prev: _navbar_prev__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n searchfield: _navbar_searchfield__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n title: _navbar_title__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n};\nNavbars.navbarTypes = {\n tabs: _navbar_tabs__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n};\nfunction Navbars() {\n this.opts.navbars = this.opts.navbars || [];\n this.conf.navbars = this.conf.navbars || {};\n //\tExtend options.\n (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_2__.extend)(this.conf.navbars, _configs__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n let navs = this.opts.navbars;\n if (typeof navs == 'undefined') {\n return;\n }\n if (!(navs instanceof Array)) {\n navs = [navs];\n }\n if (!navs.length) {\n return;\n }\n var navbars = {};\n navs.forEach((options) => {\n options = (0,_options__WEBPACK_IMPORTED_MODULE_1__.extendShorthandOptions)(options);\n if (!options.use) {\n return;\n }\n //\tCreate the navbar element.\n const navbar = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('div.mm-navbar');\n //\tGet the position for the navbar.\n let { position } = options;\n //\tRestrict the position to either \"bottom\" or \"top\" (default).\n if (position !== 'bottom') {\n position = 'top';\n }\n //\tCreate the wrapper for the navbar position.\n if (!navbars[position]) {\n navbars[position] = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('div.mm-navbars.mm-navbars--' + position);\n }\n navbars[position].append(navbar);\n //\tAdd content to the navbar.\n for (let c = 0, l = options.content.length; c < l; c++) {\n const ctnt = options.content[c];\n //\tThe content is a string.\n if (typeof ctnt == 'string') {\n const func = Navbars.navbarContents[ctnt];\n //\tThe content refers to one of the navbar-presets (\"prev\", \"title\", etc).\n if (typeof func == 'function') {\n //\tCall the preset function.\n func.call(this, navbar);\n //\tThe content is just HTML.\n }\n else {\n //\tAdd the HTML.\n // Wrap the HTML in a single node\n let node = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('span');\n node.innerHTML = ctnt;\n // If there was only a single node, use that.\n const children = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(node);\n if (children.length == 1) {\n node = children[0];\n }\n navbar.append(node);\n }\n //\tThe content is not a string, it must be an element.\n }\n else {\n navbar.append(ctnt);\n }\n }\n //\tThe type option is set.\n if (typeof options.type == 'string') {\n //\tThe function refers to one of the navbar-presets (\"tabs\").\n const func = Navbars.navbarTypes[options.type];\n if (typeof func == 'function') {\n //\tCall the preset function.\n func.call(this, navbar);\n }\n }\n //\tEn-/disable the navbar.\n let enable = () => {\n navbar.classList.remove('mm-hidden');\n };\n let disable = () => {\n navbar.classList.add('mm-hidden');\n };\n if (typeof options.use == 'boolean') {\n this.bind('initMenu:after', enable);\n }\n else {\n _modules_matchmedia__WEBPACK_IMPORTED_MODULE_4__.add(options.use, enable, disable);\n }\n });\n //\tAdd to menu.\n this.bind('initMenu:after', () => {\n for (let position in navbars) {\n this.node.pnls[position == 'bottom' ? 'after' : 'before'](navbars[position]);\n }\n });\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/navbars/mmenu.navbars.js?"); 180 181/***/ }), 182
vendor: 3,127 bytes, lines 183-192
183/***/ "./node_modules/mmenu-js/dist/addons/navbars/navbar.breadcrumbs.js": 184/*!*************************************************************************!*\ 185 !*** ./node_modules/mmenu-js/dist/addons/navbars/navbar.breadcrumbs.js ***! 186 \*************************************************************************/ 187/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 188 189eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(navbar) {\n //\tAdd content\n var breadcrumbs = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.create('div.mm-navbar__breadcrumbs');\n navbar.append(breadcrumbs);\n this.bind('initNavbar:after', (panel) => {\n if (panel.querySelector('.mm-navbar__breadcrumbs')) {\n return;\n }\n _modules_dom__WEBPACK_IMPORTED_MODULE_0__.children(panel, '.mm-navbar')[0].classList.add('mm-hidden');\n var crumbs = [], breadcrumbs = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.create('span.mm-navbar__breadcrumbs'), current = panel, first = true;\n while (current) {\n current = current.closest('.mm-panel');\n if (!current.parentElement.matches('.mm-listitem--vertical')) {\n let title = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.find(current, '.mm-navbar__title span')[0];\n if (title) {\n let text = title.textContent;\n if (text.length) {\n crumbs.unshift(first\n ? `<span>${text}</span>`\n : `<a \n href=\"#${current.id}\" \n title=\"${this.i18n(this.conf.screenReader.openSubmenu)}\"\n >${text}</a>`);\n }\n }\n first = false;\n }\n current = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.find(this.node.pnls, `#${current.dataset.mmParent}`)[0];\n }\n if (this.conf.navbars.breadcrumbs.removeFirst) {\n crumbs.shift();\n }\n breadcrumbs.innerHTML = crumbs.join('<span class=\"mm-separator\">' +\n this.conf.navbars.breadcrumbs.separator +\n '</span>');\n _modules_dom__WEBPACK_IMPORTED_MODULE_0__.children(panel, '.mm-navbar')[0].append(breadcrumbs);\n });\n //\tUpdate for to opened panel\n this.bind('openPanel:before', (panel) => {\n var crumbs = panel.querySelector('.mm-navbar__breadcrumbs');\n breadcrumbs.innerHTML = crumbs ? crumbs.innerHTML : '';\n });\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/navbars/navbar.breadcrumbs.js?"); 190 191/***/ }), 192
vendor: 1,403 bytes, lines 193-202
193/***/ "./node_modules/mmenu-js/dist/addons/navbars/navbar.close.js": 194/*!*******************************************************************!*\ 195 !*** ./node_modules/mmenu-js/dist/addons/navbars/navbar.close.js ***! 196 \*******************************************************************/ 197/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 198 199eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(navbar) {\n /** The close button. */\n const close = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.create('a.mm-btn.mm-btn--close.mm-navbar__btn');\n close.setAttribute('aria-label', this.i18n(this.conf.offCanvas.screenReader.closeMenu));\n //\tAdd the button to the navbar.\n navbar.append(close);\n //\tUpdate to target the page node.\n this.bind('setPage:after', (page) => {\n close.href = `#${page.id}`;\n });\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/navbars/navbar.close.js?"); 200 201/***/ }), 202
vendor: 1,963 bytes, lines 203-212
203/***/ "./node_modules/mmenu-js/dist/addons/navbars/navbar.prev.js": 204/*!******************************************************************!*\ 205 !*** ./node_modules/mmenu-js/dist/addons/navbars/navbar.prev.js ***! 206 \******************************************************************/ 207/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 208 209eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(navbar) {\n /** The prev button. */\n let prev = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.create('a.mm-btn.mm-hidden');\n //\tAdd button to navbar.\n navbar.append(prev);\n // Hide navbar in the panel.\n this.bind('initNavbar:after', (panel) => {\n _modules_dom__WEBPACK_IMPORTED_MODULE_0__.children(panel, '.mm-navbar')[0].classList.add('mm-hidden');\n });\n // Update the button href when opening a panel.\n this.bind('openPanel:before', (panel) => {\n if (panel.parentElement.matches('.mm-listitem--vertical')) {\n return;\n }\n prev.classList.add('mm-hidden');\n /** Original button in the panel. */\n const original = panel.querySelector('.mm-navbar__btn.mm-btn--prev');\n if (original) {\n /** Clone of the original button in the panel. */\n const clone = original.cloneNode(true);\n prev.after(clone);\n prev.remove();\n prev = clone;\n }\n });\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/navbars/navbar.prev.js?"); 210 211/***/ }), 212
vendor: 1,619 bytes, lines 213-222
213/***/ "./node_modules/mmenu-js/dist/addons/navbars/navbar.searchfield.js": 214/*!*************************************************************************!*\ 215 !*** ./node_modules/mmenu-js/dist/addons/navbars/navbar.searchfield.js ***! 216 \*************************************************************************/ 217/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 218 219eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(navbar) {\n /** Empty wrapper for the searchfield. */\n let wrapper = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.create('div.mm-navbar__searchfield');\n wrapper.id = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_1__.uniqueId)();\n //\tAdd button to navbar.\n navbar.append(wrapper);\n this.opts.searchfield = this.opts.searchfield || {};\n this.opts.searchfield.add = true;\n this.opts.searchfield.addTo = `#${wrapper.id}`;\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/navbars/navbar.searchfield.js?"); 220 221/***/ }), 222
vendor: 3,174 bytes, lines 223-232
223/***/ "./node_modules/mmenu-js/dist/addons/navbars/navbar.tabs.js": 224/*!******************************************************************!*\ 225 !*** ./node_modules/mmenu-js/dist/addons/navbars/navbar.tabs.js ***! 226 \******************************************************************/ 227/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 228 229eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(navbar) {\n navbar.classList.add('mm-navbar--tabs');\n navbar.closest('.mm-navbars').classList.add('mm-navbars--has-tabs');\n _modules_dom__WEBPACK_IMPORTED_MODULE_0__.children(navbar, 'a').forEach(anchor => {\n anchor.classList.add('mm-navbar__tab');\n });\n /**\n * Mark a tab as selected.\n * @param {HTMLElement} panel Opened panel.\n */\n function selectTab(panel) {\n /** The tab that links to the opened panel. */\n const anchor = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.children(navbar, `.mm-navbar__tab[href=\"#${panel.id}\"]`)[0];\n if (anchor) {\n anchor.classList.add('mm-navbar__tab--selected');\n // @ts-ignore\n anchor.ariaExpanded = 'true';\n }\n else {\n /** The parent listitem. */\n const parent = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.find(this.node.pnls, `#${panel.dataset.mmParent}`)[0];\n if (parent) {\n selectTab.call(this, parent.closest('.mm-panel'));\n }\n }\n }\n this.bind('openPanel:before', (panel) => {\n // Remove selected class.\n _modules_dom__WEBPACK_IMPORTED_MODULE_0__.children(navbar, 'a').forEach(anchor => {\n anchor.classList.remove('mm-navbar__tab--selected');\n // @ts-ignore\n anchor.ariaExpanded = 'false';\n });\n selectTab.call(this, panel);\n });\n this.bind('initPanels:after', () => {\n //\tAdd animation class to panel.\n navbar.addEventListener('click', event => {\n var _a, _b, _c;\n /** The href for the clicked tab. */\n const href = (_b = (_a = event.target) === null || _a === void 0 ? void 0 : _a.closest('.mm-navbar__tab')) === null || _b === void 0 ? void 0 : _b.getAttribute('href');\n try {\n (_c = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.find(this.node.pnls, `${href}.mm-panel`)[0]) === null || _c === void 0 ? void 0 : _c.classList.add('mm-panel--noanimation');\n }\n catch (err) { }\n }, {\n // useCapture to ensure the logical order.\n capture: true\n });\n });\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/navbars/navbar.tabs.js?"); 230 231/***/ }), 232
vendor: 1,781 bytes, lines 233-242
233/***/ "./node_modules/mmenu-js/dist/addons/navbars/navbar.title.js": 234/*!*******************************************************************!*\ 235 !*** ./node_modules/mmenu-js/dist/addons/navbars/navbar.title.js ***! 236 \*******************************************************************/ 237/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 238 239eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(navbar) {\n /** The title node in the navbar. */\n let title = _modules_dom__WEBPACK_IMPORTED_MODULE_0__.create('a.mm-navbar__title');\n //\tAdd title to the navbar.\n navbar.append(title);\n //\tUpdate the title to the opened panel.\n this.bind('openPanel:before', (panel) => {\n //\tDo nothing in a vertically expanding panel.\n if (panel.parentElement.matches('.mm-listitem--vertical')) {\n return;\n }\n /** Original title in the panel. */\n const original = panel.querySelector('.mm-navbar__title');\n if (original) {\n /** Clone of the original title in the panel. */\n const clone = original.cloneNode(true);\n title.after(clone);\n title.remove();\n title = clone;\n }\n });\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/navbars/navbar.title.js?"); 240 241/***/ }), 242
vendor: 1,342 bytes, lines 243-252
243/***/ "./node_modules/mmenu-js/dist/addons/navbars/options.js": 244/*!**************************************************************!*\ 245 !*** ./node_modules/mmenu-js/dist/addons/navbars/options.js ***! 246 \**************************************************************/ 247/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 248 249eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ extendShorthandOptions: () => (/* binding */ extendShorthandOptions)\n/* harmony export */ });\n/**\n * Extend shorthand options.\n *\n * @param {object} options The options to extend.\n * @return {object}\t\t\tThe extended options.\n */\nfunction extendShorthandOptions(options) {\n if (typeof options == 'boolean' && options) {\n options = {};\n }\n if (typeof options != 'object') {\n options = {};\n }\n if (typeof options.content == 'undefined') {\n options.content = ['prev', 'title'];\n }\n if (!(options.content instanceof Array)) {\n options.content = [options.content];\n }\n if (typeof options.use == 'undefined') {\n options.use = true;\n }\n return options;\n}\n;\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/navbars/options.js?"); 250 251/***/ }), 252
vendor: 828 bytes, lines 253-262
253/***/ "./node_modules/mmenu-js/dist/addons/pagescroll/configs.js": 254/*!*****************************************************************!*\ 255 !*** ./node_modules/mmenu-js/dist/addons/pagescroll/configs.js ***! 256 \*****************************************************************/ 257/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 258 259eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst configs = {\n scrollOffset: 0,\n updateOffset: 50\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (configs);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/pagescroll/configs.js?"); 260 261/***/ }), 262
vendor: 5,746 bytes, lines 263-272
263/***/ "./node_modules/mmenu-js/dist/addons/pagescroll/mmenu.pagescroll.js": 264/*!**************************************************************************!*\ 265 !*** ./node_modules/mmenu-js/dist/addons/pagescroll/mmenu.pagescroll.js ***! 266 \**************************************************************************/ 267/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 268 269eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../core/oncanvas/mmenu.oncanvas */ \"./node_modules/mmenu-js/dist/core/oncanvas/mmenu.oncanvas.js\");\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/addons/pagescroll/options.js\");\n/* harmony import */ var _configs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./configs */ \"./node_modules/mmenu-js/dist/addons/pagescroll/configs.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n this.opts.pageScroll = this.opts.pageScroll || {};\n this.conf.pageScroll = this.conf.pageScroll || {};\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.extend)(this.opts.pageScroll, _options__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n const configs = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.extend)(this.conf.pageScroll, _configs__WEBPACK_IMPORTED_MODULE_2__[\"default\"]);\n /** The currently \"active\" section */\n var section;\n function scrollTo() {\n if (section) {\n // section.scrollIntoView({ behavior: 'smooth' });\n window.scrollTo({\n top: section.getBoundingClientRect().top +\n document.scrollingElement.scrollTop -\n configs.scrollOffset,\n behavior: 'smooth'\n });\n }\n section = null;\n }\n function anchorInPage(href) {\n try {\n if (href.slice(0, 1) == '#') {\n return _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(_core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.page, href)[0];\n }\n }\n catch (err) { }\n return null;\n }\n if (this.opts.offCanvas.use && options.scroll) {\n //\tScroll to section after clicking menu item.\n this.bind('close:after', () => {\n scrollTo();\n });\n this.node.menu.addEventListener('click', event => {\n var _a, _b;\n const href = ((_b = (_a = event.target) === null || _a === void 0 ? void 0 : _a.closest('a[href]')) === null || _b === void 0 ? void 0 : _b.getAttribute('href')) || '';\n section = anchorInPage(href);\n if (section) {\n event.preventDefault();\n //\tIf the sidebar add-on is \"expanded\"...\n if (this.node.menu.matches('.mm-menu--sidebar-expanded') &&\n this.node.wrpr.matches('.mm-wrapper--sidebar-expanded')) {\n //\t... scroll the page to the section.\n scrollTo();\n //\t... otherwise...\n }\n else {\n //\t... close the menu.\n this.close();\n }\n }\n });\n }\n //\tUpdate selected menu item after scrolling.\n if (options.update) {\n let scts = [];\n this.bind('initListview:after', (listview) => {\n const listitems = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(listview, '.mm-listitem');\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.filterLIA(listitems).forEach(anchor => {\n const section = anchorInPage(anchor.getAttribute('href'));\n if (section) {\n scts.unshift(section);\n }\n });\n });\n let _selected = -1;\n window.addEventListener('scroll', evnt => {\n const scrollTop = window.scrollY;\n for (var s = 0; s < scts.length; s++) {\n if (scts[s].offsetTop < scrollTop + configs.updateOffset) {\n if (_selected !== s) {\n _selected = s;\n let panel = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(this.node.pnls, '.mm-panel--opened')[0];\n let listitems = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(panel, '.mm-listitem');\n let anchors = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.filterLIA(listitems);\n anchors = anchors.filter(anchor => anchor.matches('[href=\"#' + scts[s].id + '\"]'));\n if (anchors.length) {\n this.setSelected(anchors[0].parentElement);\n }\n }\n break;\n }\n }\n }, {\n passive: true\n });\n }\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/pagescroll/mmenu.pagescroll.js?"); 270 271/***/ }), 272
vendor: 823 bytes, lines 273-282
273/***/ "./node_modules/mmenu-js/dist/addons/pagescroll/options.js": 274/*!*****************************************************************!*\ 275 !*** ./node_modules/mmenu-js/dist/addons/pagescroll/options.js ***! 276 \*****************************************************************/ 277/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 278 279eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n scroll: false,\n update: false\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/pagescroll/options.js?"); 280 281/***/ }), 282
vendor: 892 bytes, lines 283-292
283/***/ "./node_modules/mmenu-js/dist/addons/searchfield/configs.js": 284/*!******************************************************************!*\ 285 !*** ./node_modules/mmenu-js/dist/addons/searchfield/configs.js ***! 286 \******************************************************************/ 287/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 288 289eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst configs = {\n cancel: true,\n clear: true,\n form: {},\n input: {},\n panel: {},\n submit: false\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (configs);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/configs.js?"); 290 291/***/ }), 292
vendor: 19,048 bytes, lines 293-302
293/***/ "./node_modules/mmenu-js/dist/addons/searchfield/mmenu.searchfield.js": 294/*!****************************************************************************!*\ 295 !*** ./node_modules/mmenu-js/dist/addons/searchfield/mmenu.searchfield.js ***! 296 \****************************************************************************/ 297/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 298 299eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/addons/searchfield/options.js\");\n/* harmony import */ var _configs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./configs */ \"./node_modules/mmenu-js/dist/addons/searchfield/configs.js\");\n/* harmony import */ var _translations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./translations */ \"./node_modules/mmenu-js/dist/addons/searchfield/translations/index.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n\n\n// Add the translations.\n(0,_translations__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n this.opts.searchfield = this.opts.searchfield || {};\n this.conf.searchfield = this.conf.searchfield || {};\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.extend)(this.opts.searchfield, _options__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n const configs = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.extend)(this.conf.searchfield, _configs__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n if (!options.add) {\n return;\n }\n switch (options.addTo) {\n case 'panels':\n options.addTo = '.mm-panel';\n break;\n case 'searchpanel':\n options.addTo = '.mm-panel--search';\n break;\n }\n switch (options.searchIn) {\n case 'panels':\n options.searchIn = '.mm-panel';\n break;\n }\n // Add a searchfield to panels matching the \"addTo\" querySelector.\n this.bind('initPanel:after', (panel) => {\n if (panel.matches(options.addTo) &&\n !panel.closest('.mm-listitem--vertical')) {\n initPanel.call(this, panel);\n }\n });\n this.bind('initMenu:after', () => {\n // Create the resultspanel.\n const resultspanel = createResultsPanel.call(this);\n initPanel.call(this, resultspanel);\n // Add a searchfield to anything other than a panel (most likely a navbar).\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.menu, options.addTo).forEach(wrapper => {\n if (!wrapper.matches('.mm-panel')) {\n /** The searchform. */\n const form = createSearchfield.call(this, true);\n // Add the form to the panel.\n wrapper.append(form);\n /** The input node. */\n const input = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(form, 'input')[0];\n // Bind events for opening and closing the resultspanel.\n // With a splash...\n if (options.splash.length) {\n // Open on focus.\n input.addEventListener('focusin', () => {\n this.openPanel(resultspanel, false, false);\n });\n // Show cancel button if searchpanel is opened.\n this.bind('openPanel:after', (panel) => {\n if (panel.matches('.mm-panel--search')) {\n form.classList.add('mm-searchfield--cancelable');\n }\n else {\n form.classList.remove('mm-searchfield--cancelable');\n }\n });\n // ...without splash.\n }\n else {\n // Open resultspanel when searching.\n this.bind('search:after', () => {\n this.openPanel(resultspanel, false, false);\n });\n // Close resultspanel when resetting.\n input.addEventListener('focusout', () => {\n if (!input.value.length) {\n this.closePanel(resultspanel, false);\n }\n });\n }\n // Initialize searching.\n initSearch.call(this, form);\n }\n });\n });\n //\tBlur searchfield\n this.bind('close:before', () => {\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.menu, '.mm-searchfield input').forEach((input) => {\n input.blur();\n });\n });\n}\n/**\n * Create the searchpanel.\n * @param {Mmenu} this\n */\nconst createResultsPanel = function () {\n /** Options for the searchfield. */\n const options = this.opts.searchfield;\n /** Configs for the searchfield. */\n const configs = this.conf.searchfield;\n /** The panel. */\n let panel = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(this.node.pnls, '.mm-panel--search')[0];\n //\tOnly once\n if (panel) {\n return panel;\n }\n panel = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('div.mm-panel--search');\n //\tAdd attributes to the panel. \n _addAttributes(panel, configs.panel);\n // Add a title to the panel.\n if (options.title.length) {\n panel.dataset.mmTitle = this.i18n(options.title);\n }\n // Add a listview to the panel.\n panel.append(_modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('ul'));\n this._initPanel(panel);\n return panel;\n};\n/**\n * Add a searchfield, splash message and no-results message to a panel.\n * @param {Mmenu} this\n * @param {HTMLElement} panel The panel to initialise.\n */\nconst initPanel = function (panel) {\n /** Options for the searchfield. */\n const options = this.opts.searchfield;\n //\tCreate the searchfield.\n if (panel.matches(options.addTo)) {\n /** Whether or not the panel is the resultspanel */\n const isResultspanel = panel.matches('.mm-panel--search');\n // Only one per panel.\n if (!_modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(panel, '.mm-searchfield').length) {\n /** The searchform. */\n const form = createSearchfield.call(this, isResultspanel);\n if (isResultspanel) {\n form.classList.add('mm-searchfield--cancelable');\n }\n // Add the form to the panel.\n panel.prepend(form);\n // Initialize searching.\n initSearch.call(this, form);\n }\n }\n //\tCreate the splash content.\n if (options.splash.length &&\n panel.matches('.mm-panel--search')) {\n // Only one per panel.\n if (!_modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(panel, '.mm-panel__splash').length) {\n /** The splash content node. */\n const splash = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('div.mm-panel__splash');\n splash.innerHTML = options.splash;\n panel.append(splash);\n }\n }\n // Add no results message.\n if (options.noResults.length) {\n //\tOnly once per panel.\n if (!_modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(panel, '.mm-panel__noresults').length) {\n /** The no results message node. */\n const message = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('div.mm-panel__noresults');\n message.innerHTML = this.i18n(options.noResults);\n panel.append(message);\n }\n }\n};\n/**\n * Create the searchfield.\n * @param {Mmenu} this\n * @param {boolean} [addCancel=false] Whether or not to add the cancel button\n */\nconst createSearchfield = function (addCancel = false) {\n /** Options for the searchfield. */\n const options = this.opts.searchfield;\n /** Configs for the searchfield. */\n const configs = this.conf.searchfield;\n /** The form node. */\n const form = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('form.mm-searchfield');\n //\tAdd attributes to the form\n _addAttributes(form, configs.form);\n /** The fieldset node. */\n const field = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('div.mm-searchfield__input');\n form.append(field);\n /** The input node. */\n const input = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('input');\n field.append(input);\n //\tAdd attributes to the input\n input.type = 'text';\n input.autocomplete = 'off';\n input.placeholder = this.i18n(options.placeholder);\n input.setAttribute('aria-label', this.i18n(options.placeholder));\n _addAttributes(input, configs.input);\n //\tAdd a button to submit to the form.\n if (configs.submit) {\n /** The submit button. */\n const submit = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('button.mm-btnreset.mm-btn.mm-btn--next.mm-searchfield__btn');\n submit.type = 'submit';\n field.append(submit);\n }\n //\tAdd a button to clear the searchfield.\n else if (configs.clear) {\n /** The reset button. */\n const reset = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('button.mm-btnreset.mm-btn.mm-btn--close.mm-searchfield__btn');\n reset.type = 'reset';\n reset.setAttribute('aria-label', this.i18n('Clear searchfield'));\n field.append(reset);\n // Apparently, resetting a form doesn't trigger any event on the input,\n // so we manually dispatch the event, one frame later :/\n form.addEventListener('reset', () => {\n window.requestAnimationFrame(() => {\n input.dispatchEvent(new Event('input'));\n });\n });\n }\n // Add a button to close the searchpanel.\n if (configs.cancel && addCancel) {\n /** The cancel button. */\n const cancel = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('a.mm-searchfield__cancel');\n cancel.href = '#';\n cancel.setAttribute('aria-label', this.i18n('Cancel searching'));\n cancel.textContent = this.i18n('cancel');\n form.append(cancel);\n // Close the search panel.\n cancel.addEventListener('click', event => {\n event.preventDefault();\n this.closePanel(_modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(this.node.pnls, '.mm-panel--search')[0], false);\n });\n }\n return form;\n};\n/**\n * Initialize the searching.\n * @param {Mmenu} this\n * @param {HTMLElement} form The searchform.\n */\nconst initSearch = function (form) {\n /** Options for the searchfield. */\n const options = this.opts.searchfield;\n /** The panel the results will be in. */\n const resultspanel = form.closest('.mm-panel') || _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.pnls, '.mm-panel--search')[0];\n /** The input node. */\n const input = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(form, 'input')[0];\n /** Where to search. */\n let searchIn = resultspanel.matches('.mm-panel--search')\n ? _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(this.node.pnls, options.searchIn)\n : [resultspanel];\n // Filter out the resultspanel\n searchIn = searchIn.filter(panel => !panel.matches('.mm-panel--search'));\n /** Search */\n const search = () => {\n /** The searchquery */\n const query = input.value.toLowerCase().trim();\n if (query.length) {\n form.classList.add('mm-searchfield--searching');\n }\n else {\n form.classList.remove('mm-searchfield--searching');\n }\n if (!options.search) {\n return;\n }\n /** All listitems */\n const listitems = [];\n searchIn.forEach(panel => {\n // Scroll all panels to top.\n panel.scrollTop = 0;\n // Find listitems.\n listitems.push(..._modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(panel, '.mm-listitem'));\n });\n //\tSearch\n if (query.length) {\n // Trigger event.\n this.trigger('search:before');\n resultspanel.classList.add('mm-panel--searching');\n //\tAdd data attribute to the matching listitems.\n listitems.forEach((listitem) => {\n const text = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(listitem, '.mm-listitem__text')[0];\n if (!text || _modules_dom__WEBPACK_IMPORTED_MODULE_3__.text(text).toLowerCase().indexOf(query) > -1) {\n listitem.dataset.mmSearchresult = query;\n }\n });\n /** The number of matching results. */\n let count = 0;\n // Resultspanel: Copy results to resultspanel.\n if (resultspanel.matches('.mm-panel--search')) {\n count = _searchResultsPanel(resultspanel, query, searchIn);\n // Search per panel: Hide the non-matching listitems.\n }\n else {\n count = _searchPerPanel(query, searchIn);\n }\n resultspanel.classList[count == 0 ? 'add' : 'remove']('mm-panel--noresults');\n // Trigger event.\n this.trigger('search:after');\n // Don't search, reset all.\n }\n else {\n // Trigger event.\n this.trigger('clear:before');\n resultspanel.classList.remove('mm-panel--searching', 'mm-panel--noresults');\n // Resultspanel.\n if (resultspanel.matches('.mm-panel--search')) {\n _resetResultsPanel(resultspanel);\n if (!options.splash) {\n this.closePanel(resultspanel, false, false);\n }\n // Search per panel: Show all listitems and dividers.\n }\n else {\n _resetPerPanel(searchIn);\n }\n // Trigger event.\n this.trigger('clear:after');\n }\n };\n input.addEventListener('input', search);\n search();\n};\nconst _searchResultsPanel = (resultspanel, query, searchIn) => {\n /** The listview for the results/ */\n const listview = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(resultspanel, '.mm-listview')[0];\n // Clear listview.\n listview.innerHTML = '';\n /** Amount of resutls found. */\n let count = 0;\n searchIn.forEach(panel => {\n /** The results in this panel. */\n const results = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(panel, `[data-mm-searchresult=\"${query}\"]`);\n count += results.length;\n if (results.length) {\n /** Title for the panel. */\n const title = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(panel, '.mm-navbar__title')[0];\n // Add a divider to indicate in what panel the results are.\n if (title) {\n const divider = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('li.mm-divider');\n divider.innerHTML = title.innerHTML;\n listview.append(divider);\n }\n // Add the results\n results.forEach((result) => {\n const clone = result.cloneNode(true);\n listview.append(clone);\n });\n }\n });\n // Remove inline subpanels.\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(listview, '.mm-panel').forEach(panel => {\n panel.remove();\n });\n // Remove ID's and data-attributes\n ['id', 'data-mm-parent', 'data-mm-child'].forEach(attr => {\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(listview, `[${attr}]`).forEach(elem => {\n elem.removeAttribute(attr);\n });\n });\n // Remove \"opened\" class\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(listview, '.mm-listitem--opened').forEach(listitem => {\n listitem.classList.remove('mm-listitem--opened');\n });\n return count;\n};\nconst _resetResultsPanel = (resultspanel) => {\n /** The listview for the results. */\n const listview = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(resultspanel, '.mm-listview')[0];\n // Clear listview.\n listview.innerHTML = '';\n};\nconst _searchPerPanel = (query, searchIn) => {\n /** Amount of resutls found. */\n let count = 0;\n searchIn.forEach(panel => {\n /** The results in this panel. */\n const results = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(panel, `[data-mm-searchresult=\"${query}\"]`);\n count += results.length;\n if (results.length) {\n // Add first preceeding divider to the results.\n results.forEach(result => {\n const divider = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.prevAll(result, '.mm-divider')[0];\n if (divider) {\n divider.dataset.mmSearchresult = query;\n }\n });\n }\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(panel, '.mm-listitem, .mm-divider').forEach(item => {\n // Hide all\n item.classList.add('mm-hidden');\n // Show matching + its parents.\n if (item.dataset.mmSearchresult === query) {\n [item, ..._modules_dom__WEBPACK_IMPORTED_MODULE_3__.parents(item, '.mm-listitem')].forEach(item2 => {\n item2.classList.remove('mm-hidden');\n });\n }\n });\n });\n return count;\n};\nconst _resetPerPanel = (searchIn) => {\n searchIn.forEach((panel) => {\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(panel, '.mm-listitem, .mm-divider').forEach(item => {\n item.classList.remove('mm-hidden');\n });\n });\n};\n/**\n * Add array of attributes to an element.\n * @param {HTMLEement} element The element to add the attributes to.\n * @param {Object} attributes The attributes to add.\n */\nconst _addAttributes = (element, attributes) => {\n if (attributes) {\n Object.keys(attributes).forEach(a => {\n element[a] = attributes[a];\n });\n }\n};\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/mmenu.searchfield.js?"); 300 301/***/ }), 302
vendor: 976 bytes, lines 303-312
303/***/ "./node_modules/mmenu-js/dist/addons/searchfield/options.js": 304/*!******************************************************************!*\ 305 !*** ./node_modules/mmenu-js/dist/addons/searchfield/options.js ***! 306 \******************************************************************/ 307/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 308 309eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n add: false,\n addTo: 'panels',\n noResults: 'No results found.',\n placeholder: 'Search',\n search: true,\n searchIn: 'panels',\n splash: '',\n title: 'Search',\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/options.js?"); 310 311/***/ }), 312
vendor: 1,002 bytes, lines 313-322
313/***/ "./node_modules/mmenu-js/dist/addons/searchfield/translations/de.js": 314/*!**************************************************************************!*\ 315 !*** ./node_modules/mmenu-js/dist/addons/searchfield/translations/de.js ***! 316 \**************************************************************************/ 317/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 318 319eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'cancel': 'abbrechen',\n 'Cancel searching': 'Suche abbrechen',\n 'Clear searchfield': 'Suchfeld löschen',\n 'No results found.': 'Keine Ergebnisse gefunden.',\n 'Search': 'Suche',\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/translations/de.js?"); 320 321/***/ }), 322
vendor: 1,038 bytes, lines 323-332
323/***/ "./node_modules/mmenu-js/dist/addons/searchfield/translations/fa.js": 324/*!**************************************************************************!*\ 325 !*** ./node_modules/mmenu-js/dist/addons/searchfield/translations/fa.js ***! 326 \**************************************************************************/ 327/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 328 329eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'cancel': 'Ø§ÙØµØ±Ø§Ù',\n 'Cancel searching': 'ÙØºÙ جستجÙ',\n 'Clear searchfield': 'پاک کرد٠ÙÛÙØ¯ جستجÙ',\n 'No results found.': 'ÙØªÛجÙâØ§Û ÛØ§Ùت ÙØ´Ø¯.',\n 'Search': 'جستجÙ',\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/translations/fa.js?"); 330 331/***/ }), 332
vendor: 2,983 bytes, lines 333-342
333/***/ "./node_modules/mmenu-js/dist/addons/searchfield/translations/index.js": 334/*!*****************************************************************************!*\ 335 !*** ./node_modules/mmenu-js/dist/addons/searchfield/translations/index.js ***! 336 \*****************************************************************************/ 337/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 338 339eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _modules_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../_modules/i18n */ \"./node_modules/mmenu-js/dist/_modules/i18n.js\");\n/* harmony import */ var _de__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./de */ \"./node_modules/mmenu-js/dist/addons/searchfield/translations/de.js\");\n/* harmony import */ var _fa__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fa */ \"./node_modules/mmenu-js/dist/addons/searchfield/translations/fa.js\");\n/* harmony import */ var _nl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nl */ \"./node_modules/mmenu-js/dist/addons/searchfield/translations/nl.js\");\n/* harmony import */ var _pt_br__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pt_br */ \"./node_modules/mmenu-js/dist/addons/searchfield/translations/pt_br.js\");\n/* harmony import */ var _ru__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ru */ \"./node_modules/mmenu-js/dist/addons/searchfield/translations/ru.js\");\n/* harmony import */ var _sk__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./sk */ \"./node_modules/mmenu-js/dist/addons/searchfield/translations/sk.js\");\n/* harmony import */ var _uk__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./uk */ \"./node_modules/mmenu-js/dist/addons/searchfield/translations/uk.js\");\n\n\n\n\n\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_de__WEBPACK_IMPORTED_MODULE_1__[\"default\"], 'de');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_fa__WEBPACK_IMPORTED_MODULE_2__[\"default\"], 'fa');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_nl__WEBPACK_IMPORTED_MODULE_3__[\"default\"], 'nl');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_pt_br__WEBPACK_IMPORTED_MODULE_4__[\"default\"], 'pt_br');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_ru__WEBPACK_IMPORTED_MODULE_5__[\"default\"], 'ru');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_sk__WEBPACK_IMPORTED_MODULE_6__[\"default\"], 'sk');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_uk__WEBPACK_IMPORTED_MODULE_7__[\"default\"], 'uk');\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/translations/index.js?"); 340 341/***/ }), 342
vendor: 1,005 bytes, lines 343-352
343/***/ "./node_modules/mmenu-js/dist/addons/searchfield/translations/nl.js": 344/*!**************************************************************************!*\ 345 !*** ./node_modules/mmenu-js/dist/addons/searchfield/translations/nl.js ***! 346 \**************************************************************************/ 347/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 348 349eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'cancel': 'annuleren',\n 'Cancel searching': 'Zoeken annuleren',\n 'Clear searchfield': 'Zoekveld leeg maken',\n 'No results found.': 'Geen resultaten gevonden.',\n 'Search': 'Zoeken',\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/translations/nl.js?"); 350 351/***/ }), 352
vendor: 1,028 bytes, lines 353-362
353/***/ "./node_modules/mmenu-js/dist/addons/searchfield/translations/pt_br.js": 354/*!*****************************************************************************!*\ 355 !*** ./node_modules/mmenu-js/dist/addons/searchfield/translations/pt_br.js ***! 356 \*****************************************************************************/ 357/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 358 359eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'cancel': 'cancelar',\n 'Cancel searching': 'Cancelar pesquisa',\n 'Clear searchfield': 'Limpar campo de pesquisa',\n 'No results found.': 'Nenhum resultado encontrado.',\n 'Search': 'Buscar',\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/translations/pt_br.js?"); 360 361/***/ }), 362
vendor: 1,054 bytes, lines 363-372
363/***/ "./node_modules/mmenu-js/dist/addons/searchfield/translations/ru.js": 364/*!**************************************************************************!*\ 365 !*** ./node_modules/mmenu-js/dist/addons/searchfield/translations/ru.js ***! 366 \**************************************************************************/ 367/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 368 369eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'cancel': 'оÑмениÑÑ',\n 'Cancel searching': 'ÐÑмениÑÑ Ð¿Ð¾Ð¸Ñк',\n 'Clear searchfield': 'ÐÑиÑÑиÑÑ Ð¿Ð¾Ð»Ðµ поиÑка',\n 'No results found.': 'ÐиÑего не найдено.',\n 'Search': 'ÐайÑи',\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/translations/ru.js?"); 370 371/***/ }), 372
vendor: 1,038 bytes, lines 373-382
373/***/ "./node_modules/mmenu-js/dist/addons/searchfield/translations/sk.js": 374/*!**************************************************************************!*\ 375 !*** ./node_modules/mmenu-js/dist/addons/searchfield/translations/sk.js ***! 376 \**************************************************************************/ 377/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 378 379eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'cancel': 'zrušiť',\n 'Cancel searching': 'Zrušiť vyhľadávanie',\n 'Clear searchfield': 'Vymazať pole vyhľadávania',\n 'No results found.': 'Neboli nájdené žiadne výsledky.',\n 'Search': 'Vyhľadávanie',\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/translations/sk.js?"); 380 381/***/ }), 382
vendor: 1,060 bytes, lines 383-392
383/***/ "./node_modules/mmenu-js/dist/addons/searchfield/translations/uk.js": 384/*!**************************************************************************!*\ 385 !*** ./node_modules/mmenu-js/dist/addons/searchfield/translations/uk.js ***! 386 \**************************************************************************/ 387/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 388 389eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'cancel': 'ÑкаÑÑваÑи',\n 'Cancel searching': 'СкаÑÑваÑи поÑÑк',\n 'Clear searchfield': 'ÐÑиÑÑиÑи поле поÑÑкÑ',\n 'No results found.': 'ÐÑÑого не знайдено.',\n 'Search': 'ÐоÑÑк',\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/searchfield/translations/uk.js?"); 390 391/***/ }), 392
vendor: 4,570 bytes, lines 393-402
393/***/ "./node_modules/mmenu-js/dist/addons/sectionindexer/mmenu.sectionindexer.js": 394/*!**********************************************************************************!*\ 395 !*** ./node_modules/mmenu-js/dist/addons/sectionindexer/mmenu.sectionindexer.js ***! 396 \**********************************************************************************/ 397/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 398 399eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/addons/sectionindexer/options.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_support__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_modules/support */ \"./node_modules/mmenu-js/dist/_modules/support.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n this.opts.sectionIndexer = this.opts.sectionIndexer || {};\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_3__.extend)(this.opts.sectionIndexer, _options__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n if (!options.add) {\n return;\n }\n this.bind('initPanels:after', () => {\n //\tAdd the indexer, only if it does not allready excists\n if (!this.node.indx) {\n let buttons = '';\n 'abcdefghijklmnopqrstuvwxyz'.split('').forEach(letter => {\n buttons += '<a href=\"#\">' + letter + '</a>';\n });\n let indexer = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.create('div.mm-sectionindexer');\n indexer.innerHTML = buttons;\n this.node.pnls.prepend(indexer);\n this.node.indx = indexer;\n //\tPrevent default behavior when clicking an anchor\n this.node.indx.addEventListener('click', evnt => {\n const anchor = evnt.target;\n if (anchor.matches('a')) {\n evnt.preventDefault();\n }\n });\n //\tScroll onMouseOver / onTouchStart\n let mouseOverEvent = evnt => {\n if (!evnt.target.matches('a')) {\n return;\n }\n const letter = evnt.target.textContent;\n const panel = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(this.node.pnls, '.mm-panel--opened')[0];\n let newTop = -1, oldTop = panel.scrollTop;\n panel.scrollTop = 0;\n _modules_dom__WEBPACK_IMPORTED_MODULE_1__.find(panel, '.mm-divider')\n .filter(divider => !divider.matches('.mm-hidden'))\n .forEach(divider => {\n if (newTop < 0 &&\n letter ==\n divider.textContent\n .trim()\n .slice(0, 1)\n .toLowerCase()) {\n newTop = divider.offsetTop;\n }\n });\n panel.scrollTop = newTop > -1 ? newTop : oldTop;\n };\n if (_modules_support__WEBPACK_IMPORTED_MODULE_2__.touch) {\n this.node.indx.addEventListener('touchstart', mouseOverEvent);\n this.node.indx.addEventListener('touchmove', mouseOverEvent);\n }\n else {\n this.node.indx.addEventListener('mouseover', mouseOverEvent);\n }\n }\n //\tShow or hide the indexer\n this.bind('openPanel:before', (panel) => {\n const active = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.find(panel, '.mm-divider').filter(divider => !divider.matches('.mm-hidden')).length;\n this.node.indx.classList[active ? 'add' : 'remove']('mm-sectionindexer--active');\n });\n });\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/sectionindexer/mmenu.sectionindexer.js?"); 400 401/***/ }), 402
vendor: 842 bytes, lines 403-412
403/***/ "./node_modules/mmenu-js/dist/addons/sectionindexer/options.js": 404/*!*********************************************************************!*\ 405 !*** ./node_modules/mmenu-js/dist/addons/sectionindexer/options.js ***! 406 \*********************************************************************/ 407/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 408 409eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n add: false,\n addTo: 'panels'\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/sectionindexer/options.js?"); 410 411/***/ }), 412
vendor: 3,883 bytes, lines 413-422
413/***/ "./node_modules/mmenu-js/dist/addons/setselected/mmenu.setselected.js": 414/*!****************************************************************************!*\ 415 !*** ./node_modules/mmenu-js/dist/addons/setselected/mmenu.setselected.js ***! 416 \****************************************************************************/ 417/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 418 419eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/addons/setselected/options.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n this.opts.setSelected = this.opts.setSelected || {};\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_2__.extend)(this.opts.setSelected, _options__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n //\tFind current by URL\n if (options.current == 'detect') {\n const findCurrent = (url) => {\n url = url.split('?')[0].split('#')[0];\n const anchor = this.node.menu.querySelector('a[href=\"' + url + '\"], a[href=\"' + url + '/\"]');\n if (anchor) {\n this.setSelected(anchor.parentElement);\n }\n else {\n const arr = url.split('/').slice(0, -1);\n if (arr.length) {\n findCurrent(arr.join('/'));\n }\n }\n };\n this.bind('initMenu:after', () => {\n findCurrent.call(this, window.location.href);\n });\n //\tRemove current selected item\n }\n else if (!options.current) {\n this.bind('initListview:after', (listview) => {\n _modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(listview, '.mm-listitem--selected').forEach((listitem) => {\n listitem.classList.remove('mm-listitem--selected');\n });\n });\n }\n //\tAdd :hover effect on items\n if (options.hover) {\n this.bind('initMenu:after', () => {\n this.node.menu.classList.add('mm-menu--selected-hover');\n });\n }\n //\tSet parent item selected for submenus\n if (options.parent) {\n this.bind('openPanel:after', (panel) => {\n //\tRemove all\n _modules_dom__WEBPACK_IMPORTED_MODULE_1__.find(this.node.pnls, '.mm-listitem--selected-parent').forEach((listitem) => {\n listitem.classList.remove('mm-listitem--selected-parent');\n });\n //\tMove up the DOM tree\n let current = panel;\n while (current) {\n let li = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.find(this.node.pnls, `#${current.dataset.mmParent}`)[0];\n current = li === null || li === void 0 ? void 0 : li.closest('.mm-panel');\n if (li && !li.matches('.mm-listitem--vertical')) {\n li.classList.add('mm-listitem--selected-parent');\n }\n }\n });\n this.bind('initMenu:after', () => {\n this.node.menu.classList.add('mm-menu--selected-parent');\n });\n }\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/setselected/mmenu.setselected.js?"); 420 421/***/ }), 422
vendor: 847 bytes, lines 423-432
423/***/ "./node_modules/mmenu-js/dist/addons/setselected/options.js": 424/*!******************************************************************!*\ 425 !*** ./node_modules/mmenu-js/dist/addons/setselected/options.js ***! 426 \******************************************************************/ 427/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 428 429eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n current: true,\n hover: false,\n parent: false\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/setselected/options.js?"); 430 431/***/ }), 432
vendor: 4,935 bytes, lines 433-442
433/***/ "./node_modules/mmenu-js/dist/addons/sidebar/mmenu.sidebar.js": 434/*!********************************************************************!*\ 435 !*** ./node_modules/mmenu-js/dist/addons/sidebar/mmenu.sidebar.js ***! 436 \********************************************************************/ 437/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 438 439eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../core/oncanvas/mmenu.oncanvas */ \"./node_modules/mmenu-js/dist/core/oncanvas/mmenu.oncanvas.js\");\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/addons/sidebar/options.js\");\n/* harmony import */ var _modules_matchmedia__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_modules/matchmedia */ \"./node_modules/mmenu-js/dist/_modules/matchmedia.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n // Only for off-canvas menus.\n if (!this.opts.offCanvas.use) {\n return;\n }\n this.opts.sidebar = this.opts.sidebar || {};\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_3__.extend)(this.opts.sidebar, _options__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n //\tCollapsed\n if (options.collapsed.use) {\n //\tMake the menu collapsable.\n this.bind('initMenu:after', () => {\n this.node.menu.classList.add('mm-menu--sidebar-collapsed');\n });\n /** Enable the collapsed sidebar */\n let enable = () => {\n this.node.wrpr.classList.add('mm-wrapper--sidebar-collapsed');\n };\n /** Disable the collapsed sidebar */\n let disable = () => {\n this.node.wrpr.classList.remove('mm-wrapper--sidebar-collapsed');\n };\n if (typeof options.collapsed.use === 'boolean') {\n this.bind('initMenu:after', enable);\n }\n else {\n _modules_matchmedia__WEBPACK_IMPORTED_MODULE_2__.add(options.collapsed.use, enable, disable);\n }\n }\n //\tExpanded\n if (options.expanded.use) {\n //\tMake the menu expandable\n this.bind('initMenu:after', () => {\n this.node.menu.classList.add('mm-menu--sidebar-expanded');\n });\n let expandedEnabled = false;\n /** Enable the expanded sidebar */\n let enable = () => {\n expandedEnabled = true;\n this.node.wrpr.classList.add('mm-wrapper--sidebar-expanded');\n this.node.menu.removeAttribute('aria-modal');\n this.open();\n _core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.page.removeAttribute('inert');\n };\n /** Disable the expanded sidebar */\n let disable = () => {\n expandedEnabled = false;\n this.node.wrpr.classList.remove('mm-wrapper--sidebar-expanded');\n this.node.menu.setAttribute('aria-modal', 'true');\n this.close();\n };\n if (typeof options.expanded.use == 'boolean') {\n this.bind('initMenu:after', enable);\n }\n else {\n _modules_matchmedia__WEBPACK_IMPORTED_MODULE_2__.add(options.expanded.use, enable, disable);\n }\n // Store exanded state when opening and closing the menu.\n this.bind('close:after', () => {\n if (expandedEnabled) {\n window.sessionStorage.setItem('mmenuExpandedState', 'closed');\n }\n });\n this.bind('open:after', () => {\n if (expandedEnabled) {\n window.sessionStorage.setItem('mmenuExpandedState', 'open');\n _core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.page.removeAttribute('inert');\n }\n });\n // Set the initial state\n let initialState = options.expanded.initial;\n const state = window.sessionStorage.getItem('mmenuExpandedState');\n switch (state) {\n case 'open':\n case 'closed':\n initialState = state;\n break;\n }\n if (initialState === 'closed') {\n this.bind('init:after', () => {\n this.close();\n });\n }\n }\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/sidebar/mmenu.sidebar.js?"); 440 441/***/ }), 442
vendor: 886 bytes, lines 443-452
443/***/ "./node_modules/mmenu-js/dist/addons/sidebar/options.js": 444/*!**************************************************************!*\ 445 !*** ./node_modules/mmenu-js/dist/addons/sidebar/options.js ***! 446 \**************************************************************/ 447/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 448 449eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n collapsed: {\n use: false,\n },\n expanded: {\n use: false,\n initial: 'open'\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/addons/sidebar/options.js?"); 450 451/***/ }), 452
vendor: 1,064 bytes, lines 453-462
453/***/ "./node_modules/mmenu-js/dist/core/offcanvas/configs.js": 454/*!**************************************************************!*\ 455 !*** ./node_modules/mmenu-js/dist/core/offcanvas/configs.js ***! 456 \**************************************************************/ 457/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 458 459eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst configs = {\n clone: false,\n menu: {\n insertMethod: 'append',\n insertSelector: 'body'\n },\n page: {\n nodetype: 'div',\n selector: null,\n noSelector: []\n },\n screenReader: {\n closeMenu: 'Close menu',\n openMenu: 'Open menu',\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (configs);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/offcanvas/configs.js?"); 460 461/***/ }), 462
vendor: 10,421 bytes, lines 463-472
463/***/ "./node_modules/mmenu-js/dist/core/offcanvas/mmenu.offcanvas.js": 464/*!**********************************************************************!*\ 465 !*** ./node_modules/mmenu-js/dist/core/offcanvas/mmenu.offcanvas.js ***! 466 \**********************************************************************/ 467/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 468 469eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../oncanvas/mmenu.oncanvas */ \"./node_modules/mmenu-js/dist/core/oncanvas/mmenu.oncanvas.js\");\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/core/offcanvas/options.js\");\n/* harmony import */ var _configs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./configs */ \"./node_modules/mmenu-js/dist/core/offcanvas/configs.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n\n\nconst possiblePositions = [\n 'left',\n 'left-front',\n 'right',\n 'right-front',\n 'top',\n 'bottom'\n];\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n this.opts.offCanvas = this.opts.offCanvas || {};\n this.conf.offCanvas = this.conf.offCanvas || {};\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.extend)(this.opts.offCanvas, _options__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n const configs = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.extend)(this.conf.offCanvas, _configs__WEBPACK_IMPORTED_MODULE_2__[\"default\"]);\n if (!options.use) {\n return;\n }\n if (!possiblePositions.includes(options.position)) {\n options.position = possiblePositions[0];\n }\n //\tAdd methods to the API.\n this._api.push('open', 'close', 'setPage', 'position');\n // Clone menu if needed.\n if (configs.clone) {\n //\tClone the original menu and store it.\n this.node.menu = this.node.menu.cloneNode(true);\n //\tPrefix all ID's in the cloned menu.\n if (this.node.menu.id) {\n this.node.menu.id = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.cloneId)(this.node.menu.id);\n }\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.menu, '[id]').forEach((elem) => {\n elem.id = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.cloneId)(elem.id);\n });\n }\n // Prepend the menu to the <body>.\n this.bind('initMenu:before', () => {\n this.node.wrpr = document.querySelector(configs.menu.insertSelector);\n this.node.wrpr[configs.menu.insertMethod](this.node.menu);\n });\n //\tSetup the UI blocker.\n if (!_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.blck) {\n this.bind('initMenu:before', () => {\n /** The UI blocker node. */\n const blocker = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('a.mm-wrapper__blocker.mm-blocker.mm-slideout');\n blocker.id = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.uniqueId)();\n blocker.setAttribute('aria-label', this.i18n(configs.screenReader.closeMenu));\n blocker.setAttribute('inert', 'true');\n //\tAppend the blocker node to the body.\n document.querySelector(configs.menu.insertSelector).append(blocker);\n //\tStore the blocker node.\n _oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.blck = blocker;\n });\n }\n this.bind('initMenu:after', () => {\n //\tSetup the page.\n this.setPage(_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.page);\n //\tSetup the menu.\n this.node.menu.classList.add('mm-menu--offcanvas');\n this.node.menu.setAttribute('inert', 'true');\n if (possiblePositions.includes(options.position)) {\n this.node.wrpr.classList.add(`mm-wrapper--position-${options.position}`);\n this.node.menu.classList.add(`mm-menu--position-${options.position}`);\n }\n //\tOpen if url hash equals menu id (usefull when user clicks the hamburger icon before the menu is created)\n let hash = window.location.hash;\n if (hash) {\n let id = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.originalId)(this.node.menu.id);\n if (id && id == hash.slice(1)) {\n setTimeout(() => {\n this.open();\n }, 1000);\n }\n }\n });\n //\tOpen / close the menu.\n document.addEventListener('click', event => {\n var _a;\n /** THe href attribute for the clicked anchor. */\n const href = (_a = event.target.closest('a')) === null || _a === void 0 ? void 0 : _a.getAttribute('href');\n switch (href) {\n //\tOpen menu if the clicked anchor links to the menu.\n case `#${(0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.originalId)(this.node.menu.id)}`:\n event.preventDefault();\n this.open();\n break;\n //\tClose menu if the clicked anchor links to the page.\n case `#${(0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.originalId)(_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.page.id)}`:\n event.preventDefault();\n this.close();\n break;\n }\n });\n //\tClose the menu with ESC key.\n document.addEventListener('keyup', (event) => {\n if (event.key == 'Escape') {\n this.close();\n }\n });\n}\n/**\n * Open the menu.\n */\n_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.open = function () {\n if (this.node.menu.matches('.mm-menu--opened')) {\n return;\n }\n //\tInvoke \"before\" hook.\n this.trigger('open:before');\n //\tOpen\n this.node.wrpr.classList.add('mm-wrapper--opened', `mm-wrapper--position-${this.opts.offCanvas.position}`);\n this.node.menu.classList.add('mm-menu--opened');\n this.node.menu.removeAttribute('inert');\n _oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.blck.removeAttribute('inert');\n _oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.page.setAttribute('inert', 'true');\n // Store the last focesed element.\n this.node.open = document.activeElement;\n //\tInvoke \"after\" hook.\n this.trigger('open:after');\n};\n/**\n * Close the menu.\n */\n_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.close = function () {\n var _a;\n if (!this.node.menu.matches('.mm-menu--opened')) {\n return;\n }\n //\tInvoke \"before\" hook.\n this.trigger('close:before');\n this.node.wrpr.classList.remove('mm-wrapper--opened', `mm-wrapper--position-${this.opts.offCanvas.position}`);\n this.node.menu.classList.remove('mm-menu--opened');\n this.node.menu.setAttribute('inert', 'true');\n _oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.blck.setAttribute('inert', 'true');\n _oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.page.removeAttribute('inert');\n /** Element to focus. */\n const focus = this.node.open || document.querySelector(`[href=\"#${this.node.menu.id}\"]`) || null;\n (_a = focus) === null || _a === void 0 ? void 0 : _a.focus();\n // Prevent html/body from scrolling due to focus.\n document.body.scrollLeft = 0;\n document.documentElement.scrollLeft = 0;\n //\tInvoke \"after\" hook.\n this.trigger('close:after');\n};\n/**\n * Set the \"page\" node.\n *\n * @param {HTMLElement} page Element to set as the page.\n */\n_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.setPage = function (page) {\n /** Offcanvas config */\n const configs = this.conf.offCanvas;\n //\tIf no page was specified, find it.\n if (!page) {\n /** Array of elements that are / could be \"the page\". */\n let pages = typeof configs.page.selector == 'string'\n ? _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(document.body, configs.page.selector)\n : _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(document.body, configs.page.nodetype);\n //\tFilter out elements that are absolutely not \"the page\".\n pages = pages.filter((page) => !page.matches('.mm-menu, .mm-wrapper__blocker'));\n //\tFilter out elements that are configured to not be \"the page\".\n if (configs.page.noSelector.length) {\n pages = pages.filter((page) => !page.matches(configs.page.noSelector.join(', ')));\n }\n //\tWrap multiple pages in a single element.\n if (pages.length > 1) {\n let wrapper = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('div');\n pages[0].before(wrapper);\n pages.forEach((page) => {\n wrapper.append(page);\n });\n pages = [wrapper];\n }\n page = pages[0];\n }\n //\tInvoke \"before\" hook.\n this.trigger('setPage:before', [page]);\n // Set the classes\n page.classList.add('mm-page', 'mm-slideout');\n // Set the ID.\n page.id = page.id || (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_4__.uniqueId)();\n //\tSync the blocker to target the page.\n _oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.blck.setAttribute('href', `#${page.id}`);\n //\tStore the page node.\n _oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].node.page = page;\n //\tInvoke \"after\" hook.\n this.trigger('setPage:after', [page]);\n};\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/offcanvas/mmenu.offcanvas.js?"); 470 471/***/ }), 472
vendor: 807 bytes, lines 473-482
473/***/ "./node_modules/mmenu-js/dist/core/offcanvas/options.js": 474/*!**************************************************************!*\ 475 !*** ./node_modules/mmenu-js/dist/core/offcanvas/options.js ***! 476 \**************************************************************/ 477/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 478 479eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n use: true,\n position: 'left'\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/offcanvas/options.js?"); 480 481/***/ }), 482
vendor: 1,179 bytes, lines 483-492
483/***/ "./node_modules/mmenu-js/dist/core/oncanvas/configs.js": 484/*!*************************************************************!*\ 485 !*** ./node_modules/mmenu-js/dist/core/oncanvas/configs.js ***! 486 \*************************************************************/ 487/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 488 489eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst configs = {\n classNames: {\n divider: 'Divider',\n nolistview: 'NoListview',\n nopanel: 'NoPanel',\n panel: 'Panel',\n selected: 'Selected',\n vertical: 'Vertical'\n },\n language: null,\n panelNodetype: ['ul', 'ol', 'div'],\n screenReader: {\n closeSubmenu: 'Close submenu',\n openSubmenu: 'Open submenu',\n toggleSubmenu: 'Toggle submenu'\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (configs);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/configs.js?"); 490 491/***/ }), 492
vendor: 29,926 bytes, lines 493-502
493/***/ "./node_modules/mmenu-js/dist/core/oncanvas/mmenu.oncanvas.js": 494/*!********************************************************************!*\ 495 !*** ./node_modules/mmenu-js/dist/core/oncanvas/mmenu.oncanvas.js ***! 496 \********************************************************************/ 497/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 498 499eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Mmenu)\n/* harmony export */ });\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/core/oncanvas/options.js\");\n/* harmony import */ var _configs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./configs */ \"./node_modules/mmenu-js/dist/core/oncanvas/configs.js\");\n/* harmony import */ var _translations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./translations */ \"./node_modules/mmenu-js/dist/core/oncanvas/translations/index.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../_modules/i18n */ \"./node_modules/mmenu-js/dist/_modules/i18n.js\");\n/* harmony import */ var _modules_matchmedia__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../_modules/matchmedia */ \"./node_modules/mmenu-js/dist/_modules/matchmedia.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\nvar __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to set private field on non-instance\");\n }\n privateMap.set(receiver, value);\n return value;\n};\nvar __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n return privateMap.get(receiver);\n};\nvar _panelObserver, _listviewObserver, _listitemObserver;\n\n\n\n\n\n\n\n// Add the translations.\n(0,_translations__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n/**\n * Class for a mobile menu.\n */\nclass Mmenu {\n /**\n * Create a mobile menu.\n * @param {HTMLElement|string} \tmenu\t\tThe menu node.\n * @param {object} \t\t\t\t[option]\tOptions for the menu.\n * @param {object} \t\t\t\t[configs]\tConfiguration options for the menu.\n */\n constructor(menu, options, configs) {\n /** MutationObserver for adding a listview to a panel. */\n _panelObserver.set(this, void 0);\n /** MutationObserver for adding a listitem to a listview. */\n _listviewObserver.set(this, void 0);\n /** MutationObserver for adding a listview to a listitem. */\n _listitemObserver.set(this, void 0);\n //\tExtend options and configuration from defaults.\n this.opts = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_6__.extend)(options, _options__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n this.conf = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_6__.extend)(configs, _configs__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n //\tMethods to expose in the API.\n this._api = [\n 'i18n',\n 'bind',\n 'openPanel',\n 'closePanel',\n 'setSelected',\n ];\n //\tStorage objects for nodes and hooks.\n this.node = {};\n this.hook = {};\n //\tGet menu node from string or element.\n this.node.menu =\n typeof menu == 'string' ? document.querySelector(menu) : menu;\n if (typeof this._deprecatedWarnings == 'function') {\n this._deprecatedWarnings();\n }\n this.trigger('init:before');\n this._initObservers();\n this._initAddons();\n this._initHooks();\n this._initAPI();\n this._initMenu();\n this._initPanels();\n this._initOpened();\n _modules_matchmedia__WEBPACK_IMPORTED_MODULE_5__.watch();\n this.trigger('init:after');\n return this;\n }\n /**\n * Open a panel.\n * @param {HTMLElement} panel Panel to open.\n * @param {boolean} [animation=true] Whether or not to use an animation.\n * @param {boolean} [setfocus=true] Whether or not to set focus to the panel.\n */\n openPanel(panel, animation = true, setfocus = true) {\n //\tFind panel.\n if (!panel) {\n return;\n }\n panel = panel.closest('.mm-panel');\n //\tInvoke \"before\" hook.\n this.trigger('openPanel:before', [panel, {\n animation,\n setfocus\n }]);\n /** Wrapping listitem (for a vertical panel) */\n const listitem = panel.closest('.mm-listitem--vertical');\n //\tOpen a \"vertical\" panel.\n if (listitem) {\n listitem.classList.add('mm-listitem--opened');\n /** The parent panel */\n const parent = listitem.closest('.mm-panel');\n this.openPanel(parent);\n //\tOpen a \"horizontal\" panel.\n }\n else {\n /** Currently opened panel. */\n const current = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(this.node.pnls, '.mm-panel--opened')[0];\n // Ensure current panel stays on top while closing it.\n if (panel.matches('.mm-panel--parent') && current) {\n current.classList.add('mm-panel--highest');\n }\n // Remove opened, parent, animation and highest classes from all panels.\n const remove = ['mm-panel--opened', 'mm-panel--parent'];\n const add = [];\n if (animation) {\n remove.push('mm-panel--noanimation');\n }\n else {\n add.push('mm-panel--noanimation');\n }\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(this.node.pnls, '.mm-panel').forEach(pnl => {\n pnl.classList.add(...add);\n pnl.classList.remove(...remove);\n if (pnl !== current) {\n pnl.classList.remove('mm-panel--highest');\n }\n // Set inert attribute.\n if (pnl === panel) {\n pnl.removeAttribute('inert');\n }\n else {\n pnl.setAttribute('inert', 'true');\n }\n });\n // Open new panel.\n panel.classList.add('mm-panel--opened');\n /** The parent panel */\n let parent = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.pnls, `#${panel.dataset.mmParent}`)[0];\n //\tSet parent panels as \"parent\".\n while (parent) {\n parent = parent.closest('.mm-panel');\n parent.classList.add('mm-panel--parent');\n parent = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.pnls, `#${parent.dataset.mmParent}`)[0];\n }\n }\n //\tInvoke \"after\" hook.\n this.trigger('openPanel:after', [panel, {\n animation,\n setfocus\n }]);\n }\n /**\n * Close a panel.\n * @param {HTMLElement} panel Panel to close.\n * @param {boolean} [animation=true] Whether or not to use an animation.\n * @param {boolean} [setfocus=true] Whether or not to set focus to the panel.\n */\n closePanel(panel, animation = true, setfocus = true) {\n if (!panel) {\n return;\n }\n if (!panel.matches('.mm-panel--opened') &&\n !panel.parentElement.matches('.mm-listitem--opened')) {\n return;\n }\n //\tInvoke \"before\" hook.\n this.trigger('closePanel:before', [panel]);\n //\tClose a \"vertical\" panel.\n if (panel.parentElement.matches('.mm-listitem--vertical')) {\n panel.parentElement.classList.remove('mm-listitem--opened');\n // Close a \"horizontal\" panel...\n }\n else {\n // ... open its parent...\n if (panel.dataset.mmParent) {\n const parent = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.pnls, `#${panel.dataset.mmParent}`)[0];\n this.openPanel(parent, animation, setfocus);\n // ... or the last opened\n }\n else {\n const lastPanel = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(this.node.pnls, '.mm-panel--parent').pop();\n if (lastPanel && lastPanel !== panel) {\n this.openPanel(lastPanel, animation, setfocus);\n // ... or the first panel.\n }\n else {\n const firstPanel = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(this.node.pnls, '.mm-panel')[0];\n if (firstPanel && firstPanel !== panel) {\n this.openPanel(firstPanel, animation, setfocus);\n }\n }\n }\n }\n //\tInvoke \"after\" hook.\n this.trigger('closePanel:after', [panel]);\n }\n /**\n * Toggle a panel opened/closed.\n * @param {HTMLElement} panel Panel to open or close.\n */\n togglePanel(panel) {\n const listitem = panel.parentElement;\n /** The function to invoke (open or close). */\n let fn = 'openPanel';\n //\tToggle only works for \"vertical\" panels.\n if (listitem.matches('.mm-listitem--opened') ||\n panel.matches('.mm-panel--opened')) {\n fn = 'closePanel';\n }\n this[fn](panel);\n }\n /**\n * Display a listitem as being \"selected\".\n * @param {HTMLElement} listitem Listitem to mark.\n */\n setSelected(listitem) {\n //\tInvoke \"before\" hook.\n this.trigger('setSelected:before', [listitem]);\n //\tRemove the selected class from all listitems.\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.menu, '.mm-listitem--selected').forEach((li) => {\n li.classList.remove('mm-listitem--selected');\n });\n //\tAdd the selected class to the provided listitem.\n listitem.classList.add('mm-listitem--selected');\n //\tInvoke \"after\" hook.\n this.trigger('setSelected:after', [listitem]);\n }\n /**\n * Bind functions to a hook (subscriber).\n * @param {string} \t\thook The hook.\n * @param {function} \tfunc The function.\n */\n bind(hook, func) {\n //\tCreate an array for the hook if it does not yet excist.\n this.hook[hook] = this.hook[hook] || [];\n //\tPush the function to the array.\n this.hook[hook].push(func);\n }\n /**\n * Invoke the functions bound to a hook (publisher).\n * @param {string} \thook \tThe hook.\n * @param {array}\t[args] \tArguments for the function.\n */\n trigger(hook, args) {\n if (this.hook[hook]) {\n for (var h = 0, l = this.hook[hook].length; h < l; h++) {\n this.hook[hook][h].apply(this, args);\n }\n }\n }\n /**\n * Create the observers.\n */\n _initObservers() {\n __classPrivateFieldSet(this, _panelObserver, new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n mutation.addedNodes.forEach((listview) => {\n if (listview.matches(this.conf.panelNodetype.join(', '))) {\n this._initListview(listview);\n }\n });\n });\n }));\n __classPrivateFieldSet(this, _listviewObserver, new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n mutation.addedNodes.forEach((listitem) => {\n this._initListitem(listitem);\n });\n });\n }));\n __classPrivateFieldSet(this, _listitemObserver, new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n mutation.addedNodes.forEach((subpanel) => {\n if (subpanel === null || subpanel === void 0 ? void 0 : subpanel.matches(this.conf.panelNodetype.join(', '))) {\n this._initSubPanel(subpanel);\n }\n });\n });\n }));\n }\n /**\n * Create the API.\n */\n _initAPI() {\n //\tWe need this=that because:\n //\t1) the \"arguments\" object can not be referenced in an arrow function in ES3 and ES5.\n const that = this;\n this.API = {};\n this._api.forEach((fn) => {\n this.API[fn] = function () {\n return that[fn].apply(that, arguments); // 1)\n };\n });\n //\tStore the API in the HTML node for external usage.\n this.node.menu['mmApi'] = this.API;\n }\n /**\n * Bind the hooks specified in the options (publisher).\n */\n _initHooks() {\n for (let hook in this.opts.hooks) {\n this.bind(hook, this.opts.hooks[hook]);\n }\n }\n /**\n * Initialize all available add-ons.\n */\n _initAddons() {\n //\tInvoke \"before\" hook.\n this.trigger('initAddons:before');\n for (let addon in Mmenu.addons) {\n Mmenu.addons[addon].call(this);\n }\n //\tInvoke \"after\" hook.\n this.trigger('initAddons:after');\n }\n /**\n * Initialize the menu.\n */\n _initMenu() {\n //\tInvoke \"before\" hook.\n this.trigger('initMenu:before');\n //\tAdd class to the wrapper.\n this.node.wrpr = this.node.wrpr || this.node.menu.parentElement;\n this.node.wrpr.classList.add('mm-wrapper');\n //\tAdd class to the menu.\n this.node.menu.classList.add('mm-menu');\n //\tAdd an ID to the menu if it does not yet have one.\n this.node.menu.id = this.node.menu.id || (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_6__.uniqueId)();\n this.node.menu.setAttribute('aria-label', this.i18n(this.opts.navbar.title || 'Menu'));\n this.node.menu.setAttribute('aria-modal', 'true');\n this.node.menu.setAttribute('role', 'dialog');\n /** All panel nodes in the menu. */\n const panels = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(this.node.menu).filter((panel) => panel.matches(this.conf.panelNodetype.join(', ')));\n //\tWrap the panels in a node.\n this.node.pnls = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('div.mm-panels');\n this.node.menu.append(this.node.pnls);\n // Initiate all panel like nodes\n panels.forEach((panel) => {\n this._initPanel(panel);\n });\n //\tInvoke \"after\" hook.\n this.trigger('initMenu:after');\n }\n /**\n * Initialize panels.\n */\n _initPanels() {\n //\tInvoke \"before\" hook.\n this.trigger('initPanels:before');\n //\tOpen / close panels.\n this.node.menu.addEventListener('click', event => {\n var _a, _b;\n /** The href attribute for the clicked anchor. */\n const href = ((_b = (_a = event.target) === null || _a === void 0 ? void 0 : _a.closest('a[href]')) === null || _b === void 0 ? void 0 : _b.getAttribute('href')) || '';\n if (href.slice(0, 1) === '#') {\n try {\n /** The targeted panel */\n const panel = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.menu, href)[0];\n if (panel) {\n event.preventDefault();\n this.togglePanel(panel);\n }\n }\n catch (err) { }\n }\n }, {\n // useCapture to ensure the logical order.\n capture: true\n });\n //\tInvoke \"after\" hook.\n this.trigger('initPanels:after');\n }\n /**\n * Initialize a single panel.\n * @param {HTMLElement} \t\tpanel \tPanel to initialize.\n * @return {HTMLElement|null} \t\t\tInitialized panel.\n */\n _initPanel(panel) {\n var _a;\n if (panel.matches('.mm-panel')) {\n return;\n }\n //\tRefactor panel classnames\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.reClass(panel, this.conf.classNames.panel, 'mm-panel');\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.reClass(panel, this.conf.classNames.nopanel, 'mm-nopanel');\n //\tStop if not supposed to be a panel.\n if (panel.matches('.mm-nopanel')) {\n return;\n }\n //\tInvoke \"before\" hook.\n this.trigger('initPanel:before', [panel]);\n // Must have an ID\n panel.id = panel.id || (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_6__.uniqueId)();\n //\tWrap UL/OL in DIV\n if (panel.matches('ul, ol')) {\n /** The panel. */\n const wrapper = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('div');\n // Transport the ID\n wrapper.id = panel.id;\n panel.removeAttribute('id');\n // Transport \"mm-\" prefixed classnames.\n [].slice\n .call(panel.classList)\n .filter((classname) => classname.slice(0, 3) === 'mm-')\n .forEach((classname) => {\n wrapper.classList.add(classname);\n panel.classList.remove(classname);\n });\n // Transport \"mm\" prefixed data attributes.\n Object.keys(panel.dataset)\n .filter((attr) => attr.slice(0, 2) === 'mm')\n .forEach(attr => {\n wrapper.dataset[attr] = panel.dataset[attr];\n delete panel.dataset[attr];\n });\n //\tWrap the listview in the panel.\n panel.before(wrapper);\n wrapper.append(panel);\n panel = wrapper;\n }\n panel.classList.add('mm-panel');\n // Append to the panels node if not vertically expanding\n if (!((_a = panel.parentElement) === null || _a === void 0 ? void 0 : _a.matches('.mm-listitem--vertical'))) {\n this.node.pnls.append(panel);\n }\n // Initialize tha navbar.\n this._initNavbar(panel);\n // Initialize the listview(s).\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(panel, 'ul, ol').forEach((listview) => {\n this._initListview(listview);\n });\n // Observe the panel for added listviews.\n __classPrivateFieldGet(this, _panelObserver).observe(panel, {\n childList: true,\n });\n //\tInvoke \"after\" hook.\n this.trigger('initPanel:after', [panel]);\n return panel;\n }\n /**\n * Initialize a navbar.\n * @param {HTMLElement} panel Panel for the navbar.\n */\n _initNavbar(panel) {\n //\tOnly one navbar per panel.\n if (_modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(panel, '.mm-navbar').length) {\n return;\n }\n /** The parent listitem. */\n let parentListitem = null;\n /** The parent panel. */\n let parentPanel = null;\n // The parent listitem and parent panel\n if (panel.dataset.mmParent) {\n parentListitem = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.pnls, `#${panel.dataset.mmParent}`)[0];\n parentPanel = parentListitem.closest('.mm-panel');\n while (parentPanel.closest('.mm-listitem--vertical')) {\n parentPanel = parentPanel.parentElement.closest('.mm-panel');\n }\n }\n // No navbar needed for vertical submenus.\n if (parentListitem === null || parentListitem === void 0 ? void 0 : parentListitem.matches('.mm-listitem--vertical')) {\n return;\n }\n //\tInvoke \"before\" hook.\n this.trigger('initNavbar:before', [panel]);\n /** The navbar element. */\n const navbar = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('div.mm-navbar');\n // Hide navbar if specified in options.\n if (!this.opts.navbar.add) {\n navbar.classList.add('mm-hidden');\n }\n // Add the back button.\n if (parentPanel) {\n /** The back button. */\n const prev = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('a.mm-btn.mm-btn--prev.mm-navbar__btn');\n prev.href = `#${parentPanel.id}`;\n prev.setAttribute('aria-label', this.i18n(this.conf.screenReader.closeSubmenu));\n navbar.append(prev);\n }\n /** The anchor that opens the panel. */\n let opener = null;\n // The anchor is in a listitem.\n if (parentListitem) {\n opener = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(parentListitem, '.mm-listitem__text')[0];\n }\n // The anchor is in a panel.\n else if (parentPanel) {\n opener = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(parentPanel, 'a[href=\"#' + panel.id + '\"]')[0];\n }\n // Add the title.\n /** The title */\n const title = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('a.mm-navbar__title');\n title.tabIndex = -1;\n title.setAttribute('aria-hidden', 'true');\n switch (this.opts.navbar.titleLink) {\n case 'anchor':\n if (opener) {\n title.href = opener.getAttribute('href');\n }\n break;\n case 'parent':\n if (parentPanel) {\n title.href = `#${parentPanel.id}`;\n }\n break;\n }\n /** Text in the title */\n const titleText = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('span');\n titleText.innerHTML =\n panel.dataset.mmTitle ||\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.childText(opener) ||\n this.i18n(this.opts.navbar.title || 'Menu');\n // Add to DOM\n panel.prepend(navbar);\n navbar.append(title);\n title.append(titleText);\n //\tInvoke \"after\" hook.\n this.trigger('initNavbar:after', [panel]);\n }\n /**\n * Initialize a listview.\n * @param {HTMLElement} listview Listview to initialize.\n */\n _initListview(listview) {\n // Assert UL\n if (!['htmlulistelement', 'htmlolistelement'].includes((0,_modules_helpers__WEBPACK_IMPORTED_MODULE_6__.type)(listview))) {\n return;\n }\n if (listview.matches('.mm-listview')) {\n return;\n }\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.reClass(listview, this.conf.classNames.nolistview, 'mm-nolistview');\n if (listview.matches('.mm-nolistview')) {\n return;\n }\n //\tInvoke \"before\" hook.\n this.trigger('initListview:before', [listview]);\n listview.classList.add('mm-listview');\n // Initiate the listitem(s).\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(listview).forEach((listitem) => {\n this._initListitem(listitem);\n });\n // Observe the listview for added listitems.\n __classPrivateFieldGet(this, _listviewObserver).observe(listview, {\n childList: true,\n });\n //\tInvoke \"after\" hook.\n this.trigger('initListview:after', [listview]);\n }\n /**\n * Initialte a listitem.\n * @param {HTMLElement} listitem Listitem to initiate.\n */\n _initListitem(listitem) {\n // Assert LI\n if (!['htmllielement'].includes((0,_modules_helpers__WEBPACK_IMPORTED_MODULE_6__.type)(listitem))) {\n return;\n }\n if (listitem.matches('.mm-listitem')) {\n return;\n }\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.reClass(listitem, this.conf.classNames.divider, 'mm-divider');\n if (listitem.matches('.mm-divider')) {\n return;\n }\n //\tInvoke \"before\" hook.\n this.trigger('initListitem:before', [listitem]);\n listitem.classList.add('mm-listitem');\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.reClass(listitem, this.conf.classNames.selected, 'mm-listitem--selected');\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(listitem, 'a, span').forEach((text) => {\n text.classList.add('mm-listitem__text');\n });\n // Initiate the subpanel.\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(listitem, this.conf.panelNodetype.join(', ')).forEach((subpanel) => {\n this._initSubPanel(subpanel);\n });\n // Observe the listitem for added listviews.\n __classPrivateFieldGet(this, _listitemObserver).observe(listitem, {\n childList: true,\n });\n //\tInvoke \"after\" hook.\n this.trigger('initListitem:after', [listitem]);\n }\n /**\n * Initiate a subpanel.\n * @param {HTMLElement} subpanel Subpanel to initiate.\n */\n _initSubPanel(subpanel) {\n if (subpanel.matches('.mm-panel')) {\n return;\n }\n /** The parent element for the panel. */\n const listitem = subpanel.parentElement;\n /** Whether or not the listitem expands vertically */\n const vertical = subpanel.matches('.' + this.conf.classNames.vertical) ||\n !this.opts.slidingSubmenus;\n // Make it expand vertically\n if (vertical) {\n listitem.classList.add('mm-listitem--vertical');\n }\n // Force an ID\n listitem.id = listitem.id || (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_6__.uniqueId)();\n subpanel.id = subpanel.id || (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_6__.uniqueId)();\n // Store parent/child relation\n listitem.dataset.mmChild = subpanel.id;\n subpanel.dataset.mmParent = listitem.id;\n /** The open link. */\n let button = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(listitem, '.mm-btn')[0];\n // Init item text\n if (!button) {\n button = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.create('a.mm-btn.mm-btn--next.mm-listitem__btn');\n _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(listitem, 'a, span').forEach((text) => {\n // If the item has no link,\n // Replace the item with the open link.\n if (text.matches('span')) {\n button.classList.add('mm-listitem__text');\n button.innerHTML = text.innerHTML;\n listitem.insertBefore(button, text.nextElementSibling);\n text.remove();\n }\n // Otherwise, insert the button after the text.\n else {\n listitem.insertBefore(button, text.nextElementSibling);\n }\n });\n button.setAttribute('aria-label', this.i18n(this.conf.screenReader[listitem.matches('.mm-listitem--vertical')\n ? 'toggleSubmenu'\n : 'openSubmenu']));\n }\n button.href = `#${subpanel.id}`;\n this._initPanel(subpanel);\n }\n /**\n * Find and open the correct panel after creating the menu.\n */\n _initOpened() {\n //\tInvoke \"before\" hook.\n this.trigger('initOpened:before');\n /** The selected listitem(s). */\n const listitem = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.find(this.node.pnls, '.mm-listitem--selected').pop();\n /**\tThe current opened panel. */\n let panel = _modules_dom__WEBPACK_IMPORTED_MODULE_3__.children(this.node.pnls, '.mm-panel')[0];\n if (listitem) {\n this.setSelected(listitem);\n panel = listitem.closest('.mm-panel');\n }\n //\tOpen the current opened panel.\n this.openPanel(panel, false, false);\n //\tInvoke \"after\" hook.\n this.trigger('initOpened:after');\n }\n /**\n * Get the translation for a text.\n * @param {string} text \tText to translate.\n * @return {string}\t\t The translated text.\n */\n i18n(text) {\n return _modules_i18n__WEBPACK_IMPORTED_MODULE_4__.get(text, this.conf.language);\n }\n /**\n * Get all translations for the given language.\n * @return {object}\tThe translations.\n */\n static i18n(text = {}, language = '') {\n if (text && language) {\n _modules_i18n__WEBPACK_IMPORTED_MODULE_4__.add(text, language);\n }\n else {\n return _modules_i18n__WEBPACK_IMPORTED_MODULE_4__.show();\n }\n }\n}\n_panelObserver = new WeakMap(), _listviewObserver = new WeakMap(), _listitemObserver = new WeakMap();\n/**\tAvailable add-ons for the plugin. */\nMmenu.addons = {};\n/**\tGlobally used HTML elements. */\nMmenu.node = {};\n/** Globally used v. */\nMmenu.vars = {};\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/mmenu.oncanvas.js?"); 500 501/***/ }), 502
vendor: 903 bytes, lines 503-512
503/***/ "./node_modules/mmenu-js/dist/core/oncanvas/options.js": 504/*!*************************************************************!*\ 505 !*** ./node_modules/mmenu-js/dist/core/oncanvas/options.js ***! 506 \*************************************************************/ 507/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 508 509eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n hooks: {},\n navbar: {\n add: true,\n title: 'Menu',\n titleLink: 'parent'\n },\n slidingSubmenus: true\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/options.js?"); 510 511/***/ }), 512
vendor: 935 bytes, lines 513-522
513/***/ "./node_modules/mmenu-js/dist/core/oncanvas/translations/de.js": 514/*!*********************************************************************!*\ 515 !*** ./node_modules/mmenu-js/dist/core/oncanvas/translations/de.js ***! 516 \*********************************************************************/ 517/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 518 519eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'Close submenu': 'Untermenü schlieÃen',\n 'Menu': 'Menü',\n 'Open submenu': 'Untermenü öffnen',\n 'Toggle submenu': 'Untermenü wechseln'\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/translations/de.js?"); 520 521/***/ }), 522
vendor: 949 bytes, lines 523-532
523/***/ "./node_modules/mmenu-js/dist/core/oncanvas/translations/fa.js": 524/*!*********************************************************************!*\ 525 !*** ./node_modules/mmenu-js/dist/core/oncanvas/translations/fa.js ***! 526 \*********************************************************************/ 527/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 528 529eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'Close submenu': 'Ø¨Ø³ØªÙ Ø²ÛØ±Ù ÙÙ',\n 'Menu': 'Ù ÙÙ',\n 'Open submenu': 'Ø¨Ø§Ø²Ú©Ø±Ø¯Ù Ø²ÛØ±Ù ÙÙ',\n 'Toggle submenu': 'سÙÛÛÚ Ø²ÛØ±Ù ÙÙ'\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/translations/fa.js?"); 530 531/***/ }), 532
vendor: 2,923 bytes, lines 533-542
533/***/ "./node_modules/mmenu-js/dist/core/oncanvas/translations/index.js": 534/*!************************************************************************!*\ 535 !*** ./node_modules/mmenu-js/dist/core/oncanvas/translations/index.js ***! 536 \************************************************************************/ 537/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 538 539eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _modules_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../_modules/i18n */ \"./node_modules/mmenu-js/dist/_modules/i18n.js\");\n/* harmony import */ var _de__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./de */ \"./node_modules/mmenu-js/dist/core/oncanvas/translations/de.js\");\n/* harmony import */ var _fa__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fa */ \"./node_modules/mmenu-js/dist/core/oncanvas/translations/fa.js\");\n/* harmony import */ var _nl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nl */ \"./node_modules/mmenu-js/dist/core/oncanvas/translations/nl.js\");\n/* harmony import */ var _pt_br__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pt_br */ \"./node_modules/mmenu-js/dist/core/oncanvas/translations/pt_br.js\");\n/* harmony import */ var _ru__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ru */ \"./node_modules/mmenu-js/dist/core/oncanvas/translations/ru.js\");\n/* harmony import */ var _sk__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./sk */ \"./node_modules/mmenu-js/dist/core/oncanvas/translations/sk.js\");\n/* harmony import */ var _uk__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./uk */ \"./node_modules/mmenu-js/dist/core/oncanvas/translations/uk.js\");\n\n\n\n\n\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_de__WEBPACK_IMPORTED_MODULE_1__[\"default\"], 'de');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_fa__WEBPACK_IMPORTED_MODULE_2__[\"default\"], 'fa');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_nl__WEBPACK_IMPORTED_MODULE_3__[\"default\"], 'nl');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_pt_br__WEBPACK_IMPORTED_MODULE_4__[\"default\"], 'pt_br');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_ru__WEBPACK_IMPORTED_MODULE_5__[\"default\"], 'ru');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_sk__WEBPACK_IMPORTED_MODULE_6__[\"default\"], 'sk');\n (0,_modules_i18n__WEBPACK_IMPORTED_MODULE_0__.add)(_uk__WEBPACK_IMPORTED_MODULE_7__[\"default\"], 'uk');\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/translations/index.js?"); 540 541/***/ }), 542
vendor: 921 bytes, lines 543-552
543/***/ "./node_modules/mmenu-js/dist/core/oncanvas/translations/nl.js": 544/*!*********************************************************************!*\ 545 !*** ./node_modules/mmenu-js/dist/core/oncanvas/translations/nl.js ***! 546 \*********************************************************************/ 547/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 548 549eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'Close submenu': 'Submenu sluiten',\n 'Menu': 'Menu',\n 'Open submenu': 'Submenu openen',\n 'Toggle submenu': 'Submenu wisselen'\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/translations/nl.js?"); 550 551/***/ }), 552
vendor: 934 bytes, lines 553-562
553/***/ "./node_modules/mmenu-js/dist/core/oncanvas/translations/pt_br.js": 554/*!************************************************************************!*\ 555 !*** ./node_modules/mmenu-js/dist/core/oncanvas/translations/pt_br.js ***! 556 \************************************************************************/ 557/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 558 559eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'Close submenu': 'Fechar submenu',\n 'Menu': 'Menu',\n 'Open submenu': 'Abrir submenu',\n 'Toggle submenu': 'Alternar submenu'\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/translations/pt_br.js?"); 560 561/***/ }), 562
vendor: 975 bytes, lines 563-572
563/***/ "./node_modules/mmenu-js/dist/core/oncanvas/translations/ru.js": 564/*!*********************************************************************!*\ 565 !*** ./node_modules/mmenu-js/dist/core/oncanvas/translations/ru.js ***! 566 \*********************************************************************/ 567/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 568 569eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'Close submenu': 'ÐакÑÑÑÑ Ð¿Ð¾Ð´Ð¼ÐµÐ½Ñ',\n 'Menu': 'ÐенÑ',\n 'Open submenu': 'ÐÑкÑÑÑÑ Ð¿Ð¾Ð´Ð¼ÐµÐ½Ñ',\n 'Toggle submenu': 'ÐеÑеклÑÑиÑÑ Ð¿Ð¾Ð´Ð¼ÐµÐ½Ñ'\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/translations/ru.js?"); 570 571/***/ }), 572
vendor: 926 bytes, lines 573-582
573/***/ "./node_modules/mmenu-js/dist/core/oncanvas/translations/sk.js": 574/*!*********************************************************************!*\ 575 !*** ./node_modules/mmenu-js/dist/core/oncanvas/translations/sk.js ***! 576 \*********************************************************************/ 577/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 578 579eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'Close submenu': 'Zatvoriť submenu',\n 'Menu': 'Menu',\n 'Open submenu': 'Otvoriť submenu',\n 'Toggle submenu': 'Prepnúť submenu'\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/translations/sk.js?"); 580 581/***/ }), 582
vendor: 975 bytes, lines 583-592
583/***/ "./node_modules/mmenu-js/dist/core/oncanvas/translations/uk.js": 584/*!*********************************************************************!*\ 585 !*** ./node_modules/mmenu-js/dist/core/oncanvas/translations/uk.js ***! 586 \*********************************************************************/ 587/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 588 589eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n 'Close submenu': 'ÐакÑиÑи пÑдменÑ',\n 'Menu': 'ÐенÑ',\n 'Open submenu': 'ÐÑдкÑиÑи пÑдменÑ',\n 'Toggle submenu': 'ÐеÑемкнÑÑи пÑдменÑ'\n});\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/oncanvas/translations/uk.js?"); 590 591/***/ }), 592
vendor: 5,211 bytes, lines 593-602
593/***/ "./node_modules/mmenu-js/dist/core/scrollbugfix/mmenu.scrollbugfix.js": 594/*!****************************************************************************!*\ 595 !*** ./node_modules/mmenu-js/dist/core/scrollbugfix/mmenu.scrollbugfix.js ***! 596 \****************************************************************************/ 597/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 598 599eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/core/scrollbugfix/options.js\");\n/* harmony import */ var _modules_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../_modules/dom */ \"./node_modules/mmenu-js/dist/_modules/dom.js\");\n/* harmony import */ var _modules_support__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_modules/support */ \"./node_modules/mmenu-js/dist/_modules/support.js\");\n/* harmony import */ var _modules_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_modules/helpers */ \"./node_modules/mmenu-js/dist/_modules/helpers.js\");\n\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n //\tThe scrollBugFix add-on fixes a scrolling bug\n //\t\t1) on touch devices\n //\t\t2) in an off-canvas menu\n if (!_modules_support__WEBPACK_IMPORTED_MODULE_2__.touch || // 1\n !this.opts.offCanvas.use // 2\n ) {\n return;\n }\n this.opts.scrollBugFix = this.opts.scrollBugFix || {};\n //\tExtend options.\n const options = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_3__.extend)(this.opts.scrollBugFix, _options__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n if (!options.fix) {\n return;\n }\n /** The touch-direction instance. */\n const touchDir = (0,_modules_helpers__WEBPACK_IMPORTED_MODULE_3__.touchDirection)(this.node.menu);\n // Prevent the page from scrolling when scrolling in the menu.\n this.node.menu.addEventListener('scroll', evnt => {\n evnt.preventDefault();\n evnt.stopPropagation();\n }, {\n // Make sure to tell the browser the event will be prevented.\n passive: false,\n });\n // Prevent the page from scrolling when dragging in the menu.\n this.node.menu.addEventListener('touchmove', evnt => {\n let wrapper = evnt.target.closest('.mm-panel, .mm-iconbar__top, .mm-iconbar__bottom');\n if (wrapper && wrapper.closest('.mm-listitem--vertical')) {\n wrapper = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.parents(wrapper, '.mm-panel').pop();\n }\n if (wrapper) {\n // When dragging a non-scrollable panel/iconbar,\n // we can simply stopPropagation.\n if (wrapper.scrollHeight === wrapper.offsetHeight) {\n evnt.stopPropagation();\n }\n // When dragging a scrollable panel/iconbar,\n // that is fully scrolled up (or down).\n // It will not trigger the scroll event when dragging down (or up) (because you can't scroll up (or down)),\n // so we need to match the dragging direction with the scroll position before preventDefault and stopPropagation,\n // otherwise the panel would not scroll at all in any direction.\n else if (\n // When scrolled up and dragging down\n (wrapper.scrollTop == 0 && touchDir.get() == 'down') ||\n // When scrolled down and dragging up\n (wrapper.scrollHeight ==\n wrapper.scrollTop + wrapper.offsetHeight &&\n touchDir.get() == 'up')) {\n evnt.stopPropagation();\n }\n // When dragging anything other than a panel/iconbar.\n }\n else {\n evnt.stopPropagation();\n }\n }, {\n // Make sure to tell the browser the event can be prevented.\n passive: false,\n });\n // Some small additional improvements\n //\tScroll the current opened panel to the top when opening the menu.\n this.bind('open:after', () => {\n var panel = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(this.node.pnls, '.mm-panel--opened')[0];\n if (panel) {\n panel.scrollTop = 0;\n }\n });\n //\tFix issue after device rotation change.\n window.addEventListener('orientationchange', (evnt) => {\n var panel = _modules_dom__WEBPACK_IMPORTED_MODULE_1__.children(this.node.pnls, '.mm-panel--opened')[0];\n if (panel) {\n panel.scrollTop = 0;\n //\tApparently, changing the overflow-scrolling property triggers some event :)\n panel.style['-webkit-overflow-scrolling'] = 'auto';\n panel.style['-webkit-overflow-scrolling'] = 'touch';\n }\n });\n}\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/scrollbugfix/mmenu.scrollbugfix.js?"); 600 601/***/ }), 602
vendor: 799 bytes, lines 603-612
603/***/ "./node_modules/mmenu-js/dist/core/scrollbugfix/options.js": 604/*!*****************************************************************!*\ 605 !*** ./node_modules/mmenu-js/dist/core/scrollbugfix/options.js ***! 606 \*****************************************************************/ 607/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 608 609eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = {\n fix: true\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/scrollbugfix/options.js?"); 610 611/***/ }), 612
vendor: 2,326 bytes, lines 613-622
613/***/ "./node_modules/mmenu-js/dist/core/theme/mmenu.theme.js": 614/*!**************************************************************!*\ 615 !*** ./node_modules/mmenu-js/dist/core/theme/mmenu.theme.js ***! 616 \**************************************************************/ 617/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 618 619eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../core/oncanvas/mmenu.oncanvas */ \"./node_modules/mmenu-js/dist/core/oncanvas/mmenu.oncanvas.js\");\n/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./options */ \"./node_modules/mmenu-js/dist/core/theme/options.js\");\n\n\n/** A list of available themes. */\nconst possibleThemes = [\n 'light',\n 'dark',\n 'white',\n 'black',\n 'light-contrast',\n 'dark-contrast',\n 'white-contrast',\n 'black-contrast'\n];\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n this.opts.theme = this.opts.theme || _options__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n const theme = this.opts.theme;\n if (!possibleThemes.includes(theme)) {\n this.opts.theme = possibleThemes[0];\n }\n this._api.push('theme');\n this.bind('initMenu:after', () => {\n this.theme(this.opts.theme);\n });\n}\n/**\n * Get or set the theme for the menu.\n *\n * @param {string} [position] The theme for the menu.\n */\n_core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.theme = function (theme = null) {\n /** The previously used theme */\n const oldTheme = this.opts.theme;\n if (theme) {\n if (possibleThemes.includes(theme)) {\n this.node.menu.classList.remove(`mm-menu--theme-${oldTheme}`);\n this.node.menu.classList.add(`mm-menu--theme-${theme}`);\n this.opts.theme = theme;\n }\n }\n else {\n return oldTheme;\n }\n};\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/theme/mmenu.theme.js?"); 620 621/***/ }), 622
vendor: 752 bytes, lines 623-632
623/***/ "./node_modules/mmenu-js/dist/core/theme/options.js": 624/*!**********************************************************!*\ 625 !*** ./node_modules/mmenu-js/dist/core/theme/options.js ***! 626 \**********************************************************/ 627/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 628 629eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst options = 'light';\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);\n\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/dist/core/theme/options.js?"); 630 631/***/ }), 632
vendor: 5,760 bytes, lines 633-642
633/***/ "./node_modules/mmenu-js/src/mmenu.js": 634/*!********************************************!*\ 635 !*** ./node_modules/mmenu-js/src/mmenu.js ***! 636 \********************************************/ 637/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 638 639eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _dist_core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dist/core/oncanvas/mmenu.oncanvas */ \"./node_modules/mmenu-js/dist/core/oncanvas/mmenu.oncanvas.js\");\n/* harmony import */ var _dist_core_offcanvas_mmenu_offcanvas__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dist/core/offcanvas/mmenu.offcanvas */ \"./node_modules/mmenu-js/dist/core/offcanvas/mmenu.offcanvas.js\");\n/* harmony import */ var _dist_core_scrollbugfix_mmenu_scrollbugfix__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dist/core/scrollbugfix/mmenu.scrollbugfix */ \"./node_modules/mmenu-js/dist/core/scrollbugfix/mmenu.scrollbugfix.js\");\n/* harmony import */ var _dist_core_theme_mmenu_theme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dist/core/theme/mmenu.theme */ \"./node_modules/mmenu-js/dist/core/theme/mmenu.theme.js\");\n/* harmony import */ var _dist_addons_backbutton_mmenu_backbutton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dist/addons/backbutton/mmenu.backbutton */ \"./node_modules/mmenu-js/dist/addons/backbutton/mmenu.backbutton.js\");\n/* harmony import */ var _dist_addons_counters_mmenu_counters__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dist/addons/counters/mmenu.counters */ \"./node_modules/mmenu-js/dist/addons/counters/mmenu.counters.js\");\n/* harmony import */ var _dist_addons_iconbar_mmenu_iconbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dist/addons/iconbar/mmenu.iconbar */ \"./node_modules/mmenu-js/dist/addons/iconbar/mmenu.iconbar.js\");\n/* harmony import */ var _dist_addons_iconpanels_mmenu_iconpanels__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../dist/addons/iconpanels/mmenu.iconpanels */ \"./node_modules/mmenu-js/dist/addons/iconpanels/mmenu.iconpanels.js\");\n/* harmony import */ var _dist_addons_navbars_mmenu_navbars__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../dist/addons/navbars/mmenu.navbars */ \"./node_modules/mmenu-js/dist/addons/navbars/mmenu.navbars.js\");\n/* harmony import */ var _dist_addons_pagescroll_mmenu_pagescroll__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../dist/addons/pagescroll/mmenu.pagescroll */ \"./node_modules/mmenu-js/dist/addons/pagescroll/mmenu.pagescroll.js\");\n/* harmony import */ var _dist_addons_searchfield_mmenu_searchfield__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../dist/addons/searchfield/mmenu.searchfield */ \"./node_modules/mmenu-js/dist/addons/searchfield/mmenu.searchfield.js\");\n/* harmony import */ var _dist_addons_sectionindexer_mmenu_sectionindexer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../dist/addons/sectionindexer/mmenu.sectionindexer */ \"./node_modules/mmenu-js/dist/addons/sectionindexer/mmenu.sectionindexer.js\");\n/* harmony import */ var _dist_addons_setselected_mmenu_setselected__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../dist/addons/setselected/mmenu.setselected */ \"./node_modules/mmenu-js/dist/addons/setselected/mmenu.setselected.js\");\n/* harmony import */ var _dist_addons_sidebar_mmenu_sidebar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../dist/addons/sidebar/mmenu.sidebar */ \"./node_modules/mmenu-js/dist/addons/sidebar/mmenu.sidebar.js\");\n/*!\n * mmenu.js\n * mmenujs.com\n *\n * Copyright (c) Fred Heusschen\n * frebsite.nl\n */\n\n//\tCore\n\n\n//\tCore add-ons\n\n\n\n\n//\tAdd-ons\n\n\n\n\n\n\n\n\n\n\n\n\n_dist_core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addons = {\n //\tCore add-ons\n offcanvas: _dist_core_offcanvas_mmenu_offcanvas__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n scrollBugFix: _dist_core_scrollbugfix_mmenu_scrollbugfix__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n theme: _dist_core_theme_mmenu_theme__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n\n //\tAdd-ons\n backButton: _dist_addons_backbutton_mmenu_backbutton__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n counters: _dist_addons_counters_mmenu_counters__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n iconbar: _dist_addons_iconbar_mmenu_iconbar__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n iconPanels: _dist_addons_iconpanels_mmenu_iconpanels__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n navbars: _dist_addons_navbars_mmenu_navbars__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n pageScroll: _dist_addons_pagescroll_mmenu_pagescroll__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n searchfield: _dist_addons_searchfield_mmenu_searchfield__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n sectionIndexer: _dist_addons_sectionindexer_mmenu_sectionindexer__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n setSelected: _dist_addons_setselected_mmenu_setselected__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n sidebar: _dist_addons_sidebar_mmenu_sidebar__WEBPACK_IMPORTED_MODULE_13__[\"default\"]\n};\n\n// Export module\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_dist_core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//\tGlobal namespace\nif (window) {\n window.Mmenu = _dist_core_oncanvas_mmenu_oncanvas__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\n}\n\n//# sourceURL=webpack://assets/./node_modules/mmenu-js/src/mmenu.js?"); 640 641/***/ }), 642
643/***/ "./src/js/app.js": 644/*!***********************!*\ 645 !*** ./src/js/app.js ***! 646 \***********************/ 647/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 648 649eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _main__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./main */ \"./src/js/main.js\");\n/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./header */ \"./src/js/header.js\");\n/* harmony import */ var _mobile_menu__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mobile-menu */ \"./src/js/mobile-menu.js\");\n/* harmony import */ var _modules_category_collapse__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modules/category-collapse */ \"./src/js/modules/category-collapse.js\");\n/* harmony import */ var _modules_new_and_events__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modules/new-and-events */ \"./src/js/modules/new-and-events.js\");\n/* harmony import */ var _modules_big_banner__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modules/big-banner */ \"./src/js/modules/big-banner.js\");\n/* harmony import */ var _modules_partners__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./modules/partners */ \"./src/js/modules/partners.js\");\n/* harmony import */ var _modules_best_companies__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./modules/best-companies */ \"./src/js/modules/best-companies.js\");\n/* harmony import */ var _modules_top_export_slider__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./modules/top-export-slider */ \"./src/js/modules/top-export-slider.js\");\n/* harmony import */ var _modules_top_export_slider_desktop__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./modules/top-export-slider-desktop */ \"./src/js/modules/top-export-slider-desktop.js\");\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nclass App {\r\n constructor() {\r\n this.initialize();\r\n }\r\n\r\n initialize() {\r\n (0,_main__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\r\n (0,_header__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\r\n (0,_mobile_menu__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\r\n (0,_modules_category_collapse__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\r\n (0,_modules_new_and_events__WEBPACK_IMPORTED_MODULE_4__[\"default\"])();\r\n (0,_modules_big_banner__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\r\n (0,_modules_partners__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\r\n (0,_modules_best_companies__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\r\n (0,_modules_top_export_slider__WEBPACK_IMPORTED_MODULE_8__[\"default\"])();\r\n (0,_modules_top_export_slider_desktop__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\r\n\r\n window.addEventListener('beforeunload', function () {\r\n localStorage.setItem('scrollPosition', window.scrollY);\r\n });\r\n }\r\n}\r\n\r\nfunction initializeApp() {\r\n const app = new App();\r\n}\r\n\r\nif (document.readyState === 'loading') {\r\n document.addEventListener('DOMContentLoaded', initializeApp);\r\n} else {\r\n initializeApp();\r\n}\r\n\n\n//# sourceURL=webpack://assets/./src/js/app.js?"); 650 651/***/ }), 652
653/***/ "./src/js/header.js": 654/*!**************************!*\ 655 !*** ./src/js/header.js ***! 656 \**************************/ 657/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 658 659eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ initializeHeader)\n/* harmony export */ });\nfunction initializeHeader() {\r\n new Header();\r\n}\r\n\r\nclass Header {\r\n constructor() {\r\n this.initialize();\r\n this.setupScrollListener();\r\n }\r\n\r\n initialize() {\r\n this.stickyHeader = document.querySelector('.sticky-header');\r\n this.searchForm = document.querySelector('.search-banner__form-container');\r\n this.searchInput = this.searchForm.querySelector('#input-search');\r\n this.originalContainer = document.getElementById('searchContainer');\r\n this.insertContainer = document.getElementById('insertSearch');\r\n\r\n setTimeout(() => {\r\n this.stickyHeader.classList.add('transition');\r\n this.handleScroll();\r\n }, 10);\r\n\r\n }\r\n\r\n setupScrollListener() {\r\n window.addEventListener('scroll', () => this.handleScroll());\r\n }\r\n\r\n handleScroll() {\r\n const searchBanner = document.querySelector('.search-banner');\r\n if (!searchBanner) return;\r\n\r\n const bannerBottom = searchBanner.getBoundingClientRect().bottom;\r\n\r\n if (bannerBottom <= 0) {\r\n this.stickyHeader.classList.add('show');\r\n this.moveSearchFormToInsert();\r\n } else {\r\n this.stickyHeader.classList.remove('show');\r\n this.moveSearchFormToOriginal();\r\n }\r\n }\r\n\r\n moveSearchFormToInsert() {\r\n if (this.insertContainer && this.searchForm && this.insertContainer !== this.searchForm.parentNode) {\r\n $(this.searchInput).autocomplete('close');\r\n this.insertContainer.appendChild(this.searchForm);\r\n }\r\n }\r\n\r\n moveSearchFormToOriginal() {\r\n if (this.originalContainer && this.searchForm && this.originalContainer !== this.searchForm.parentNode) {\r\n $(this.searchInput).autocomplete('close');\r\n this.originalContainer.appendChild(this.searchForm);\r\n }\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://assets/./src/js/header.js?"); 660 661/***/ }), 662
663/***/ "./src/js/main.js": 664/*!************************!*\ 665 !*** ./src/js/main.js ***! 666 \************************/ 667/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 668 669eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ initializeMain)\n/* harmony export */ });\nfunction initializeMain() {\r\n new Main();\r\n}\r\n\r\nclass Main {\r\n constructor() {\r\n this.initialize();\r\n }\r\n\r\n initialize() {\r\n\r\n\r\n\r\n }\r\n}\n\n//# sourceURL=webpack://assets/./src/js/main.js?"); 670 671/***/ }), 672
673/***/ "./src/js/mobile-menu.js": 674/*!*******************************!*\ 675 !*** ./src/js/mobile-menu.js ***! 676 \*******************************/ 677/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 678 679eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ initializeMobileMenu)\n/* harmony export */ });\n/* harmony import */ var mmenu_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mmenu-js */ \"./node_modules/mmenu-js/src/mmenu.js\");\n/* harmony import */ var mburger_webcomponent_dist_mburger_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! mburger-webcomponent/dist/mburger/index */ \"./node_modules/mburger-webcomponent/dist/mburger/index.js\");\n\r\n\r\nfunction initializeMobileMenu() {\r\n const menu = new mmenu_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]( '#mobile-menu', {\r\n theme : 'white',\r\n offCanvas : {position\t: \"bottom\"},\r\n } );\r\n}\n\n//# sourceURL=webpack://assets/./src/js/mobile-menu.js?"); 680 681/***/ }), 682
683/***/ "./src/js/modules/best-companies.js": 684/*!******************************************!*\ 685 !*** ./src/js/modules/best-companies.js ***! 686 \******************************************/ 687/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 688 689eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ initializeBestCompanies)\n/* harmony export */ });\nfunction initializeBestCompanies() {\r\n const container = document.querySelector('.best-companies');\r\n if (container) {\r\n new BestCompanies();\r\n }\r\n}\r\n\r\nclass BestCompanies {\r\n constructor() {\r\n this.initialize();\r\n }\r\n\r\n initialize() {\r\n __webpack_require__.e(/*! import() */ \"vendors-node_modules_swiper_swiper-bundle_mjs\").then(__webpack_require__.bind(__webpack_require__, /*! swiper/bundle */ \"./node_modules/swiper/swiper-bundle.mjs\")).then(({ default: Swiper }) => {\r\n document.querySelectorAll('.best-companies__swiper').forEach(function (slider) {\r\n const slides = slider.querySelectorAll('.swiper-slide');\r\n const paginationEl = slider.closest('.best-companies').querySelector('.best-companies__pagination');\r\n const nextButton = slider.closest('.best-companies').querySelector('.swiper-button-next');\r\n const prevButton = slider.closest('.best-companies').querySelector('.swiper-button-prev');\r\n const wrapper = slider.querySelector('.swiper-wrapper');\r\n\r\n // Minimalna liczba slajdów, aby pokazaÄ paginacjÄ i nawigacjÄ\r\n const minSlides = 5;\r\n\r\n // Ukryj paginacjÄ i nawigacjÄ, jeÅli za maÅo slajdów\r\n if (slides.length <= minSlides) {\r\n if (paginationEl) paginationEl.style.cssText = 'display: none !important';\r\n if (nextButton) nextButton.style.cssText = 'display: none !important';\r\n if (prevButton) prevButton.style.cssText = 'display: none !important';\r\n }\r\n if (slides.length < minSlides) {\r\n if (wrapper) {\r\n wrapper.style.justifyContent = \"space-around\";\r\n wrapper.style.padding = \"0 12px\";\r\n }\r\n }\r\n\r\n\r\n // Inicjalizuj Swipera\r\n const swiper = new Swiper(slider, {\r\n slidesPerView: 5,\r\n spaceBetween: 24,\r\n autoplay: {\r\n delay: 3000,\r\n },\r\n navigation: {\r\n nextEl: \".swiper-button-next\",\r\n prevEl: \".swiper-button-prev\",\r\n },\r\n pagination: {\r\n el: \".best-companies__pagination\",\r\n clickable: true,\r\n },\r\n breakpoints: {\r\n 0: {\r\n slidesPerView: 2,\r\n },\r\n 768: {\r\n slidesPerView: 3,\r\n },\r\n 1024: {\r\n slidesPerView: 4,\r\n },\r\n 1280: {\r\n slidesPerView: 5,\r\n }\r\n },\r\n });\r\n });\r\n });\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://assets/./src/js/modules/best-companies.js?"); 690 691/***/ }), 692
693/***/ "./src/js/modules/big-banner.js": 694/*!**************************************!*\ 695 !*** ./src/js/modules/big-banner.js ***! 696 \**************************************/ 697/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 698 699eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ initializeBigBanner)\n/* harmony export */ });\nfunction initializeBigBanner() {\r\n const container = document.querySelector('.big-banner');\r\n if (container) {\r\n new BigBanner();\r\n }\r\n}\r\n\r\nclass BigBanner {\r\n constructor() {\r\n this.initialize();\r\n }\r\n\r\n initialize() {\r\n __webpack_require__.e(/*! import() */ \"vendors-node_modules_swiper_swiper-bundle_mjs\").then(__webpack_require__.bind(__webpack_require__, /*! swiper/bundle */ \"./node_modules/swiper/swiper-bundle.mjs\")).then(({ default: Swiper }) => {\r\n document.querySelectorAll('.big-banner__swiper').forEach(function (slider) {\r\n const swiper = new Swiper(slider, {\r\n slidesPerView: 1,\r\n spaceBetween: 0,\r\n loop: true,\r\n autoplay: {\r\n delay: 5000,\r\n },\r\n allowTouchMove: false,\r\n\r\n });\r\n });\r\n });\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://assets/./src/js/modules/big-banner.js?"); 700 701/***/ }), 702
703/***/ "./src/js/modules/category-collapse.js": 704/*!*********************************************!*\ 705 !*** ./src/js/modules/category-collapse.js ***! 706 \*********************************************/ 707/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 708 709eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ initializeCategoryCollapse)\n/* harmony export */ });\nfunction initializeCategoryCollapse() {\r\n new CategoryCollapse();\r\n}\r\n\r\nclass CategoryCollapse {\r\n constructor() {\r\n this.initialize();\r\n }\r\n\r\n initialize() {\r\n this.showMoreBtn = document.getElementById('show-more-btn');\r\n this.showLessBtn = document.getElementById('show-less-btn');\r\n this.extraCategories = document.getElementById('extraCategories');\r\n this.categoryList = document.querySelector('.main-category-list');\r\n\r\n if (this.showMoreBtn && this.showLessBtn && this.extraCategories) {\r\n this.bindEvents();\r\n }\r\n }\r\n\r\n bindEvents() {\r\n this.showMoreBtn.addEventListener('click', () => {\r\n this.showExtraCategories();\r\n });\r\n\r\n this.showLessBtn.addEventListener('click', () => {\r\n this.hideExtraCategories();\r\n });\r\n }\r\n\r\n showExtraCategories() {\r\n this.categoryList.classList.add('expanded');\r\n }\r\n\r\n hideExtraCategories() {\r\n this.categoryList.classList.remove('expanded');\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://assets/./src/js/modules/category-collapse.js?"); 710 711/***/ }), 712
713/***/ "./src/js/modules/new-and-events.js": 714/*!******************************************!*\ 715 !*** ./src/js/modules/new-and-events.js ***! 716 \******************************************/ 717/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 718 719eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ initializeNewsAndEvents)\n/* harmony export */ });\nfunction initializeNewsAndEvents() {\r\n const container = document.querySelector('.news-and-events');\r\n if (container) {\r\n new NewsAndEvents();\r\n }\r\n}\r\n\r\nclass NewsAndEvents {\r\n constructor() {\r\n this.initialize();\r\n }\r\n\r\n initialize() {\r\n __webpack_require__.e(/*! import() */ \"vendors-node_modules_swiper_swiper-bundle_mjs\").then(__webpack_require__.bind(__webpack_require__, /*! swiper/bundle */ \"./node_modules/swiper/swiper-bundle.mjs\")).then(({ default: Swiper }) => {\r\n document.querySelectorAll('.news-and-events__list').forEach(function (slider) {\r\n const pagination = slider.querySelector('.news-and-events__pagination');\r\n if (slider && pagination) {\r\n const swiper = new Swiper(slider, {\r\n slidesPerView: 1,\r\n spaceBetween: 24,\r\n pagination: {\r\n el: pagination,\r\n clickable: true,\r\n },\r\n autoplay: {\r\n delay: 3000,\r\n disableOnInteraction: false,\r\n },\r\n breakpoints: {\r\n 1024: {\r\n slidesPerView: 3,\r\n },\r\n 768: {\r\n slidesPerView: 2,\r\n },\r\n },\r\n });\r\n } else {\r\n console.warn('Element slider lub paginacja nie istnieje.');\r\n }\r\n });\r\n });\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://assets/./src/js/modules/new-and-events.js?"); 720 721/***/ }), 722
723/***/ "./src/js/modules/partners.js": 724/*!************************************!*\ 725 !*** ./src/js/modules/partners.js ***! 726 \************************************/ 727/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 728 729eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ initializePartners)\n/* harmony export */ });\nfunction initializePartners() {\r\n const container = document.querySelector('.partners');\r\n if (container) {\r\n new Partners();\r\n }\r\n}\r\n\r\nclass Partners {\r\n constructor() {\r\n this.initialize();\r\n }\r\n\r\n initialize() {\r\n __webpack_require__.e(/*! import() */ \"vendors-node_modules_swiper_swiper-bundle_mjs\").then(__webpack_require__.bind(__webpack_require__, /*! swiper/bundle */ \"./node_modules/swiper/swiper-bundle.mjs\")).then(({ default: Swiper }) => {\r\n document.querySelectorAll('.partners__swiper').forEach(function (slider) {\r\n const slides = slider.querySelectorAll('.swiper-slide');\r\n const paginationEl = slider.closest('.partners').querySelector('.partners__pagination');\r\n const nextButton = slider.closest('.partners').querySelector('.swiper-button-next');\r\n const prevButton = slider.closest('.partners').querySelector('.swiper-button-prev');\r\n const wrapper = slider.querySelector('.swiper-wrapper');\r\n\r\n const minSlides = 5; // Minimalna liczba slajdów\r\n\r\n // Ukryj paginacjÄ i strzaÅki, jeÅli za maÅo slajdów\r\n if (slides.length <= minSlides) {\r\n if (paginationEl) paginationEl.style.cssText = 'display: none !important';\r\n if (nextButton) nextButton.style.cssText = 'display: none !important';\r\n if (prevButton) prevButton.style.cssText = 'display: none !important';\r\n }\r\n if (slides.length < minSlides) {\r\n if (wrapper) {\r\n wrapper.style.justifyContent = \"space-around\";\r\n wrapper.style.padding = \"0 12px\";\r\n }\r\n }\r\n\r\n // Inicjalizacja Swipera\r\n const swiper = new Swiper(slider, {\r\n slidesPerView: 5,\r\n spaceBetween: 24,\r\n autoplay: {\r\n delay: 3000,\r\n },\r\n navigation: {\r\n nextEl: \".swiper-button-next\",\r\n prevEl: \".swiper-button-prev\",\r\n },\r\n pagination: {\r\n el: \".partners__pagination\",\r\n clickable: true,\r\n },\r\n breakpoints: {\r\n 0: {\r\n slidesPerView: 2,\r\n },\r\n 768: {\r\n slidesPerView: 3,\r\n },\r\n 1024: {\r\n slidesPerView: 4,\r\n },\r\n 1280: {\r\n slidesPerView: 5,\r\n }\r\n },\r\n });\r\n });\r\n });\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://assets/./src/js/modules/partners.js?"); 730 731/***/ }), 732
733/***/ "./src/js/modules/top-export-slider-desktop.js": 734/*!*****************************************************!*\ 735 !*** ./src/js/modules/top-export-slider-desktop.js ***! 736 \*****************************************************/ 737/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 738 739eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ initializeTopExportSliderDesktop)\n/* harmony export */ });\nfunction initializeTopExportSliderDesktop() {\r\n const container = document.querySelector('.top-export');\r\n if (container) {\r\n new TopExportSliderDesktop();\r\n }\r\n}\r\n\r\nclass TopExportSliderDesktop {\r\n constructor() {\r\n this.initialize();\r\n }\r\n\r\n initialize() {\r\n __webpack_require__.e(/*! import() */ \"vendors-node_modules_swiper_swiper-bundle_mjs\").then(__webpack_require__.bind(__webpack_require__, /*! swiper/bundle */ \"./node_modules/swiper/swiper-bundle.mjs\")).then(({ default: Swiper }) => {\r\n const sliders = document.querySelectorAll('.top-export__list--slider');\r\n sliders.forEach((slider) => {\r\n new Swiper(slider, {\r\n slidesPerView: 4,\r\n spaceBetween: 24,\r\n autoplay: {\r\n delay: 3000,\r\n },\r\n navigation: {\r\n nextEl: \".swiper-button-next\",\r\n prevEl: \".swiper-button-prev\",\r\n },\r\n });\r\n });\r\n });\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://assets/./src/js/modules/top-export-slider-desktop.js?"); 740 741/***/ }), 742
743/***/ "./src/js/modules/top-export-slider.js": 744/*!*********************************************!*\ 745 !*** ./src/js/modules/top-export-slider.js ***! 746 \*********************************************/ 747/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 748 749eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ initializeTopExportSlider)\n/* harmony export */ });\nfunction initializeTopExportSlider() {\r\n const container = document.querySelector('.top-export-slider');\r\n if (container) {\r\n new TopExportSlider();\r\n }\r\n}\r\n\r\nclass TopExportSlider {\r\n constructor() {\r\n this.initialize();\r\n }\r\n\r\n initialize() {\r\n __webpack_require__.e(/*! import() */ \"vendors-node_modules_swiper_swiper-bundle_mjs\").then(__webpack_require__.bind(__webpack_require__, /*! swiper/bundle */ \"./node_modules/swiper/swiper-bundle.mjs\")).then(({ default: Swiper }) => {\r\n document.querySelectorAll('.top-export-slider__swiper').forEach(function (slider) {\r\n const swiper = new Swiper(slider, {\r\n slidesPerView: 1,\r\n spaceBetween: 24,\r\n autoplay: {\r\n delay: 3000,\r\n },\r\n pagination:{\r\n el: \".top-export-slider__pagination\",\r\n clickable: true,\r\n },\r\n });\r\n });\r\n });\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://assets/./src/js/modules/top-export-slider.js?"); 750 751/***/ })
vendor: 4,460 bytes, lines 751-863
751 752 753/******/ }); 754/************************************************************************/ 755/******/ // The module cache 756/******/ var __webpack_module_cache__ = {}; 757/******/ 758/******/ // The require function 759/******/ function __webpack_require__(moduleId) { 760/******/ // Check if module is in cache 761/******/ var cachedModule = __webpack_module_cache__[moduleId]; 762/******/ if (cachedModule !== undefined) { 763/******/ return cachedModule.exports; 764/******/ } 765/******/ // Create a new module (and put it into the cache) 766/******/ var module = __webpack_module_cache__[moduleId] = { 767/******/ // no module.id needed 768/******/ // no module.loaded needed 769/******/ exports: {} 770/******/ }; 771/******/ 772/******/ // Execute the module function 773/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); 774/******/ 775/******/ // Return the exports of the module 776/******/ return module.exports; 777/******/ } 778/******/ 779/******/ // expose the modules object (__webpack_modules__) 780/******/ __webpack_require__.m = __webpack_modules__; 781/******/ 782/************************************************************************/ 783/******/ /* webpack/runtime/define property getters */ 784/******/ (() => { 785/******/ // define getter functions for harmony exports 786/******/ __webpack_require__.d = (exports, definition) => { 787/******/ for(var key in definition) { 788/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 789/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 790/******/ } 791/******/ } 792/******/ }; 793/******/ })(); 794/******/ 795/******/ /* webpack/runtime/ensure chunk */ 796/******/ (() => { 797/******/ __webpack_require__.f = {}; 798/******/ // This file contains only the entry chunk. 799/******/ // The chunk loading function for additional chunks 800/******/ __webpack_require__.e = (chunkId) => { 801/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { 802/******/ __webpack_require__.f[key](chunkId, promises); 803/******/ return promises; 804/******/ }, [])); 805/******/ }; 806/******/ })(); 807/******/ 808/******/ /* webpack/runtime/get javascript chunk filename */ 809/******/ (() => { 810/******/ // This function allow to reference async chunks 811/******/ __webpack_require__.u = (chunkId) => { 812/******/ // return url for filenames based on template 813/******/ return "./js/" + chunkId + ".chunk.js"; 814/******/ }; 815/******/ })(); 816/******/ 817/******/ /* webpack/runtime/get mini-css chunk filename */ 818/******/ (() => { 819/******/ // This function allow to reference async chunks 820/******/ __webpack_require__.miniCssF = (chunkId) => { 821/******/ // return url for filenames based on template 822/******/ return undefined; 823/******/ }; 824/******/ })(); 825/******/ 826/******/ /* webpack/runtime/hasOwnProperty shorthand */ 827/******/ (() => { 828/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 829/******/ })(); 830/******/ 831/******/ /* webpack/runtime/load script */ 832/******/ (() => { 833/******/ var inProgress = {}; 834/******/ var dataWebpackPrefix = "assets:"; 835/******/ // loadScript function to load a script via script tag 836/******/ __webpack_require__.l = (url, done, key, chunkId) => { 837/******/ if(inProgress[url]) { inProgress[url].push(done); return; } 838/******/ var script, needAttach; 839/******/ if(key !== undefined) { 840/******/ var scripts = document.getElementsByTagName("script"); 841/******/ for(var i = 0; i < scripts.length; i++) { 842/******/ var s = scripts[i]; 843/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; } 844/******/ } 845/******/ } 846/******/ if(!script) { 847/******/ needAttach = true; 848/******/ script = document.createElement('script'); 849/******/ 850/******/ script.charset = 'utf-8'; 851/******/ script.timeout = 120; 852/******/ if (__webpack_require__.nc) { 853/******/ script.setAttribute("nonce", __webpack_require__.nc); 854/******/ } 855/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key); 856/******/ 857/******/ script.src = url; 858/******/ } 859/******/ inProgress[url] = [done]; 860/******/ var onScriptComplete = (prev, event) => { 861/******/ // avoid mem leaks in IE. 862/******/ script.onerror = script.onload = null; 863/******/ clearTimeout(timeout);
vendor: 5,674 bytes, lines 864-991
864/******/ var doneFns = inProgress[url]; 865/******/ delete inProgress[url]; 866/******/ script.parentNode && script.parentNode.removeChild(script); 867/******/ doneFns && doneFns.forEach((fn) => (fn(event))); 868/******/ if(prev) return prev(event); 869/******/ } 870/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); 871/******/ script.onerror = onScriptComplete.bind(null, script.onerror); 872/******/ script.onload = onScriptComplete.bind(null, script.onload); 873/******/ needAttach && document.head.appendChild(script); 874/******/ }; 875/******/ })(); 876/******/ 877/******/ /* webpack/runtime/make namespace object */ 878/******/ (() => { 879/******/ // define __esModule on exports 880/******/ __webpack_require__.r = (exports) => { 881/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 882/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 883/******/ } 884/******/ Object.defineProperty(exports, '__esModule', { value: true }); 885/******/ }; 886/******/ })(); 887/******/ 888/******/ /* webpack/runtime/publicPath */ 889/******/ (() => { 890/******/ __webpack_require__.p = "/assets/dist/"; 891/******/ })(); 892/******/ 893/******/ /* webpack/runtime/jsonp chunk loading */ 894/******/ (() => { 895/******/ // no baseURI 896/******/ 897/******/ // object to store loaded and loading chunks 898/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched 899/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded 900/******/ var installedChunks = { 901/******/ "app": 0 902/******/ }; 903/******/ 904/******/ __webpack_require__.f.j = (chunkId, promises) => { 905/******/ // JSONP chunk loading for javascript 906/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; 907/******/ if(installedChunkData !== 0) { // 0 means "already installed". 908/******/ 909/******/ // a Promise means "currently loading". 910/******/ if(installedChunkData) { 911/******/ promises.push(installedChunkData[2]); 912/******/ } else { 913/******/ if(true) { // all chunks have JS 914/******/ // setup Promise in chunk cache 915/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); 916/******/ promises.push(installedChunkData[2] = promise); 917/******/ 918/******/ // start chunk loading 919/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); 920/******/ // create error before stack unwound to get useful stacktrace later 921/******/ var error = new Error(); 922/******/ var loadingEnded = (event) => { 923/******/ if(__webpack_require__.o(installedChunks, chunkId)) { 924/******/ installedChunkData = installedChunks[chunkId]; 925/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; 926/******/ if(installedChunkData) { 927/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); 928/******/ var realSrc = event && event.target && event.target.src; 929/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; 930/******/ error.name = 'ChunkLoadError'; 931/******/ error.type = errorType; 932/******/ error.request = realSrc; 933/******/ installedChunkData[1](error); 934/******/ } 935/******/ } 936/******/ }; 937/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId); 938/******/ } 939/******/ } 940/******/ } 941/******/ }; 942/******/ 943/******/ // no prefetching 944/******/ 945/******/ // no preloaded 946/******/ 947/******/ // no HMR 948/******/ 949/******/ // no HMR manifest 950/******/ 951/******/ // no on chunks loaded 952/******/ 953/******/ // install a JSONP callback for chunk loading 954/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { 955/******/ var [chunkIds, moreModules, runtime] = data; 956/******/ // add "moreModules" to the modules object, 957/******/ // then flag all "chunkIds" as loaded and fire callback 958/******/ var moduleId, chunkId, i = 0; 959/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { 960/******/ for(moduleId in moreModules) { 961/******/ if(__webpack_require__.o(moreModules, moduleId)) { 962/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; 963/******/ } 964/******/ } 965/******/ if(runtime) var result = runtime(__webpack_require__); 966/******/ } 967/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); 968/******/ for(;i < chunkIds.length; i++) { 969/******/ chunkId = chunkIds[i]; 970/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { 971/******/ installedChunks[chunkId][0](); 972/******/ } 973/******/ installedChunks[chunkId] = 0; 974/******/ } 975/******/ 976/******/ } 977/******/ 978/******/ var chunkLoadingGlobal = self["webpackChunkassets"] = self["webpackChunkassets"] || []; 979/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); 980/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); 981/******/ })(); 982/******/ 983/************************************************************************/ 984/******/ 985/******/ // startup 986/******/ // Load entry module and return exports 987/******/ // This entry module can't be inlined because the eval devtool is used. 988/******/ var __webpack_exports__ = __webpack_require__("./src/js/app.js"); 989/******/ 990/******/ })() 991;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.