{"version":3,"file":"Autoplay.BVCF91F5.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/TcUoNfS6PrYDiIew9X5g/3fnHtp4R8QWvA3HE8cWN/Autoplay.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function PlayWithSound(){useEffect(()=>{const video=document.querySelector(\"video\");if(video){video.muted=false// Ensure it's unmuted\n;video.loop=true;const playPromise=video.play();if(playPromise!==undefined){playPromise.then(()=>{}).catch(err=>{console.warn(err);});}}},[]);return{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withPlayWithSound(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...PlayWithSound(props)});};}withPlayWithSound.displayName=\"PlayWithSound\";\nexport const __FramerMetadata__ = {\"exports\":{\"withPlayWithSound\":{\"type\":\"reactHoc\",\"name\":\"withPlayWithSound\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PlayWithSound\":{\"type\":\"override\",\"name\":\"PlayWithSound\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Autoplay.map"],"mappings":"yPAAwE,SAAgB,GAAe,CACuC,OADtC,MAAc,CAAC,IAAM,EAAM,SAAS,cAAc,SAAS,GAAG,EAAM,CAAC,EAAM,MAAM,GACxL,EAAM,KAAK,GAAK,IAAM,EAAY,EAAM,OAAU,IAAc,IAAA,IAAW,EAAY,SAAS,CAAE,GAAE,MAAM,GAAK,CAAC,QAAQ,KAAK,EAAM,EAAI,CAAC,EAAC,EAAE,EAAQ,EAAE,AAAE,CAAmJ,SAAgB,EAAkB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,GAAgDC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAc,GAAO,EAAK,6BAAkB,YAAY"}