Swot Analysis from a Resource-Based View