Considering she was begging for ghetto votes in Philly shortly before the election while Trump was venturing out into Dem states indicates to me that she knew she was in danger; for all the talk about how the “blue wall” hadn’t voted for Republicans since the 1980s, she was campaigning in PA (not even in suburbs, but the hardcore slums). She knew there was a good chance she’d lose.
I was thinking that if the Hillary people knew days or a week or more before the election that she was in jeopardy they would have rushed her to do some campaigning in Ohio, Michigan, maybe Wisconsin, etc. in addition to PA.
If the Trump campaign had polls showing they could win those mid-west states you would think that the Hillary campaign saw it too.
OTOH - Maybe Hillary’s health condition was so bad that she couldn’t handle the strain of a heavy travel/campaign schedule.