{"version":3,"file":"HubSpotTrackingLoader.CqZWalrL.mjs","names":["React.useCallback"],"sources":["https:/framerusercontent.com/modules/4a5DxWFEueLeUtDnmMmb/2hqubQqog33HwM1xO9EN/HubSpotTrackingLoader.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function HubSpotTrackingLoader(props){const{style}=props;const trackSpaPageView=React.useCallback(()=>{if(typeof window===\"undefined\")return;const path=`${window.location.pathname}${window.location.search}`;window._hsq=window._hsq||[];window._hsq.push([\"setPath\",path]);window._hsq.push([\"trackPageView\"]);},[]);React.useEffect(()=>{if(typeof window===\"undefined\"){return;}if(!window.__hsInitialPageviewSeen){window.__hsInitialPageviewSeen=true;return;}trackSpaPageView();},[trackSpaPageView]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:0,height:0,overflow:\"hidden\",pointerEvents:\"none\",...style},children:/*#__PURE__*/_jsx(\"script\",{id:\"hs-script-loader\",type:\"text/javascript\",async:true,defer:true,src:\"https://js-eu1.hs-scripts.com/25864264.js\"})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HubSpotTrackingLoader\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HubSpotTrackingLoader.map"],"mappings":"kIAGG,SAAwB,EAAsB,EAAM,CAAC,GAAK,CAAC,SAAO,EAAY,EAAiBA,MAAsB,CAAC,GAAU,IAAS,OAAY,OAAO,IAAM,EAAK,GAAG,EAAO,SAAS,WAAW,EAAO,SAAS,SAAS,EAAO,KAAK,EAAO,MAAM,CAAC,EAAE,EAAO,KAAK,KAAK,CAAC,UAAU,CAAI,CAAC,EAAE,EAAO,KAAK,KAAK,CAAC,eAAe,CAAC,CAAE,EAAE,CAAC,CAAC,EAAwL,OAAtL,MAAoB,CAAI,GAAO,IAAS,OAAqB,IAAG,CAAC,EAAO,wBAAwB,CAAC,EAAO,wBAAwB,GAAK,MAAO,CAAC,EAAiB,CAAlB,CAAoB,EAAE,CAAC,CAAgB,CAAC,EAAsB,EAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,cAAc,OAAO,GAAG,CAAK,EAAE,SAAsB,EAAK,SAAS,CAAC,GAAG,mBAAmB,KAAK,kBAAkB,MAAM,GAAK,MAAM,GAAK,IAAI,2CAA2C,CAAC,CAAC,CAAC,CAAE,qBAHpwB,IAA4B"}