Resilient fixed-time bipartite consensus of multi-agent systems with nonlinear dynamics and directed graphs