Let \( \int_{-2}^{2} \left(|\sin x| + [x\sin x]\right)\,dx = 2(3-\cos 2)+\beta \), where \( [\cdot] \) is the greatest integer function. Then \( \beta \sin\!\left(\dfrac{\beta}{2}\right) \) equals:
\( 1 \)
\( 2 \)
\( 4 \)
\( 8 \)