import { R as c, u as o, a as r, r as p, j as u, S as i, N as s } from "./index-DABTBjEv.js";
i({
  ciphertext: s,
  nonce: s
});
function m() {
  const {
      ciphertext: t,
      nonce: e
    } = c.useSearch(),
    {
      processConnectAuthSuccess: a
    } = o(),
    n = r();
  return p.useEffect(() => {
    a({
      storage: localStorage,
      ciphertext: t,
      nonce: e
    }), n({
      to: "/",
      replace: !0
    });
  }, [t, e, a, n]), u.jsx("div", {
    children: "Authenticating …"
  });
}
export { m as component };
//# sourceMappingURL=authenticate-callback-Dya6DbB4.js.map