{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/cjSbQDr02zceoc7OyOqF/bse2G57EYMfsh7zMpleD/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 (dataLayer) {\\n        dataLayer.push({ event: userCredential?.additionalUserInfo?.isNewUser ? 'Signup' : 'Login', userId: user.uid})\\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          location.href = 'https://i.hints.so/?jwtToken=' + response.result;\\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  description: \"Revolutionize your workflow with AI assistant: automate your manual work in popular services, save you time, and empower creativity, using WhatsApp, Telegram, Slack, Email and SMS\",\n  favicon: new URL(\"https://framerusercontent.com/images/9tl0tg8A30FTKsGEdWBdQjpbLM.png\").href,\n  socialImage: new URL(\"https://framerusercontent.com/images/f11oS8wX7UaIndn9Vp7KETndiqM.png\").href,\n  title: \"Hints AI Assistant | Save time and boost productivity\"\n});\nexport default metadata;\nexport const metadataVersion = 1;\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"default\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"metadataVersion\": {\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,YACnB,oBAAqB;AAAA;AAAA,iCACrB,oBAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCACrB,YAAa,sLACb,QAAS,IAAI,IAAI,qEAAqE,EAAE,KACxF,YAAa,IAAI,IAAI,sEAAsE,EAAE,KAC7F,MAAO,uDACT,GACOC,EAAQF",
  "names": ["metadata", "params", "siteMetadata_default"]
}
