By the way, I know I'm over-posting but I really do want to give you a hug.
It's horrible and it must be quite a shock for you.
Be kind to yourself.
I'm guessing you'll be pretty hard on yourself, be thinking all sorts of things. So will your daughter.
It will make her reactions quite ... spinet - towards you, I suspect.
The fact she's told you what happened is great. Some children wouldn't. So, that's brilliant.
Conversations will take time. It's never a case of 'one conversation:sorted.' If your dd is like most children, you'll get push-back. At times it will look like you're going backwards. But, ultimately, it all works out. Despite all impressions to the contrary, most youngsters do listen to their parents. It sinks in. You don't really see how it sinks in until years later, sometimes.
But, in the meantime, hug for you. It's pretty horrible.