What does the phrase At pains to mean in standard English?

  • Making a careful or serious effort to do something
  • To have a natural talent for something
  • To receive unfair or worse treatment
  • To give little attention, sympathy, or consideration