e     };     gapi.auth.authorize(options, handleAuthResult); }  function handleAuthResult(authResult) {     var authorizeButton = document.getElementById('authorize-button');      if (authResult && !authResult.error) {         authorizeButton.style.visibility = 'hidden';         makeApiCall();     } else {         authorizeButton.style.visibility = '';         authorizeButton.onclick = handleAuthClick;     } }  function handleAuthClick(event) {     var options = {         client_id: CLIENT_ID,         scope: SCOPES,         immediate: 