While reading through Player's Handbook 5-th edition Warlock class, I found this paragraph:
If you lose your Book of Shadows, you can perform a 1-hour ceremony to receive a replacement from your patron. This ceremony can be performed during a short or long rest, and it destroys the previous book.
Then, later, reading through Invocations available to the Warlock, there is Book of Ancient Secrets Invocation, which allows the user of the Book of Shadows to inscribe rituals inside it. Comparing those 2 things, my questions is this: In the event of the Warlock losing his Book of Shadows, so that a ceremony for replacement is held, does the new book contain all the rituals Warlock inscribed in it so far, or are they irrevocably lost and must be written again from scratch?