{"version":3,"file":"SMP3IRbFG.DXj3ifYT.mjs","names":[],"sources":["https:/framerusercontent.com/modules/pwTtwLuVGoqSABawqHyN/vb9p9S2DCAblAQHLbWng/SMP3IRbFG.js"],"sourcesContent":["// Generated by Framer (f712822)\nconst toString=value=>{return typeof value===\"string\"?value:String(value);};const toImageSrc=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value.src;}return typeof value===\"string\"?value:undefined;};export default function metadata(params,activeLocale){const D6d2PjEj5=params?.D6d2PjEj5;const WGJfgft11=params?.WGJfgft11;const KouC425NB=params?.KouC425NB;return{breakpoints:[{hash:\"mb552g\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"1wdq4x0\",mediaQuery:\"(min-width: 810px) and (max-width: 1199px)\"},{hash:\"1n8v2vv\",mediaQuery:\"(max-width: 809px)\"}],customHTMLBodyEnd:\"<script type=\\\"text/javascript\\\">\\n  (function() {\\n    var t = document.createElement('script'),\\n        s = document.getElementsByTagName('script')[0];\\n    t.async = true;\\n    t.id    = 'cio-forms-handler';\\n    t.setAttribute('data-site-id', '0a9163cf7ca5fecf56ed');\\n    t.setAttribute('data-base-url', 'https://customerioforms.com');\\n\\n    t.src = 'https://customerioforms.com/assets/forms.js';\\n\\n    s.parentNode.insertBefore(t, s);\\n  })();\\n  window.onload = function() {\\n    document.getElementById('cioCTA').addEventListener('click', () => {\\n        const input = document.getElementById('cioInput');\\n        if (!input.value) {\\n          return;\\n        }\\n        window.dataLayer = window.dataLayer || [];\\n        window.dataLayer.push({\\n         'event': 'lead_magnet_form_submit',\\n         'user_email': input.value\\n      });\\n    });\\n  }\\n</script>\",customHTMLBodyStart:\"<script>\\nwindow.onload = function() {\\n  myFunction();\\n  setupCTA();\\n};\\n\\nfunction myFunction() {\\n  var str = document.getElementById(\\\"content\\\").innerHTML;\\n  var n = str.match(/(\\\\w+)/g).length;\\n  var x = n / 515;\\n  var y = x.toFixed(0);\\n  document.getElementById(\\\"b-readtime\\\").innerHTML = y + ' min read time';\\n}\\n\\nfunction setupCTA() {\\n\tif (`{{download-cta-item}}`.length) {\\n  \tdocument.getElementById('email-form').name = '{{wf {slug}}';\\n  \tconst formId = '{{download-cta-item:campaign-id}}';\\n  \tconst input = document.getElementById('cioInput');\\n    const inputName = '{{download-cta-item:slug}}-email';\\n    input.name = inputName;\\n\t\tdocument.getElementById('cioCTA').addEventListener('click', () => {\\n    if (!input.value.length) return;\\n    const authorization = 'Basic MGE5MTYzY2Y3Y2E1ZmVjZjU2ZWQ6NjE1NGFkMGMzZGUxMDgzNTYwMTA=';\\n    const headers = {\\n      'Authorization': authorization,\\n      'Content-Type': 'application/json'\\n    };\\n    \\n    const data = {};\\n    data[inputName] = input.value;\\n\\n\t\tfetch(`https://track.customer.io/api/v1/forms/${formId}/submit`, {\\n        method: 'POST',\\n        headers: headers,\\n        body: JSON.stringify({\\n\t\t\t\t\tdata,\\n        })\\n      });\\n      document.getElementById('form-area').innerHTML = `<p class=\\\"downloadable-text\\\" style=\\\"text-align: center; min-width: 250px;\\\">Success! Check your email.`;\\n\t\t});\\n  }\\n}\\n\\n</script>\",customHTMLHeadEnd:'<script type=\"text/javascript\" src=\"https://platform-api.sharethis.com/js/sharethis.js#property=630cc884560f0d00125e7411&amp;product=inline-share-buttons\" async=\"async\"></script>\\n\\n<!-- Force width of images in the post body -->\\n<style>.framer-image.framer-text {\\n\\n      width: 100% !important;\\n\\n}</style>',description:`${WGJfgft11!==undefined?toString(WGJfgft11):\"{{WGJfgft11}}\"}`,elements:{AoddB_4MX:\"post-body\",dO7E6X5yf:\"post-body-4\",ePGDJ0xIn:\"post-body-3\",IW5l93dCv:\"post-body-1\",k20yMGusU:\"post-body-2\",mVH5eXnbM:\"post-body-8\",Sa115fyBs:\"post-body-6\",vRVs6XoO8:\"post-body-5\",zCUsKdS8K:\"post-body-7\"},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-kqKEN\",socialImage:toImageSrc(KouC425NB),title:`${D6d2PjEj5!==undefined?toString(D6d2PjEj5):\"{{D6d2PjEj5}}\"}`,viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DAC+O,SAAwB,EAAS,EAAO,EAAa,CAAC,IAAM,EAAU,GAAQ,UAAgB,EAAU,GAAQ,UAAgB,EAAU,GAAQ,UAAU,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,SAAS,WAAW,qBAAsB,EAAC,CAAC,KAAK,UAAU,WAAW,4CAA6C,EAAC,CAAC,KAAK,UAAU,WAAW,oBAAqB,CAAC,EAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;WAAk3B,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAA64C,kBAAkB;;;;;;;WAA0T,eAAe,QAAA,GAA0C,gBAApB,EAAS,EAAU,GAAmB,SAAS,CAAC,UAAU,YAAY,UAAU,cAAc,UAAU,cAAc,UAAU,cAAc,UAAU,cAAc,UAAU,cAAc,UAAU,cAAc,UAAU,cAAc,UAAU,aAAc,EAAC,aAAa,CAAC,OAAM,CAAK,EAAC,OAAO,0BAA0B,gBAAgB,eAAe,YAAY,EAAW,EAAU,CAAC,SAAS,QAAA,GAA0C,gBAApB,EAAS,EAAU,GAAmB,SAAS,oBAAqB,CAAE,sBAC5rH,AADP,EAAS,UAAsB,GAAQ,SAAS,EAAM,OAAO,EAAM,CAAS,EAAW,UAAkB,GAAQ,UAAU,UAAqB,EAAM,KAAM,SAAiB,EAAM,WAAmB,GAAQ,SAAS,MAAA,GAAy/G,EAAgB,EACztH,EAAqB,CAAC,QAAU,CAAC,gBAAkB,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,GAAI,CAAC,EAAC,QAAU,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,GAAI,CAAC,EAAC,mBAAqB,CAAC,KAAO,UAAW,CAAC,CAAC"}