{"version":3,"file":"StopScroll.BcTO2LOW.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/9ajhXMTvNHa3o84QkAph/ZBplVHhr6ySudJRDhwll/StopScroll.js"],"sourcesContent":["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect}from\"react\";/**\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function Component(props){const{toggle}=props;useEffect(()=>{if(toggle)document.body.style.overflow=\"hidden\";return()=>{document.body.style.overflow=\"\";};},[!toggle]);return /*#__PURE__*/_jsx(_Fragment,{});}Component.displayName=\"Stop Scroll\";addPropertyControls(Component,{toggle:{type:ControlType.Boolean,title:\"Block Scroll\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Component\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"*\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StopScroll.map"],"mappings":"yQAKG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,SAAO,CAAC,EAA+H,OAAzH,OAAkB,IAAO,SAAS,KAAK,MAAM,SAAS,cAAmB,CAAC,SAAS,KAAK,MAAM,SAAS,EAAI,GAAG,CAAC,CAAC,EAAO,EAAsB,EAAKA,EAAU,EAAE,CAAG,6BAAU,YAAY,cAAc,EAAoB,EAAU,CAAC,OAAO,CAAC,KAAK,EAAY,QAAQ,MAAM,eAAe,CAAC"}