{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/9ajhXMTvNHa3o84QkAph/Xnul1hAdJn3YeKLXdbBc/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\",description:\"More components at [Framer University](https://frameruni.link/cc).\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Component\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"*\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StopScroll.map"],
  "mappings": "uEAKkB,SAARA,EAA2BC,EAAM,CAAC,GAAK,CAAC,OAAAC,CAAM,EAAED,EAAM,OAAAE,EAAU,KAAQD,IAAO,SAAS,KAAK,MAAM,SAAS,UAAe,IAAI,CAAC,SAAS,KAAK,MAAM,SAAS,EAAG,GAAI,CAAC,CAACA,CAAM,CAAC,EAAsBE,EAAKC,EAAU,CAAC,CAAC,CAAE,CAACL,EAAU,YAAY,cAAcM,EAAoBN,EAAU,CAAC,OAAO,CAAC,KAAKO,EAAY,QAAQ,MAAM,eAAe,YAAY,oEAAoE,CAAC,CAAC",
  "names": ["Component", "props", "toggle", "ue", "p", "l", "addPropertyControls", "ControlType"]
}
