Oh there are laws against it and company policies too! Even so, complaints against sexual harassment – and harassment in other forms – rarely if ever swim up to the top.
What is your earning potential?
Earning potential is more about how you spend what you earn rather than how you earn what you spend.