import{PostHog as k}from"posthog-react-native";var z=process.env.NEXT_PUBLIC_CONTRACTSPEC_POSTHOG_KEY,A=process.env.NEXT_PUBLIC_POSTHOG_HOST||"https://eu.posthog.com";function q(){let f=process.env.NEXT_PUBLIC_CONTRACTSPEC_POSTHOG_KEY,j=process.env.NEXT_PUBLIC_POSTHOG_HOST||"https://eu.posthog.com";if(!f)throw console.warn("[PostHog] NEXT_PUBLIC_CONTRACTSPEC_POSTHOG_KEY is missing"),Error("NEXT_PUBLIC_CONTRACTSPEC_POSTHOG_KEY is missing");return new k(f,{host:j})}var B=q();export{z as posthogKey,A as posthogHost,B as posthog,q as initPosthog};
