Mechanism-based approaches of 1,3,4 thiadiazole scaffolds as potent enzyme inhibitors for cytotoxicity and antiviral activity