import { M as s, a4 as r, bx as a, a5 as n } from "./index-BxjwuJ6T.js";
const d = (e) => {
  const i = a.evm.isEvmProvider();
  return {
    oauth: {
      provider: n.OAUTH,
      text: "Login Using Credenza's System",
      condition: e.some((t) => t !== "evm")
    },
    evm: {
      provider: n.EVM,
      text: "Login with EVM",
      condition: e.includes("evm") && i
    }
  };
}, m = () => {
  const e = d(s(r).available_login_types);
  return Object.entries(e).filter(([t, o]) => o.condition !== void 0 ? o.condition : !0).map(([t, o]) => ({
    ...o
  }));
};
export {
  m as g
};
//# sourceMappingURL=authMethods.helper-DBzGGN4n.js.map
