mac mini flashing mouse repetitive sound wont let me click on stuff https://www.youtube.com/watch?v=R5NeoGTkkZ4&amp;index=2&amp;list=PLTlfSplem0iX3CLphwxx5fPGD98ydgbpZ

okay so basically half a week ago my computer would start making weird sounds and not letting me click on anything. pretty sure that's not normal for macs, but anyway, i have searched long and hard for the solution tried restarting my computer, using all the computer repair tools built into the mac
literally nothing has helped. now i have two main theories, either my computer has been cursed or hive a virus. no clue what to do.

any help at all would be very very very much appreciated
Ps: i had to use someone else's computer to post this (yes it's that bad)
i eventually just decided to do a factory reset, it worked.