Deduction Allocations: Earned Income for HSA and Archer MSA Deductions

We lived and worked in multiple states in 2019. While entering all our info for the first state, on a page called "Deduction Allocations," it asks how much of our federal income that fits under "Earned Income for HSA and Archer MSA Deductions" should be allocated to the first state. I don't know how much to enter. The federal amount that it automatically populated is less than our total federal income but not a clear combination of some types of income but not others (e.g., wages + business income but excluding something else). I assume I need to enter the amount from the federal amount that was earned in the first state, but since I don't know what income it is including to calculate the federal amount, I don't know what to allocate to the state. (I also don't know what "Earned Income for HSA and Archer MSA Deductions" means.)