jQuery(function(a){a(".woocommerce-ordering").on("change","select.orderby",function(){a(this).closest("form").submit()}),a("input.qty:not(.product-quantity input.qty)").each(function(){varb=parseFloat(a(this).attr("min"));b>=0&&parseFloat(a(this).val())<b&&a(this).val(b)})});functioncheckPasswordStrength(s,a,r){vart=jQuery("#password_1").val();a.removeClass("short bad good strong"),r=r.concat(wp.passwordStrength.userInputBlacklist());vare=wp.passwordStrength.meter(t,r);switch(e){case2:a.addClass("bad").html(pwsL10n.bad);break;case3:a.addClass("good").html(pwsL10n.good);break;case4:a.addClass("strong").html(pwsL10n.strong);break;case5:a.addClass("short").html(pwsL10n.mismatch);break;default:a.addClass("short").html(pwsL10n.short)}returne}jQuery(document).ready(function(){jQuery("#password_1").keyup(function(){checkPasswordStrength(jQuery("input[name=password_1]"),jQuery("#pass-strength-result"),["black","listed","word"]);vars=jQuery("#password_1").val().length;0>=s?jQuery("#pass-strength-result").css("display","none"):jQuery("#pass-strength-result").css("display","block")})});