The 1.3-kg slider is released from rest in position A and slides without friction along the vertical-plane guide shown. Determine the maximum deflection of the spring.