なか かぎりであれば
nakakagirideareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 中限り

1. If within limits; If limited; Provided that

Ba Conditional