Three-quark potential at finite temperature and chemical potetnial