(function(a){a.fn.extend(window.WPD.ajaxsearchpro.plugin,{showVerticalResults:function(){this.showResultsBox();if(0=b?9999:b;var e=a(".asp_group_header",this.n.resultsDiv);if(0==this.o.itemscount||this.n.items.length<=this.o.itemscount)this.n.results.css({height:"auto"});else if(1>this.call_num&&this.n.results.css({height:"30px"}),1>this.call_num){let c=0,d=0,f=0,h=0;this.n.items.each(function(){d+= a(this).outerHeight(!0);a(this).outerHeight(!0)>h&&(h=a(this).outerHeight(!0));c++});f=h*b;f>d&&(f=d);c=1>c?1:c;d=d/c*b;0this.call_num&&((this.is_scroll&&"undefined"!==typeof this.scroll.recalculate?a(this.scroll.getScrollElement()):this.n.results).get(0).scrollTop=0);if(this.o.preventBodyScroll){let b;e=a("body");let c=e.css("overflow"),d="undefined"===typeof e.attr("style");this.n.results.off("touchstart");this.n.results.off("touchend"); this.n.results.on("touchstart",function(){clearTimeout(b);a("body").css("overflow","hidden")}).on("touchend",function(){clearTimeout(b);b=setTimeout(function(){d?a("body").removeAttr("style"):a("body").css("overflow",c)},300)})}this.addAnimation();this.fixResultsPosition(!0);this.searching=!1}})})(WPD.dom);