{"version":3,"file":"Lazyloading.JsDbI33A.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/oMe46wmZS2te4OJ9w9PC/b5NmAI5QlgDOmVdCoIn3/Lazyloading.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export function withLazyImage(Component){return props=>{const ref=useRef(null);useEffect(()=>{const img=ref.current?.querySelector(\"img\");if(!img)return;img.loading=\"lazy\";img.decoding=\"async\";img.fetchPriority=\"low\";},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withLazyImage\":{\"type\":\"reactHoc\",\"name\":\"withLazyImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Lazyloading.map"],"mappings":"yHAA+E,SAAgB,EAAc,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAIA,EAAO,KAAK,CAAiJ,OAAhJ,MAAc,CAAC,IAAM,EAAI,EAAI,SAAS,cAAc,MAAM,CAAK,IAAW,EAAI,QAAQ,OAAO,EAAI,SAAS,QAAQ,EAAI,cAAc,QAAQ,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAU,MAAI,CAAC,mBAAzT,IAAoC"}