 0) {
                            clearInterval(intervalId);
                            window.location.href = result.redirectUrl;
                        } else {
                            countdownElement.textContent = countdown;
                        }
                    }, 1000);
                    timeUnitElement.textContent = t.timeUnit;

                } else {
                    if (result.errMsg) {
                        alert(result.errMsg);
                    } else {
                 