- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2 lines
1.9 KiB
JavaScript
Executable File
2 lines
1.9 KiB
JavaScript
Executable File
(function(){"use strict";var n={};(function(){n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})}})(),function(){n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}();var a={};n.d(a,{default:function(){return d}});var c=Object(window.WPD).AjaxSearchPro,s=Object(window.WPD).DoMini;c.plugin.showVerticalResults=function(){let t=this;if(t.showResultsBox(),t.n("items").length>0){let e=t.n("items").length<t.o.itemscount?t.n("items").length:t.o.itemscount;e=e<=0?9999:e;let o=s(".asp_group_header",t.n("resultsDiv"));if(t.o.itemscount===0||t.n("items").length<=t.o.itemscount)t.n("results").css({height:"auto"});else if(t.call_num<1&&t.n("results").css({height:"30px"}),t.call_num<1){let i=0,r=0,l=0,u=0;t.n("items").forEach(function(){r+=s(this).outerHeight(!0),s(this).outerHeight(!0)>u&&(u=s(this).outerHeight(!0)),i++}),l=u*e,l>r&&(l=r),i=i<1?1:i,r=r/i*e,o.length>0&&o.forEach(function(h,p){let f=Array.prototype.slice.call(h.parentNode.children).indexOf(h);f-p-Math.floor(f/3)<e&&(l+=s(this).outerHeight(!0))}),t.n("results").css({height:l+"px"})}t.n("items").last().addClass("asp_last_item"),t.n("results").find(".asp_group_header").prev(".item").addClass("asp_last_item"),t.keywordHighlight()}if(t.resize(),t.n("items").length===0&&t.n("results").css({height:"auto"}),t.call_num<1&&(t.n("results").get(0).scrollTop=0),t.o.preventBodyScroll){let e,o=s("body"),i=o.css("overflow"),r=typeof o.attr("style")>"u";t.n("results").off("touchstart"),t.n("results").off("touchend"),t.n("results").on("touchstart",function(){clearTimeout(e),s("body").css("overflow","hidden")}).on("touchend",function(){clearTimeout(e),e=setTimeout(function(){r?s("body").removeAttr("style"):s("body").css("overflow",i)},300)})}t.addAnimation(),t.fixResultsPosition(!0),t.searching=!1};var _=null,d=c;Object(window.WPD).AjaxSearchPro=a.default})();
|