{"version":3,"file":"FormTracking.MCWF0d8e.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ivEfC0RoQ13ZA84nFgXB/769rdakXzaQusrDWPFMR/FormTracking.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withFormTracking(Component){return function TrackedForm(props){function handleSuccess(){// Push to GTM dataLayer on successful form submission\nwindow.dataLayer=window.dataLayer||[];window.dataLayer.push({event:\"form_submit_web\",form_id:props.id||\"framer_form\",form_name:props.name||\"Website Contact Form\",form_location:window.location.pathname,form_destination:\"Framer Native\"});}return /*#__PURE__*/_jsx(Component,{...props,onSuccess:handleSuccess});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withFormTracking\":{\"type\":\"reactHoc\",\"name\":\"withFormTracking\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormTracking.map"],"mappings":"kHAA2C,SAAgB,EAAiB,EAAU,CAAC,OAAO,SAAqB,EAAM,CAAC,SAAS,GAAe,CAClJ,EAAO,UAAU,EAAO,WAAW,CAAC,EAAE,EAAO,UAAU,KAAK,CAAC,MAAM,kBAAkB,QAAQ,EAAM,IAAI,cAAc,UAAU,EAAM,MAAM,uBAAuB,cAAc,EAAO,SAAS,SAAS,iBAAiB,eAAe,CAAC,CAAE,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,UAAU,CAAa,CAAC,CAAE,CAAE,qBAD5Q"}