(b) Before determining whether it is an inconvenient forum, a court of this state shall consider whether it is appropriate for a court of another state to exercise jurisdiction. For this purpose, the court shall allow the parties to submit information and shall consider all relevant factors, including:
- (1) Whether domestic violence has occurred and is likely to continue in the future and which state could best protect the parties and the child;
- (2) The length of time the child has resided outside this state;
- (3) The distance between the court in this state and the court in the state that would assume jurisdiction;
- (4) The relative financial circumstances of the parties;
- (5) Any agreement of the parties as to which state should assume jurisdiction;
- (6) The nature and location of the evidence required to resolve the pending litigation, including testimony of the child;
- (7) The ability of the court of each state to decide the issue expeditiously and the procedures necessary to present the evidence; and
- (8) The familiarity of the court of each state with the facts and issues in the pending litigation.