1"use strict";(self.webpackChunkkunstmaan_edition=self.webpackChunkkunstmaan_edition||[]).push([[422],{422:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("{__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__ = (event => {\n const dragArea = event.target;\n let mouseDown = false;\n let startX;\n let scrollLeft;\n const startDragging = eventStart => {\n mouseDown = true;\n startX = eventStart.pageX - dragArea.offsetLeft;\n scrollLeft = dragArea.scrollLeft;\n };\n const stopDragging = () => {\n mouseDown = false;\n };\n const mouseDragging = eventDrag => {\n eventDrag.preventDefault();\n if (!mouseDown) {\n return;\n }\n const x = eventDrag.pageX - dragArea.offsetLeft;\n const scroll = x - startX;\n dragArea.scrollLeft = scrollLeft - scroll;\n };\n const removeListeners = () => {\n dragArea.removeEventListener('mousemove', mouseDragging);\n dragArea.removeEventListener('mousedown', startDragging);\n dragArea.removeEventListener('mouseup', stopDragging);\n dragArea.removeEventListener('mouseleave', removeListeners);\n };\n dragArea.addEventListener('mousemove', mouseDragging);\n dragArea.addEventListener('mousedown', startDragging);\n dragArea.addEventListener('mouseup', stopDragging);\n dragArea.addEventListener('mouseleave', removeListeners);\n});\n\n//# sourceURL=webpack://kunstmaan-edition/./vendor/insiders/kunstmaan-application/kunstmaan-bundles/KunstmaanCoreBundle/Resources/ui/frontend/js/drag.module.js?\n}")}}]);
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.