{}); video.onloadedmetadata = () => {}; video.onended = () => { window.location.href = 'https://m.gaanagpt.com/intent'; }; } else { // Desktop: play intro then redirect overlay.style.display = 'block'; const skipBtn = document.getElementById('skipIntroBtn'); if (skipBtn) skipBtn.style.display = 'inline-block'; video.src = 'https://m.gaanagpt.com/ix.mp4'; video.muted = false; video.currentTime = 0; const p2 = video.play(); if (p2 && typeof p2.catch === 'function') p2.catch(() => {}); video.onloadedmetadata = () => {}; video.onended = () => { window.location.href = 'https://m.gaanagpt.com/intent'; }; } } function checkPassword() { const allowedPassword = "Opened1233"; const input = document.getElementById("passwordInput").value; if (input === allowedPassword) { document.getElementById("passwordOverlay").style.display = "none"; postLoginRedirect(); } else { alert("This access key is incorrect or has expired! Kindly ask the admin for a valid access key!"); } } document.addEventListener("DOMContentLoaded", () => { const msg = document.getElementById("overlayMessage"); const input = document.getElementById("passwordInput"); const button = document.getElementById("submitButton"); msg.textContent = "This service finds itself in its beta testing and is restricted to a closed user group only. Please enter the provided password to continue.."; input.style.display = "block"; button.style.display = "inline-block"; });
SKIP INTRO