{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/GUkFrcxyB51RitT11nVJ/2p9t7pdKvIdMRK9OSiIa/Bloqueo_scroll_3.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";export default function OverlayBlock(){const[isVisible,setIsVisible]=useState(true);useEffect(()=>{// Prevenir restauraci\u00F3n autom\u00E1tica del scroll por el navegador\nif(\"scrollRestoration\"in window.history){window.history.scrollRestoration=\"manual\";}// Ir al inicio siempre al cargar con overlay\nwindow.scrollTo(0,0);if(isVisible){document.body.style.overflow=\"hidden\";document.documentElement.style.overflow=\"hidden\";document.body.style.touchAction=\"none\";document.body.style.overscrollBehavior=\"none\";}else{document.body.style.overflow=\"auto\";document.documentElement.style.overflow=\"auto\";document.body.style.touchAction=\"auto\";document.body.style.overscrollBehavior=\"auto\";}return()=>{document.body.style.overflow=\"auto\";document.documentElement.style.overflow=\"auto\";document.body.style.touchAction=\"auto\";document.body.style.overscrollBehavior=\"auto\";// Restaurar comportamiento si quieres (opcional)\nif(\"scrollRestoration\"in window.history){window.history.scrollRestoration=\"auto\";}};},[isVisible]);return /*#__PURE__*/_jsxs(_Fragment,{children:[isVisible&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"fixed\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundColor:\"rgba(255, 255, 255, 0.8)\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",textAlign:\"center\",zIndex:9999,cursor:\"pointer\"},onClick:()=>setIsVisible(false),children:/*#__PURE__*/_jsx(\"div\",{style:{padding:\"20px 40px\",backgroundColor:\"#f0f0f0\",borderRadius:\"10px\",boxShadow:\"0 4px 8px rgba(0,0,0,0.2)\"},children:/*#__PURE__*/_jsx(\"p\",{style:{fontSize:\"20px\",color:\"#333\",margin:0},children:\"Haz clic para desbloquear\"})})}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h1\",{children:\"Bienvenido a la P\\xe1gina\"}),/*#__PURE__*/_jsx(\"p\",{children:\"El scroll estaba bloqueado hasta que hiciste clic.\"})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"OverlayBlock\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Bloqueo_scroll_3.map"],
  "mappings": "yGAAoI,SAARA,GAA+B,CAAC,GAAK,CAACC,EAAUC,CAAY,EAAEC,EAAS,EAAI,EAAE,OAAAC,EAAU,KAChN,sBAAsBC,EAAO,UAASA,EAAO,QAAQ,kBAAkB,UAC1EA,EAAO,SAAS,EAAE,CAAC,EAAKJ,GAAW,SAAS,KAAK,MAAM,SAAS,SAAS,SAAS,gBAAgB,MAAM,SAAS,SAAS,SAAS,KAAK,MAAM,YAAY,OAAO,SAAS,KAAK,MAAM,mBAAmB,SAAa,SAAS,KAAK,MAAM,SAAS,OAAO,SAAS,gBAAgB,MAAM,SAAS,OAAO,SAAS,KAAK,MAAM,YAAY,OAAO,SAAS,KAAK,MAAM,mBAAmB,QAAc,IAAI,CAAC,SAAS,KAAK,MAAM,SAAS,OAAO,SAAS,gBAAgB,MAAM,SAAS,OAAO,SAAS,KAAK,MAAM,YAAY,OAAO,SAAS,KAAK,MAAM,mBAAmB,OACviB,sBAAsBI,EAAO,UAASA,EAAO,QAAQ,kBAAkB,OAAQ,GAAI,CAACJ,CAAS,CAAC,EAAsBK,EAAMC,EAAU,CAAC,SAAS,CAACN,GAAwBO,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,QAAQ,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,OAAO,gBAAgB,2BAA2B,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,UAAU,SAAS,OAAO,KAAK,OAAO,SAAS,EAAE,QAAQ,IAAIN,EAAa,EAAK,EAAE,SAAsBM,EAAK,MAA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