An equilateral triangle $\text{BP}$ is drawn inside a square $\text{ABCD}.$ What is the value of the angle $\text{APD}$ in degrees?