Target tops earnings view, but tempers profit outlook