{"version":3,"file":"URL_TRACK.DUf-RvW-.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/LXRtUPPlwwyksto745sC/WcC2NBztdITt6CUiNs2m/URL_TRACK.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function capturePageInfo(Component){return props=>{const[pageInfo,setPageInfo]=useState(\"\");useEffect(()=>{if(typeof window!==\"undefined\"){const info={url:window.location.href,referrer:document.referrer,utm_source:new URLSearchParams(window.location.search).get(\"utm_source\"),utm_campaign:new URLSearchParams(window.location.search).get(\"utm_campaign\")};setPageInfo(JSON.stringify(info));}},[]);return /*#__PURE__*/_jsx(Component,{...props,value:pageInfo,defaultValue:pageInfo});};}\nexport const __FramerMetadata__ = {\"exports\":{\"capturePageInfo\":{\"type\":\"reactHoc\",\"name\":\"capturePageInfo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./URL_TRACK.map"],"mappings":"2MAAiF,SAAgB,EAAgB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAS,GAAaA,EAAS,GAAG,CAAgT,OAA/S,MAAc,CAAC,GAAU,IAAS,OAAY,CAAC,IAAM,EAAK,CAAC,IAAI,EAAO,SAAS,KAAK,SAAS,SAAS,SAAS,WAAW,IAAI,gBAAgB,EAAO,SAAS,OAAO,CAAC,IAAI,aAAa,CAAC,aAAa,IAAI,gBAAgB,EAAO,SAAS,OAAO,CAAC,IAAI,eAAe,CAAC,CAAC,EAAY,KAAK,UAAU,EAAK,CAAC,GAAI,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,EAAS,aAAa,EAAS,CAAC,uBAA3gB,IAAsC"}