!function(r,a,t,e){r.fn.quicksearch=function(e,t){var s,o,u,n,h="",i=this,l=r.extend({delay:100,selector:null,stripeRows:null,loader:null,noResults:"",matchedResultsCount:0,bind:"keyup",onBefore:function(){},onAfter:function(){},show:function(){this.style.display=""},hide:function(){this.style.display="none"},prepareQuery:function(t){return t.toLowerCase().split(" ")},testQuery:function(t,e,s){for(var n=0;n","g"),"");return e=r.trim(e.toLowerCase())},this.results=function(t){return"string"==typeof l.noResults&&""!==l.noResults&&(t?r(l.noResults).hide():r(l.noResults).show()),this},this.loader=function(t){return"string"==typeof l.loader&&""!==l.loader&&(t?r(l.loader).show():r(l.loader).hide()),this},this.cache=function(){n=r(e),"string"==typeof l.noResults&&""!==l.noResults&&(n=n.not(l.noResults));var t="string"==typeof l.selector?n.find(l.selector):r(e).not(l.noResults);return o=t.map(function(){return i.strip_html(this.innerHTML)}),u=n.map(function(){return this}),h=h||this.val()||"",this.go()},this.trigger=function(){return this.loader(!0),l.onBefore(),a.clearTimeout(s),s=a.setTimeout(function(){i.go()},l.delay),this},this.cache(),this.results(!0),this.stripe(),this.loader(!1),this.each(function(){r(this).on(l.bind,function(){h=r(this).val(),i.trigger()})})}}(jQuery,this,document);