This is not your fault. Everybody moans - it does not hurt their baby. This is not your fault: you are not being punished. This is happening because shitty things happen. You could have spent the last 8 months singing from the rooftops that you were in love with being pregnant, and she would still have CDH. There is nothing, absolutely nothing, that you could have done to stop this happening. There is noting that you could have done to cause this. This has happened because growing a baby is actually incredibly complicated, and sometimes, things go wrong.
I know you won't stop beating yourself up just because a stranger online tells you not to. But please try.
Have you managed to tell anyone what's happened yet? Is there someone there in real life for you? Because right now, I am in awe of you that you can even string a sentence together online. And you need someone to be there for you.
If you're ready for it, ask to see the unit in advance. They're usually happy to show parents round in advance. Is the plan for an elective section or delivery? If an elective section, you would still be awake, and could have your birthing partner in with you. There won't be much scope for pictures at delivery (the priority is getting your daughter stabilised) but might be a chance for a quick snap. Then we always do a photo as part of admission to SCBU (as has every NICU I've worked on), so that mum can get a picture back as soon as possible.
If you've just been hit by this today, it must be a terrible shock. If you think of more questions, they should have set things up so you have someone to ask. And don't be afraid to ask the same questions again, if you don't feel like you've got the answers straight in your head. Hoping you've had a chance to speak to at least the neonatologist (if not yet the surgeons) and not just the obstetrician? Always better to be able to talk in advance, as well as at the time.
Thinking of you, and big hugs.