Examine the pre-colonial struggles of the Philippines against foreign influences. How did various indigenous societies resist attempts at domination and maintain their sovereignty prior to Spanish arrival? Discuss factors such as indigenous political structures, warfare tactics, and cultural resilience in the face of external pressures.