{"version":3,"file":"Stop_scroll.CaaQqafn.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,EAAK,EAAE,eAAe,CAAC,EAAM,SAAS,EAAK,EAAE,cAAc,CAAC,EAAM,SAAS,EAAK,EAAE,cAAc,CAAC,EAAM,SAAS,EAAM,CAAC,CAAE,CAG5L,SAAgB,GAAmB,CAAC,MAAM,CAAC,SAAS,CAAC,EAAM,QAAQ,CAAE,CAAoJ,SAAgB,EAAkB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAc,CAAK,CAAC,CAAC,EAAI,CAA+C,SAAgB,EAAsB,EAAE,CAAC,MAAO,KAAQ,EAA+BD,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAkB,CAAK,CAAC,CAAC,EAAI,mBAPzkB,IAAyB,IAOqE,EANlI,EAAM,EAAK,CAAC,SAAS,EAAK,CAAC,EAM4W,EAAkB,YAAY,gBAAyM,EAAsB,YAAY"}