Let \( \frac{x^{2}}{a^{2}}+\frac{y^{2}}{b^{2}}=1 \), \( a>b \) be an ellipse, whose eccentricity is \( \frac{1}{\sqrt{2}} \) and the length of the latusrectum is \( \sqrt{14} \). Then the square of the eccentricity of \( \frac{x^{2}}{a^{2}}-\frac{y^{2}}{b^{2}}=1 \) is: