/* * XenForo login_signup.min.js * Copyright 2010-2018 XenForo Ltd. * Released under the XenForo License Agreement: https://xenforo.com/license-agreement */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,d,b){a instanceof String&&(a=String(a));for(var e=a.length,c=0;c=this.timeLeft)&&this.$timerNum.length){this.timerInterval&&clearInterval(this.timerInterval);var a=this,b=this.$timerNum;this.timerInterval=setInterval(function(){a.timeLeft--;0>=a.timeLeft?(a.$submit.text(a.$timerEl.data("timer-complete")),clearInterval(a.timerInterval)):b.text(a.timeLeft);a.updateSubmitState()},1E3)}},updateSubmitState:function(){var a=0>=this.timeLeft,b=!this.$disabler||this.$disabler.prop("checked"); this.$submit.prop("disabled",!a||!b)}});XF.Element.register("auto-timezone","XF.AutoTimeZone");XF.Element.register("login-form","XF.LoginForm");XF.Element.register("reg-form","XF.RegForm")}(jQuery,window,document);