{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/8VSkSXflCIOlKnIWVcQF/vAnPa6ZVNIuvO5AfK4TN/Posthog.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";function withPostHogTracking(Component,eventName,section){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:e=>{// \u2705 Send event to PostHog with route (current page) and section\nif(typeof window!==\"undefined\"&&window.posthog){window.posthog.capture(eventName,{section:section,page:window.location.pathname});}// \uD83D\uDC49 Also call the original onClick if it exists\nif(props.onClick)props.onClick(e);}});});}// \uD83E\uDDE9 HOC to track clicks in the Nav section\nexport function withNav(Component){return withPostHogTracking(Component,\"clicked_cta_nav\",\"nav\");}// \uD83E\uDDE9 HOC to track clicks in the Hero section\nexport function withHero(Component){return withPostHogTracking(Component,\"clicked_cta_hero\",\"hero\");}// \uD83E\uDDE9 HOC to track clicks in the Testimonial section\nexport function withTestimonial(Component){return withPostHogTracking(Component,\"clicked_cta_testimonial\",\"testimonial\");}// \uD83E\uDDE9 HOC to track clicks in the Pricing section\nexport function withPricing(Component){return withPostHogTracking(Component,\"clicked_cta_pricing\",\"pricing\");}// \uD83E\uDDE9 HOC to track clicks in the Footer section\nexport function withFooter(Component){return withPostHogTracking(Component,\"clicked_cta_footer\",\"footer\");}// \uD83E\uDDE9 HOC to track clicks in the What we do section\nexport function withWhatWeDo(Component){return withPostHogTracking(Component,\"clicked_case_studies_what_we_do\",\"what_we_do\");}// \uD83E\uDDE9 HOC to track clicks in the What we do section\nexport function withWhyDifferent(Component){return withPostHogTracking(Component,\"clicked_case_studies_why_different\",\"why_different\");}\nexport const __FramerMetadata__ = {\"exports\":{\"withHero\":{\"type\":\"reactHoc\",\"name\":\"withHero\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNav\":{\"type\":\"reactHoc\",\"name\":\"withNav\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWhyDifferent\":{\"type\":\"reactHoc\",\"name\":\"withWhyDifferent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFooter\":{\"type\":\"reactHoc\",\"name\":\"withFooter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPricing\":{\"type\":\"reactHoc\",\"name\":\"withPricing\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTestimonial\":{\"type\":\"reactHoc\",\"name\":\"withTestimonial\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWhatWeDo\":{\"type\":\"reactHoc\",\"name\":\"withWhatWeDo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Posthog.map"],
  "mappings": "yFAAyE,SAASA,EAAoBC,EAAUC,EAAUC,EAAQ,CAAC,OAAoBC,EAAW,CAACC,EAAMC,IAA2BC,EAAKN,EAAU,CAAC,IAAIK,EAAI,GAAGD,EAAM,QAAQG,GAAG,CAC7O,OAAOC,EAAS,KAAaA,EAAO,SAASA,EAAO,QAAQ,QAAQP,EAAU,CAAC,QAAQC,EAAQ,KAAKM,EAAO,SAAS,QAAQ,CAAC,EAC7HJ,EAAM,SAAQA,EAAM,QAAQG,CAAC,CAAE,CAAC,CAAC,CAAG,CAAE,CAClC,SAASE,EAAQT,EAAU,CAAC,OAAOD,EAAoBC,EAAU,kBAAkB,KAAK,CAAE,CAC1F,SAASU,EAASV,EAAU,CAAC,OAAOD,EAAoBC,EAAU,mBAAmB,MAAM,CAAE,CAC7F,SAASW,EAAgBX,EAAU,CAAC,OAAOD,EAAoBC,EAAU,0BAA0B,aAAa,CAAE,CAClH,SAASY,EAAYZ,EAAU,CAAC,OAAOD,EAAoBC,EAAU,sBAAsB,SAAS,CAAE,CACtG,SAASa,EAAWb,EAAU,CAAC,OAAOD,EAAoBC,EAAU,qBAAqB,QAAQ,CAAE,CACnG,SAASc,EAAad,EAAU,CAAC,OAAOD,EAAoBC,EAAU,kCAAkC,YAAY,CAAE,CACtH,SAASe,EAAiBf,EAAU,CAAC,OAAOD,EAAoBC,EAAU,qCAAqC,eAAe,CAAE",
  "names": ["withPostHogTracking", "Component", "eventName", "section", "Y", "props", "ref", "p", "e", "window", "withNav", "withHero", "withTestimonial", "withPricing", "withFooter", "withWhatWeDo", "withWhyDifferent"]
}
