Since she has been vomiting for 2 days, It is entirely possible that she has an obstruction from the foam padding. I definitely would not count on it passing through. She should see a vet for radiographs and a possible barium series. Sometimes a foreign body obstruction can be diagnosed on plain films. She is in danger of becoming dehydrated because she is unable to keep food and water down. If she does have an obstruction, the longer you wait the greater the chance she will develop a perforation at the site. This happens when the tissue is unhealthy and a hole develops in the intestine. Given the duration of the possible foreign body, I suggest she see a vet at the emergency center today. If she is lethargic at all, she needs veterinary care immediately. I hope this helps. Please let me know if you have other questions.