Mental preparedness as a pathway to police resilience and optimal functioning in the line of duty