Edge Partitions and Visibility Representations of 1-planar Graphs