The shortest distance of the point $\left ( \frac{1}{2}, 1 \right )$ from the curve $y=\mid x-1 \mid+\mid x+1 \mid$ is