High quality factor metasurfaces for two-dimensional wavefront manipulation | Synapse