Text this: Advancing urban resilience in heritage cities through spatial and community-based analysis