you had some active fermentation; probably not ruined!
what I would do... clean up the external mess first (keeping anything from falling in the bucket), then sanitize another bubbler assembly and slap it on. let it chug through primary. read up on "blowoff tubes" as a solution to volcanic fermentation eruptions
Relax, dont worry, have a homebrew (RDWHAHB); preferably someone elses, since this is your first.
