Depending on; based on.
Long explanation:
The ~次第で grammar point is used to express that something is dependent on or determined by another factor or situation. It can be translated as 'depending on' or 'based on' in English. The formation differs depending on whether it is used with a verb, い-adjective, な-adjective, or noun.