8. Given that the three interior angles of $\triangle A B C$ satisfy: $\sin A+$ $\sin C=(\cos A+\cos C) \sin B$, and the area of $\triangle A B C$ is 4, then the minimum perimeter of $\triangle A B C$ is $\qquad$
8. $4+4 \sqrt{2}$