1jQuery(document).ready(function($){var page=2;$('#load-more').on('click',function(){var button=$(this);var urlParams=new URLSearchParams(window.location.search);var data={action:'load_more_events',termId:loadMoreTermId,catSlug:loadMoreCatSlug,page:page,nonce:load_more_params.nonce};urlParams.forEach(function(value,key){data[key]=value;});$.ajax({url:load_more_params.ajaxurl,type:'post',data:data,beforeSend:function(){button.text('Loading...');},success:function(response){if(response.success){$('.tribe-events-loop').append(response.data.events);button.text('Load More');page++;if(!response.data.events.trim()||page>response.data.max_num_pages){button.text('No more events').prop('disabled',true).hide();}}else{button.text('No more events');button.prop('disabled',true).hide();}},error:function(xhr,status,error){console.error('AJAX Error:',status,error);button.text('Load More');alert('An error occurred while loading more events.');}});});});
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.