Hi there,
Sad to know about this accident. Hope the driver and the passengers will be fine.
Better to consult some sincere and professional mechanic, get it repaired, and don't sell.
Usually, people don't pay enough for the damaged objects. It will work fine having been repaired.
Best times,