Text this: Pontryagin-type maximum principle for a controlled sweeping process with nonsmooth and unbounded sweeping set