text: {
    var map = {};
  
    for (var i = 0, l = attrs.length; i < l; i++) {
      if (
        process.env.NODE_ENV !== "production" &&
        map[attrs[i].name] &&
        !isIE &&
        !isEdge
      ) {
        warn("duplicate attribute: " + attrs[i].name);
      }
  
      map[attrs[i].name] = attrs[i].value;
    }
  
    return map;
  }
  