{"version":3,"file":"MetaPixel.C_li4qeL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/6Xv2kAznxjiq3ktbUWya/ecosPW6JljEzNP5gIHkZ/MetaPixel.js"],"sourcesContent":["// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function PixelFramer(props){const{tint}=props;useEffect(()=>{// Meta Pixel Code - exactly as provided by Facebook\nconst pixelCode=`\n            !function(f,b,e,v,n,t,s)\n            {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n            n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n            n.queue=[];t=b.createElement(e);t.async=!0;\n            t.src=v;s=b.getElementsByTagName(e)[0];\n            s.parentNode.insertBefore(t,s)}(window, document,'script',\n            'https://connect.facebook.net/en_US/fbevents.js');\n            fbq('init', '1317104258725803');\n            fbq('track', 'PageView');\n        `;// Create script element and execute\nconst script=document.createElement(\"script\");script.text=pixelCode;document.head.appendChild(script);// Cleanup function\nreturn()=>{// Remove script when component unmounts\nif(script.parentNode){script.parentNode.removeChild(script);}};},[]);return /*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(\"noscript\",{children:/*#__PURE__*/_jsx(\"img\",{height:\"1\",width:\"1\",style:{display:\"none\"},src:\"https://www.facebook.com/tr?id=1317104258725803&ev=PageView&noscript=1\",alt:\"\"})})});}addPropertyControls(PixelFramer,{tint:{title:\"Tint\",type:ControlType.Color,defaultValue:\"#09F\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PixelFramer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MetaPixel.map"],"mappings":"kQAIG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,OAAK,CAAC,EAeW,MAfL,GAAU,IAAI,CAC9E,IAAM,EAAA;;;;;;;;;;;UAYA,EAAO,SAAS,cAAc,SAAS,CAC7C,OAD8C,EAAO,KAAK,EAAU,SAAS,KAAK,YAAY,EAAO,CAC/F,IAAI,CACV,AAAG,EAAO,YAAY,EAAO,WAAW,YAAY,EAAO,AAAG,CAAE,EAAC,CAAE,EAAC,CAAqB,EAAK,MAAM,CAAC,SAAsB,EAAK,WAAW,CAAC,SAAsB,EAAK,MAAM,CAAC,OAAO,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,MAAO,EAAC,IAAI,yEAAyE,IAAI,EAAG,EAAC,AAAC,EAAC,AAAC,EAAC,AAAE,cAAA,AAlBrT,GAA2C,IAAoD,IAA6B,CAkByL,EAAoB,EAAY,CAAC,KAAK,CAAC,MAAM,OAAO,KAAK,EAAY,MAAM,aAAa,MAAO,CAAC,EAAC"}