This error is produced while the user is not logged in. According to the browser console, the error is in the following line:
)) : null === a && void 0 === a && "undefined" === a || a.removeEventListener("keydown", f, !1)
Couldn't figure out the issue myself since the entire code is obfuscated. Once again, the error only occurs when the user is not logged in.