{"version":3,"file":"shared-lib.KN6_HQLF.mjs","names":[],"sources":["https:/framerusercontent.com/modules/JlkA0gVxN5vhcxkvNxcG/uD6CwjgSJi2IEh8moH7y/siteMetadata.js"],"sourcesContent":["// Generated by Framer (74099f6)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:'<script src=\"https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js\"></script>\\n<script>\\n  /*if (getIsMobile() === true && window.location.pathname.indexOf(\\'totallymoney\\') > -1) {\\n    const urlParams = new URLSearchParams(window.location.search);\\n    const aggregatorUid = urlParams.get(\\'uid\\');\\n    window.location.href = `https://uk.getbits.app/totallymoney?uid=${aggregatorUid}`;\\n  }*/\\n  const urlParams = new URLSearchParams(window.location.search);\\n  const aggregatorUid = urlParams.get(\\'uid\\');\\n  console.log(\"aggregatorUid is\", aggregatorUid);\\n\\n  const refreshOverlay = () => {\\n    const newOverlay = document.createElement(\\'div\\');\\n    newOverlay.id = \\'overlay\\';\\n    newOverlay.classList = overlay.classList;\\n    newOverlay.className = overlay.className;\\n    newOverlay.innerHTML = overlay.innerHTML;\\n    return newOverlay;\\n  };\\n\\n  const observe = () => {\\n    // Select the node that will be observed for mutations\\n    const targetNode = document.getElementById(\\'overlay\\');\\n\\n    // Options for the observer (which mutations to observe)\\n    const config = { attributes: false, childList: true };\\n\\n    // Callback function to execute when mutations are observed\\n    const callback = (mutationsList) => {\\n      const qrcode = document.getElementById(\\'modalqrcode\\');\\n      if (qrcode !== null) {\\n        qrcode.innerHTML = \\'\\';\\n        generate(\\'modalqrcode\\');\\n      }\\n    };\\n\\n    // Create an observer instance linked to the callback function\\n    const observer = new MutationObserver(callback);\\n\\n    // Start observing the target node for configured mutations\\n    observer.observe(targetNode, config);\\n    return observer;\\n  };\\n\\n  const generate = (qrCodeSelector) => {\\n    const aggregatorName = window.location.pathname;\\n//    console.log(\"Aggregator name is\", aggregatorName);\\n    const aggregatorUid = urlParams.get(\\'uid\\');\\n    console.log(\"aggregatorUid is\", aggregatorUid);\\n    let qrCodeUrl = `https://getbits.page.link/?link=https%3A%2F%2Fapi.getbits.app%2Fapps%2Fcardsignup&apn=com.getbits&ibi=com.imagineleap.bits&isi=1458682017&ius=bits-app&ofl=https://www.getbits.app`;\\nswitch (aggregatorName) {\\n  case \\'/clearscore\\': \\n    qrCodeUrl = `https://uk.getbits.app/clearscore?uid=${aggregatorUid}`;\\n  break;\\n  case \\'/totallymoney\\': \\n    qrCodeUrl = `https://uk.getbits.app/totallymoney?uid=${aggregatorUid}`;\\n    break;\\n  case \\'/creditec\\': \\n    qrCodeUrl = `https://uk.getbits.app/creditec?uid=${aggregatorUid}`;\\n    break;\\n  case \\'/creditkarma\\':\\n  qrCodeUrl = `https://uk.getbits.app/creditkarma?uid=${aggregatorUid}`;\\n  break;\\n  case \\'/moneysupermarket\\': \\n    qrCodeUrl = `https://uk.getbits.app/moneysupermarket?uid=${aggregatorUid}`;\\n    break;\\n  case \\'/vanquis\\': \\n    qrCodeUrl = `https://uk.getbits.app/vanquis?uid=${aggregatorUid}`;\\n    break;\\n  case \\'/monevo\\': \\n    qrCodeUrl = `https://uk.getbits.app/monevo?uid=${aggregatorUid}`;\\n    break;\\n  case \\'/tuk\\': \\n    qrCodeUrl = `https://uk.getbits.app/tuk?uid=${aggregatorUid}`;\\n    break;\\n  default:\\n}\\n// console.log(\"qrCodeUrl\", qrCodeUrl);\\nconst qrcode = new QRCode(document.querySelector(`#${qrCodeSelector}`), {\\n      text: qrCodeUrl,\\n      width: 180, //default 128\\n      height: 180,\\n      colorDark: \\'#000000\\',\\n      colorLight: \\'#ffffff\\',\\n      correctLevel: QRCode.CorrectLevel.H,\\n    });\\n  };\\n  let observer;\\n  let newOverlay;\\n  const observeUrlChange = () => {\\n    const body = document.querySelector(\\'body\\');\\n    const observer = new MutationObserver((mutations) => {\\n      if (getIsMobile() === false) {\\n        refreshOverlay();\\n        observe();\\n      }\\n    });\\n    observer.observe(body, { childList: true, subtree: true });\\n  };\\n\\n  observeUrlChange();\\n</script>\\n<div id=\"mc_embed_signup\">\\n    <form action=\"https://app.us20.list-manage.com/subscribe/post?u=aff716e1eea0a2f22b53281f7&amp;id=6ade34b5a4&amp;v_id=1969&amp;f_id=00567de1f0\" method=\"post\" id=\"mc-embedded-subscribe-form\" name=\"mc-embedded-subscribe-form\" class=\"validate\" target=\"_blank\" novalidate=\"\">\\n        <div id=\"mc_embed_signup_scroll\">\\n        <h2>Subscribe</h2>\\n        <div class=\"indicates-required\"><span class=\"asterisk\">*</span> indicates required</div>\\n<div class=\"mc-field-group\">\\n\t<label for=\"mce-EMAIL\">Email Address  <span class=\"asterisk\">*</span>\\n</label>\\n\t<input type=\"email\" value=\"\" name=\"EMAIL\" class=\"required email\" id=\"mce-EMAIL\" required=\"\">\\n\t<span id=\"mce-EMAIL-HELPERTEXT\" class=\"helper_text\"></span>\\n</div>\\n<div id=\"mergeRow-gdpr\" class=\"mergeRow gdpr-mergeRow content__gdprBlock mc-field-group\">\\n    <div class=\"content__gdpr\">\\n        <label>Marketing Permissions</label>\\n        <p>Please select all the ways you would like to hear from Bits:</p>\\n        <fieldset class=\"mc_fieldset gdprRequired mc-field-group\" name=\"interestgroup_field\">\\n\t\t<label class=\"checkbox subfield\" for=\"gdpr_21107\"><input type=\"checkbox\" id=\"gdpr_21107\" name=\"gdpr[21107]\" value=\"Y\" class=\"av-checkbox \"><span>Email</span> </label>\\n        </fieldset>\\n        <p>You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.</p>\\n    </div>\\n    <div class=\"content__gdprLegal\">\\n        <p>We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. <a href=\"https://mailchimp.com/legal/terms\" target=\"_blank\">Learn more about Mailchimp\\'s privacy practices here.</a></p>\\n    </div>\\n</div>\\n<div hidden=\"true\"><input type=\"hidden\" name=\"tags\" value=\"504095,505469\"></div>\\n\t<div id=\"mce-responses\" class=\"clear\">\\n\t\t<div class=\"response\" id=\"mce-error-response\" style=\"display:none\"></div>\\n\t\t<div class=\"response\" id=\"mce-success-response\" style=\"display:none\"></div>\\n\t</div>    <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->\\n    <div style=\"position: absolute; left: -5000px;\" aria-hidden=\"true\"><input type=\"text\" name=\"b_aff716e1eea0a2f22b53281f7_6ade34b5a4\" tabindex=\"-1\" value=\"\"></div>\\n    <div class=\"clear\"><input type=\"submit\" value=\"Subscribe\" name=\"subscribe\" id=\"mc-embedded-subscribe\" class=\"button\"></div>\\n    </div>\\n</form>\\n</div>\\n<script type=\"text/javascript\" src=\"//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js\"></script><script type=\"text/javascript\">(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]=\\'EMAIL\\';ftypes[0]=\\'email\\';fnames[1]=\\'MMERGE1\\';ftypes[1]=\\'date\\';fnames[2]=\\'FNAME\\';ftypes[2]=\\'text\\';fnames[5]=\\'MMERGE5\\';ftypes[5]=\\'text\\';fnames[3]=\\'LNAME\\';ftypes[3]=\\'text\\';fnames[4]=\\'MMERGE4\\';ftypes[4]=\\'text\\';fnames[6]=\\'BALANCE\\';ftypes[6]=\\'number\\';fnames[7]=\\'MMERGE7\\';ftypes[7]=\\'birthday\\';fnames[8]=\\'MMERGE8\\';ftypes[8]=\\'date\\';fnames[9]=\\'TOKEN\\';ftypes[9]=\\'text\\';}(jQuery));var $mcj = jQuery.noConflict(true);</script>\\n<!--End mc_embed_signup-->',customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-K2XZQQ5\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadStart:\"<script>\\n      const getIsMobile = () => {\\n    let isMobile = false;\\n    const userAgent = navigator.userAgent || navigator.vendor || window.opera;\\n    // Windows Phone must come first because its UA also contains \\\"Android\\\"\\n    if (\\n      /windows phone/i.test(userAgent) ||\\n      /android/i.test(userAgent) ||\\n      (/iPhone|iPod|iPad/.test(userAgent) && !window.MSStream)\\n    ) {\\n      isMobile = true;\\n    }\\n    return isMobile;\\n  };\\n\\n</script>\\n<!-- Google Tag Manager -->\\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\\n})(window,document,'script','dataLayer','GTM-K2XZQQ5');</script>\\n<!-- End Google Tag Manager -->\\n<!-- Snap Pixel Code -->\\n<script type=\\\"text/javascript\\\"> (function(e,t,n){if(e.snaptr)return;var a=e.snaptr=function() {a.handleRequest?a.handleRequest.apply(a,arguments):a.queue.push(arguments)}; a.queue=[];var s='script';r=t.createElement(s);r.async=!0; r.src=n;var u=t.getElementsByTagName(s)[0]; u.parentNode.insertBefore(r,u);})(window,document, 'https://sc-static.net/scevent.min.js'); snaptr('init', '4d35525e-64d4-46f0-a98b-7fb045adf18e', { 'user_email': '__INSERT_USER_EMAIL__' }); snaptr('track', 'PAGE_VIEW'); </script> \\n<!-- End Snap Pixel Code -->\\n<!-- Twitter conversion tracking base code -->\\n<script>\\n!function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments);\\n},s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='https://static.ads-twitter.com/uwt.js',\\na=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script');\\ntwq('config','o9hoo');\\n</script>\\n<!-- End Twitter conversion tracking base code -->\\n<!-- Begin Mailchimp Signup Form -->\\n<link href=\\\"//cdn-images.mailchimp.com/embedcode/classic-071822.css\\\" rel=\\\"stylesheet\\\" type=\\\"text/css\\\">\\n<style type=\\\"text/css\\\">\\n\t#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif;  width:600px;}\\n\t/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.\\n\t   We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */\\n</style>\\n<style type=\\\"text/css\\\">\\n\t#mc-embedded-subscribe-form input[type=checkbox]{display: inline; width: auto;margin-right: 10px;}\\n\t#mergeRow-gdpr {margin-top: 20px;}\\n\t#mergeRow-gdpr fieldset label {font-weight: normal;}\\n\t#mc-embedded-subscribe-form .mc_fieldset{border:none;min-height: 0px;padding-bottom:0px;}\\n</style>\\n\\n\\n <style>\\n    body {\\n        -webkit-font-smoothing: antialiased; /* Chrome, Safari */\\n        -moz-osx-font-smoothing: grayscale;  /* Firefox */\\n    }\\n    </style>\",description:\"Bits helps you build credit with Experian, Equifax and TransUnion. No interest, no late fees, and no hard credit check. Sign up online in just a few minutes!\\n\",favicon:\"https://framerusercontent.com/assets/p1oKUvLwXyiVSbvvwzpiIESUk5s.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/MSXS5VyZliywZKdqxYcVVtQ3SAI.png\",title:\"Bits\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAA44N,oBAAoB;;4CAAuP,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAw0F,YAAY;EAAkK,QAAQ,uEAAuE,OAAO,0BAA0B,YAAY,uEAAuE,MAAM,OAAO"}