{"version":3,"file":"Blog_Content_Code_Override.o8AOLobu.mjs","names":["__esmMin","init_npm_react_18_3_1","ce","init_jsx_runtime","c","createStore","init_store_js__1_0","applyLeadMagnet","styleElement","head","contentElement","child","leadMagnet","Component","props","init_Blog_Content_Code_Override"],"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":"A,qKACmD,SAAgBO,EAAgB,EAAU,CAAC,MAAO,KAAQL,MAAc,CAAC,IAAMM,EAAa,SAAS,cAAc,OAAO,EAAE,EAAa,UAAU;;;;;;;;cAQxL,IAAMC,EAAK,SAAS,cAAc,MAAM,EAAKA,GAAMA,EAAK,YAAYD,CAAY,EAAqH,SAAnF,iBAAiB,gEAAgF,CAAC,CAAC,QAAQ,GAAgB,CAAC,MAAM,KAAKE,EAAe,QAAQ,CAAC,CAAC,QAAQ,GAAO,CAAC,GAAGC,EAAM,YAAY,SAAS,qBAAqB,EAAE,CAAC,IAAMC,EAAW,SAAS,cAAc,uCAAuC,EAAKA,IAAY,EAAM,UAAU,GAAGD,EAAM,YAAYC,CAAU,EAAG,CAAC,CAAC,CAAE,CAAC,CAAE,EAAE,CAAC,CAAC,EAAsB,gBAAKC,EAAU,CAAC,GAAGC,CAAK,CAAC,EAAI,C,0CARviBT,EAAY,CAAC,WAAW,SAAS,CAAC,C"}