{"version":3,"file":"Stop_scroll.CrWDC04P.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/SIGD30a4UhbkOM5WLKiF/208Z1adrJJfFrvTlRiKx/Stop_scroll.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{Data}from\"framer\";// Глобальное состояние для синхронизации\nconst store=Data({caseOpen:false});/**\n * Override для slideshow-case\n * Когда открываем / взаимодействуем — ставим флаг, что он активен\n */export function SlideshowCase(){return{onTapStart(){store.caseOpen=true;},onPointerDown(){store.caseOpen=true;},onMouseEnter(){store.caseOpen=true;},onMouseLeave(){store.caseOpen=false;}};}/**\n * Override для slideshow-projects\n * Если открыт case, autoplay выключается.\n */export function SlideshowProjects(){return{autoplay:!store.caseOpen};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withSlideshowCase(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...SlideshowCase(props)});};}withSlideshowCase.displayName=\"SlideshowCase\";export function withSlideshowProjects(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...SlideshowProjects(props)});};}withSlideshowProjects.displayName=\"SlideshowProjects\";\nexport const __FramerMetadata__ = {\"exports\":{\"SlideshowCase\":{\"type\":\"override\",\"name\":\"SlideshowCase\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SlideshowProjects\":{\"type\":\"override\",\"name\":\"SlideshowProjects\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSlideshowCase\":{\"type\":\"reactHoc\",\"name\":\"withSlideshowCase\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSlideshowProjects\":{\"type\":\"reactHoc\",\"name\":\"withSlideshowProjects\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Stop_scroll.map"],"mappings":"qKAIG,SAAgB,GAAe,CAAC,MAAM,CAAC,YAAY,CAAC,EAAM,SAAS,IAAO,eAAe,CAAC,EAAM,SAAS,IAAO,cAAc,CAAC,EAAM,SAAS,IAAO,cAAc,CAAC,EAAM,SAAS,IAAQ,CAG3L,SAAgB,GAAmB,CAAC,MAAM,CAAC,SAAS,CAAC,EAAM,SAAS,CAAqJ,SAAgB,EAAkB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAc,EAAM,CAAC,CAAC,EAAkD,SAAgB,EAAsB,EAAE,CAAC,MAAO,KAAQ,EAA+BD,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAkB,EAAM,CAAC,CAAC,qBAPrkB,IAAyB,IAOqE,CANnI,EAAM,EAAK,CAAC,SAAS,GAAM,CAAC,CAM2W,EAAkB,YAAY,gBAAyM,EAAsB,YAAY"}