Let \( A \) be a \( n\times n \) matrix such that \( |A|=2 \). If the determinant of the matrix \( \mathrm{Adj}\!\left(2\cdot \mathrm{Adj}\!\left(2A^{-1}\right)\right) \) is \( 2^{84} \), then \( n \) is equal to ______.