Resources of emotional resilience and its mediating role in teachers’ well-being and intention to leave · Study