// @bun
var q=Object.defineProperty;var w=(f)=>f;function x(f,j){this[f]=w.bind(null,j)}var B=(f,j)=>{for(var k in j)q(f,k,{get:j[k],enumerable:!0,configurable:!0,set:x.bind(j,k)})};var C=(f,j)=>()=>(f&&(j=f(f=0)),j);import{PostHog as z}from"posthog-react-native";var I=process.env.NEXT_PUBLIC_CONTRACTSPEC_POSTHOG_KEY,J=process.env.NEXT_PUBLIC_POSTHOG_HOST||"https://eu.posthog.com";function A(){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 z(f,{host:j})}var L=A();export{I as posthogKey,J as posthogHost,L as posthog,A as initPosthog};
