Displacement-Based Fragility Functions for Low- and Mid