import { isReactNative as e } from "../constants/vite.constants.mjs";
import { BabyJubRN as t } from "./BabyJubRN.mjs";
import { buildBabyjub as n } from "circomlibjs-hinkal-fork";
var r = new class {
	babyjub = void 0;
	async init() {
		this.babyjub ||= (console.log("isReactNative JubHolder", e), e ? new t() : await n());
	}
	getJub() {
		return this.babyjub;
	}
}(), i = () => r.getJub();
//#endregion
export { i as babyJubInstance, r as jubHolder };
