Mucus plug (sorry for the grossness)

Is this just part of the plug? And has anyone lost theirs and continued

taking baths or going swimming? Of course this would happen when the heat wave of the century is rolling in 🙄