As far as I know, there is no precedence for a HA pair. It all depends on the HA table that is configured. But for HA Group, there is a score concept for failover.
W.r.t to question if VLAN failsafe, HA group and network failover which one will take precedence ?
The answer is, even if any of this fails, the failover will take place. It does not matter which goes out first.
tmsh show /sys ha-status
If you go to the HA table, you will see an action inline to every features (VLAN failsafe,nic-failsafe,switchboard-failsafe etc...)
You can refer article to know more about failover events.
For HA-Group failover events doc.