{"version":3,"file":"WithQueryParamsNEW.CWrQYotL.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/JCjP9Z20AlVJDt5zGeMi/AF7Ay0GKVaj7zRCgo3ib/WithQueryParamsNEW.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";// Learn more: https://www.framer.com/docs/guides/overrides/\nexport function withQueryParams(Component){return props=>{const[params,setParams]=useState(\"\");useEffect(()=>{if(globalThis?.location?.search){setParams(globalThis?.location?.search||\"\");}},[]);if(props?.href){return /*#__PURE__*/_jsx(Component,{...props,href:`${props.href}${params}`});}return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withQueryParams\":{\"type\":\"reactHoc\",\"name\":\"withQueryParams\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithQueryParamsNEW.map"],"mappings":"yHACA,SAAgB,EAAgB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAO,GAAWA,EAAS,EAAE,EAAmM,OAAjM,MAAc,CAAI,YAAY,UAAU,QAAQ,EAAU,YAAY,UAAU,QAAQ,EAAE,CAAG,EAAE,CAAC,CAAC,EAAK,GAAO,KAA0B,EAAK,EAAU,CAAC,GAAG,EAAM,KAAK,GAAG,EAAM,OAAO,GAAQ,CAAC,EAAuB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,CAAE,CAAE,iBADvS,IAAsC"}