Seismic Protetion of Constructed Facilities: Optimal Use of Resources