{"version":3,"sources":["webpack:///./node_modules/tiny-slider/src/helpers/setAttrs.js"],"names":["setAttrs","els","attrs","Array","Object","prototype","toString","call","i","length","key","setAttribute"],"mappings":"yFAAA,8CAEO,SAASA,EAASC,EAAKC,GAE5B,GADAD,EAAO,YAAWA,IAAQA,aAAeE,MAASF,EAAM,CAACA,GACX,oBAA1CG,OAAOC,UAAUC,SAASC,KAAKL,GAEnC,IAAK,IAAIM,EAAIP,EAAIQ,OAAQD,KACvB,IAAI,IAAIE,KAAOR,EACbD,EAAIO,GAAGG,aAAaD,EAAKR,EAAMQ","file":"setAttrs.c9c45ebd.js","sourcesContent":["import { isNodeList } from \"./isNodeList.js\";\n\nexport function setAttrs(els, attrs) {\n els = (isNodeList(els) || els instanceof Array) ? els : [els];\n if (Object.prototype.toString.call(attrs) !== '[object Object]') { return; }\n\n for (var i = els.length; i--;) {\n for(var key in attrs) {\n els[i].setAttribute(key, attrs[key]);\n }\n }\n}"],"sourceRoot":""}