1(function($){$('.tml').on('submit','form[data-ajax="1"]',function(e){var form=$(this),input=form.find(':input'),submit=form.find(':submit'),container=$(e.delegateTarget),notices=container.find('.tml-alerts');e.preventDefault();notices.empty();input.prop('readonly',!0);submit.prop('disabled',!0);$.ajax({data:form.serialize()+'&ajax=1',method:form.attr('method')||'get',url:form.attr('action')}).always(function(){input.prop('readonly',!1);submit.prop('disabled',!1)}).done(function(response){if(response.success){if(response.data.refresh){location.reload(!0)}else if(response.data.redirect){location.href=response.data.redirect}else if(response.data.notice){notices.hide().html(response.data.notice).fadeIn()}}else{notices.hide().html(response.data.errors).fadeIn()}}).fail(function(jqXHR,textStatus,errorThrown){if(jqXHR.responseJSON.data.errors){notices.hide().html(jqXHR.responseJSON.data.errors).fadeIn()}})})})(jQuery);(function($){$(initFocus);function initFocus(){var userLogin,key;if(!themeMyLogin.action||!themeMyLogin.autofocus){return} 2userLogin=$('#user_login');switch(themeMyLogin.action){case 'activate':key=$('#key');if(key.length){key.focus()} 3break;case 'lostpassword':case 'retrievepassword':case 'register':userLogin.focus();break;case 'resetpass':case 'rp':$('#pass1').focus();break;case 'login':if(-1!=themeMyLogin.errors.indexOf('invalid_username')){userLogin.val('')} 4if(userLogin.val()){$('#user_pass').focus()}else{userLogin.focus()} 5break}}})(jQuery);(function($){function checkPasswordStrength(){var pass1=$('#pass1').val(),result=$('#pass-strength-result'),strength;result.removeClass('short bad good strong empty');if(!pass1||''===pass1.trim()){result.addClass('empty').html(' ');return} 6strength=wp.passwordStrength.meter(pass1,wp.passwordStrength.userInputDisallowedList(),pass1);switch(strength){case-1:result.addClass('bad').html(pwsL10n.unknown);break;case 2:result.addClass('bad').html(pwsL10n.bad);break;case 3:result.addClass('good').html(pwsL10n.good);break;case 4:result.addClass('strong').html(pwsL10n.strong);break;case 5:result.addClass('short').html(pwsL10n.mismatch);break;default:result.addClass('short').html(pwsL10n['short'])}} 7$(document).ready(function(){$('#pass1').val('').on('keyup paste',checkPasswordStrength)})})(jQuery);(function($){var $pass2=$('#pass2');if(!$pass2.length){return} 8$pass2.closest('.tml-field-wrap').hide();$('#pass1').on('input',function(){$pass2.val($(this).val())})})(jQuery);(function($){$('.tml').on('click','.tml-toggle-pwd',function(){var button=$(this),input=button.siblings('input'),isHidden='password'===input.attr('type');input.attr('type',isHidden?'text':'password');button.attr('aria-label',isHidden?themeMyLogin.hidePasswordLabel:themeMyLogin.showPasswordLabel).find('.dashicons').toggleClass('dashicons-hidden',isHidden).toggleClass('dashicons-visibility',!isHidden)})})(jQuery)
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.