{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/cjSbQDr02zceoc7OyOqF/7q0ZCuwUWUGRvNhh9XHm/siteMetadata.js"],
  "sourcesContent": ["const metadata = params => ({\n  customHTMLBodyEnd: \"<script src=\\\"https://www.gstatic.com/firebasejs/8.10.1/firebase-app.js\\\"></script>\\n<script src=\\\"https://www.gstatic.com/firebasejs/8.10.1/firebase-auth.js\\\"></script>\\n\\n<script>\\n  (function(history){\\n    var pushState = history.pushState;\\n    history.pushState = function(state) {\\n        if (typeof history.onpushstate == \\\"function\\\") {\\n            history.onpushstate({state: state});\\n        }\\n        return pushState.apply(history, arguments);\\n    };\\n  })(window.history);\\n  (function() {\\n    var firebaseConfig = {\\n      apiKey: 'AIzaSyCcp8pZoqG2Ihe4uyeEFKqPIkNtqf6iuaw',\\n      authDomain: 'slipbox-6f705.firebaseapp.com',\\n      databaseURL:\\n        'https://slipbox-6f705-default-rtdb.europe-west1.firebasedatabase.app',\\n      projectId: 'slipbox-6f705',\\n      storageBucket: 'slipbox-6f705.appspot.com',\\n      messagingSenderId: '643347675469',\\n      appId: '1:643347675469:web:1ef2238172221380b35f04',\\n      measurementId: 'G-6FGRVTCHJS',\\n    };\\n    var app = firebase.initializeApp(firebaseConfig);\\n    var auth = firebase.auth(app);\\n    var provider = new firebase.auth.GoogleAuthProvider();\\n    provider.addScope('https://www.googleapis.com/auth/userinfo.profile');\\n    window.onpopstate = history.onpushstate = function(event) {\\n      console.log(event);\\n      handleButtonClick();\\n    };\\n    // window.addEventListener('popstate', );\\n    handleButtonClick();\\n\\n    function handleButtonClick() {\\n      setTimeout(() => {\\n        console.log(0);\\n        if (location.href.indexOf('/signup') !== -1) {\\n          gaWaitUntilExists('#signup-google', function(element) {\\n            console.log(2, element);\\n            element.addEventListener('click', handleGoogleAuthButtonClick);\\n          });\\n        }\\n        if (location.href.indexOf('/login') !== -1) {\\n          gaWaitUntilExists('#login-google', function(element) {\\n            console.log(2, element);\\n            element.addEventListener('click', handleGoogleAuthButtonClick);\\n          });\\n        }\\n      }, 200);\\n    }\\n\\n    function gaWaitUntilExists(selector, cb) {\\n      var gaWaitUntilExistsInterval = setInterval(function() {\\n        var element = document.querySelector(selector);\\n        console.log(1, element);\\n        if (element) {\\n          clearInterval(gaWaitUntilExistsInterval);\\n          cb(element);\\n        }\\n      }, 200);\\n    }\\n\\n    function handleGoogleAuthButtonClick(event) {\\n      console.log(2);\\n      event.preventDefault();\\n      console.log(3, provider);\\n      auth.signInWithPopup(provider)\\n        .then(performGoogleAuth)\\n        .catch(function(e) {\\n          console.error(e)\\n        });\\n    }\\n\\n    function performGoogleAuth(userCredential) {\\n      var user = userCredential.user;\\n      if (amplitude) {\\n        try {\\n          amplitude.setUserId(user.uid);\\n          amplitude.track(userCredential?.additionalUserInfo?.isNewUser ? 'Signup' : 'Login', { auth_with: 'google' });\\n        } catch (e) {\\n          console.error(e)\\n        }\\n      }\\n\\n      fetch(\\n        'https://europe-west3-slipbox-6f705.cloudfunctions.net/getCustomToken',\\n        {\\n          method: 'POST',\\n          headers: {\\n            'Content-Type': 'application/json',\\n            Authorization: `Bearer ${auth.currentUser.Aa}`, // idToken\\n          },\\n          body: JSON.stringify({ data: {} }),\\n        }\\n      )\\n        .then(function(response) {\\n          if (response.ok) {\\n            return response.json();\\n          }\\n        })\\n        .catch(function() {})\\n        .then(function(response) {\\n          setTimeout(() => {\\n          location.href = 'https://i.hints.so/?jwtToken=' + response.result;\\n          }, 500);\\n        });\\n    }\\n\\n  })();\\n</script>\",\n  customHTMLBodyStart: '<!-- Google Tag Manager -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-N4WT29G\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager -->',\n  customHTMLHeadStart: \"<!-- 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-N4WT29G');</script>\\n<!-- End Google Tag Manager -->\\n<script async=\\\"\\\" src=\\\"https://cdn.tolt.io/tolt.js\\\" data-tolt=\\\"912e421e-ed55-4728-bfe3-a15f481db9f0\\\"></script>\",\n  description: \"Experience the game-changing effect of AI in sales with Sales Assistant bot. Auto-update your CRM by sending text and voice via WhatsApp or SMS. Use ai auto sales to enhance your sales force AI, thereby uplifting your sales performance.\",\n  favicon: new URL(\"https://framerusercontent.com/images/9tl0tg8A30FTKsGEdWBdQjpbLM.png\").href,\n  socialImage: new URL(\"https://framerusercontent.com/images/s1AtUSGMDji7Rsm3Qz7EC56NxPc.png\").href,\n  title: \"Hints Sales AI Assistant | Hints AI\"\n});\nexport default metadata;\nexport const metadataVersion = 1;\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"metadataVersion\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"default\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};"],
  "mappings": "AAAA,IAAMA,EAAWC,IAAW,CAC1B,kBAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YACnB,oBAAqB;AAAA;AAAA,iCACrB,oBAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gHACrB,YAAa,+OACb,QAAS,IAAI,IAAI,qEAAqE,EAAE,KACxF,YAAa,IAAI,IAAI,sEAAsE,EAAE,KAC7F,MAAO,qCACT,GACOC,EAAQF",
  "names": ["metadata", "params", "siteMetadata_default"]
}
