{"version":3,"file":"Src_Scripts_components_global-tools_js.873b6c874c21c71a43a9.js","sources":["webpack://AlmenNet.Setup/./Src/Scripts/components/global-tools.js"],"sourcesContent":["export default class globalTools {\r\n constructor() {\r\n\r\n // detect input - add body class for future use\r\n\r\n function testForPointer() {\r\n\r\n document.addEventListener('pointerover', function (e) {\r\n\r\n const body = document.querySelector('body');\r\n\r\n body.classList.remove('mouse-active', 'touch-active');\r\n\r\n if (e.pointerType === 'mouse') {\r\n body.classList.add('mouse-active');\r\n }\r\n if (e.pointerType === 'touch') {\r\n body.classList.add('touch-active');\r\n }\r\n });\r\n }\r\n\r\n testForPointer();\r\n }\r\n}\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AAEA;AAEA;AAEA;AAEA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAxBA;AACA;A;;A;;A","sourceRoot":""}