{"version":3,"sources":["webpack:///./node_modules/tiny-slider/src/helpers/addEvents.js"],"names":["addEvents","el","obj","preventScrolling","prop","option","indexOf","addEventListener"],"mappings":"wFAAA,8CAEO,SAASA,EAAUC,EAAIC,EAAKC,GACjC,IAAK,IAAIC,KAAQF,EAAK,CACpB,IAAIG,EAAS,CAAC,aAAc,aAAaC,QAAQF,IAAS,IAAMD,GAAmB,IACnFF,EAAGM,iBAAiBH,EAAMF,EAAIE,GAAOC","file":"addEvents.a637350c.js","sourcesContent":["import { passiveOption } from './passiveOption.js';\n\nexport function addEvents(el, obj, preventScrolling) {\n for (var prop in obj) {\n var option = ['touchstart', 'touchmove'].indexOf(prop) >= 0 && !preventScrolling ? passiveOption : false;\n el.addEventListener(prop, obj[prop], option);\n }\n}"],"sourceRoot":""}