Which of the following sets is the range of the function \(f(x)=3+\left(\dfrac{x^2-5x+6}{x^2+5x-6}\right)^2\) ?