Maternity Leave...Government or Employer? Not sure if that's a silly question

Tried to google it and all i could find was "who gets paid maternity leave"

TIA xo