the ability of a system, community, or society exposed to hazards to resist, absorb, accommodate, and recover from the effects of a hazard in a timely and efficient manner, including through the preservation and restoration of its essential basic structures and functions