If \(y=\sin ^2\left(\cot ^{-1} \sqrt{\frac{1+x}{1-x}}\right)\), then \(\frac{\mathrm{d} y}{\mathrm{~d} x}\) has the value