A Framework For Probabilistic Resilience-Based Assessment And Design of The Built Environment