{"version":3,"file":"URLParams.DDFDP4vc.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/xlj3XEGGHRjxxB4GAmwz/LfG6uShqp0juN9O9CI2w/URLParams.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function withShowReviews(Component){return props=>{const[show,setShow]=useState(false);useEffect(()=>{const queryParams=new URLSearchParams(window.location.search);const showReviews=queryParams.get(\"showReviews\");if(showReviews===\"true\"){setShow(true);}},[]);return show?/*#__PURE__*/_jsx(Component,{...props}):null;};}\nexport const __FramerMetadata__ = {\"exports\":{\"withShowReviews\":{\"type\":\"reactHoc\",\"name\":\"withShowReviews\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./URLParams.map"],"mappings":"2MAAiF,SAAgB,EAAgB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAK,GAASA,EAAS,GAAM,CAA6K,OAA5K,MAAc,CAAmB,IAAI,gBAAgB,EAAO,SAAS,OAAO,CAA+B,IAAI,cAAc,GAAkB,QAAQ,EAAQ,GAAK,EAAI,EAAE,CAAC,CAAQ,EAAkB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,CAAC,2BAApW,IAAsC"}