1jQuery(function($){$('#load-more-products').on('click',function(){var button=$(this),page=button.data('page'),totalPages=button.data('total-pages'),category=button.data('category'),perPage=button.data('per-page'),displayedIds=[];$('.products .product .button').each(function(){displayedIds.push($(this).data('product_id'))});if(page<totalPages){$.ajax({url:load_more_params.ajax_url,type:'POST',data:{action:'load_more_products',page:page,category:category,per_page:perPage,exclude_ids:displayedIds,},beforeSend:function(){button.text('Loading...')},success:function(data){$('.product-list-shop').append(data);button.text('Load More').data('page',page+1);if(page+1>=totalPages){button.remove()}},})}})})
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.