{"version":3,"file":"Blog_Content_Code_Override.DfERBeLm.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Ie8WDtdNZATjwUev7DSM/OSy6vvLRduuRG60G0OeJ/Blog_Content_Code_Override.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function applyLeadMagnet(Component){return props=>{useEffect(()=>{const styleElement=document.createElement(\"style\");styleElement.innerHTML=`\n                [data-framer-name=\"Blog Content\"] .framer-image {\n                width: 100% !important;\n                }\n\n                [data-framer-name=\"Visibility Hidden\"] {\n                display: none !important;\n                }\n            `;const head=document.querySelector(\"head\");if(head){head.appendChild(styleElement);}const contentElements=document.querySelectorAll('[data-framer-name=\"Blog Content\"] [data-framer-name=\"Content\"]');contentElements.forEach(contentElement=>{Array.from(contentElement.children).forEach(child=>{if(child.textContent.includes(\"//optinform-embed//\")){const leadMagnet=document.querySelector('[data-framer-name=\"Lead Magnet Wrap\"]');if(leadMagnet){child.innerHTML=\"\";child.appendChild(leadMagnet);}}});});},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"applyLeadMagnet\":{\"type\":\"reactHoc\",\"name\":\"applyLeadMagnet\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Blog_Content_Code_Override.map"],"mappings":"qKACmD,SAAgB,EAAgB,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,IAAM,EAAa,SAAS,cAAc,OAAO,EAAE,EAAa,UAAU;;;;;;;;cAQxL,IAAM,EAAK,SAAS,cAAc,MAAM,EAAK,GAAM,EAAK,YAAY,CAAY,EAAqH,SAAnF,iBAAiB,gEAAgF,CAAC,CAAC,QAAQ,GAAgB,CAAC,MAAM,KAAK,EAAe,QAAQ,CAAC,CAAC,QAAQ,GAAO,CAAC,GAAG,EAAM,YAAY,SAAS,qBAAqB,EAAE,CAAC,IAAM,EAAW,SAAS,cAAc,uCAAuC,EAAK,IAAY,EAAM,UAAU,GAAG,EAAM,YAAY,CAAU,EAAG,CAAC,CAAC,CAAE,CAAC,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,EAAI,iBAT5gB,IAA6B,IAAqE,EAC7H,EAAY,CAAC,WAAW,SAAS,CAAC"}