{"version":3,"file":"FullWidthImageCMS.PCLWORK9.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/0CV17EKwajoaX9olFsPD/NCWz0JRCNrFuUTMcuCpq/FullWidthImageCMS.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export function withResponsiveFramerImageAndLinks(Component){return props=>{const ref=useRef(null);useEffect(()=>{if(ref.current){// Update all images\nconst images=ref.current.querySelectorAll(\".framer-image\");images.forEach(img=>{img.style.display=\"block\";img.style.marginLeft=\"auto\";img.style.marginRight=\"auto\";img.style.width=\"100%\"// Full width\n;img.style.height=\"auto\"// Maintain aspect ratio\n;img.style.objectFit=\"cover\"// Maintain aspect ratio, allow cropping\n;img.style.borderRadius=\"10px\"// Add border radius\n;});// Update all links\nconst links=ref.current.querySelectorAll(\"a\");links.forEach(link=>{link.style.color=\"#7322C6\"// Change text color\n;link.style.textDecoration=\"underline\"// Underline the text\n;});}},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withResponsiveFramerImageAndLinks\":{\"type\":\"reactHoc\",\"name\":\"withResponsiveFramerImageAndLinks\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FullWidthImageCMS.map"],"mappings":"yHAA+E,SAAgB,EAAkC,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAIA,EAAO,KAAK,CAQtK,OARuK,MAAc,CAAI,EAAI,UAC3L,EAAI,QAAQ,iBAAiB,gBAAgB,CAAQ,QAAQ,GAAK,CAAC,EAAI,MAAM,QAAQ,QAAQ,EAAI,MAAM,WAAW,OAAO,EAAI,MAAM,YAAY,OAAO,EAAI,MAAM,MAAM,OAClL,EAAI,MAAM,OAAO,OACjB,EAAI,MAAM,UAAU,QACpB,EAAI,MAAM,aAAa,QACrB,CACS,EAAI,QAAQ,iBAAiB,IAAI,CAAO,QAAQ,GAAM,CAAC,EAAK,MAAM,MAAM,UACnF,EAAK,MAAM,eAAe,aACxB,GAAI,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAU,MAAI,CAAC,mBARtB,IAAoC"}