PageSourceSearch

https://britishrendezvous.com/wp-content/themes/vilva-pro/js/ajax.min.js?ver=2.3.4

js britishrendezvous.com collected 2026-10-10 01:03:23 UTC 3,619 bytes, 2 lines download raw bytes

1/*! vilva-pro 2.3.4 2025-07-25 10:39:57 AM */
2jQuery.fn.isOnScreen=function(){var a=jQuery(window),i={top:a.scrollTop(),left:a.scrollLeft()},a=(i.right=i.left+a.width(),i.bottom=i.top+a.height(),this.offset());return a.right=a.left+this.outerWidth(),a.bottom=a.top+this.outerHeight(),!(i.right<a.left||i.left>a.right||i.bottom<a.top||i.top>a.bottom)},jQuery(document).ready(function(t){var i,l,e,a,o,n;"undefined"!=typeof vilva_pro_ajax&&(i=parseInt(vilva_pro_ajax.startPage)+1,l=parseInt(vilva_pro_ajax.maxPages),e=vilva_pro_ajax.nextLink,"load_more"==(a=vilva_pro_ajax.autoLoad)?(0<t(".blog").length||0<t(".search").length||0<t(".archive").length)&&(t(".pagination").before('<div class="pagination_holder" style="display: none;"></div>').after('<div id="load-posts"><a href="javascript:void(0);"><i class="fas fa-sync-alt"></i>'+vilva_pro_ajax.loadmore+"</a></div>"),i==l+1&&t("#load-posts a").html('<i class="fas fa-ban"></i>'+vilva_pro_ajax.nomore).addClass("disabled"),t("#load-posts a").on("click",function(){return i<=l&&!t(this).hasClass("loading")&&(t(this).html('<i class="fas fa-sync-alt fa-spinner"></i>'+vilva_pro_ajax.loading).addClass("loading"),t(".pagination_holder").load(e+" .latest_post",function(){i++;e=e.replace(/(\/?)page(\/|d=)[0-9]+/,"$1page$2"+i);var a=t(".pagination_holder").html();t(".pagination_holder").html(""),t(".site-main article:last").after(a),t(".site-main").find(".entry-content").find("div").hasClass("tiled-gallery")&&t.getScript(vilva_pro_ajax.plugin_url+"/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery.js"),(i<=l?t("#load-posts a").html('<i class="fas fa-sync-alt"></i>'+vilva_pro_ajax.loadmore):t("#load-posts a").html('<i class="fas fa-ban"></i>'+vilva_pro_ajax.nomore).addClass("disabled")).removeClass("loading")})),!1}),t(".pagination").remove()):"infinite_scroll"==a&&(t(".pagination").before('<div class="pagination_holder" style="display: none;"></div>'),n=o=!1,(0<t(".blog").length||0<t(".search").length||0<t(".archive").length)&&t(window).on("scroll",function(){o||n||t(".latest_post").last().isOnScreen()&&(i<=l?(o=!0,t(".pagination_holder").load(e+" .latest_post",function(){i++;o=!1,e=e.replace(/(\/?)page(\/|d=)[0-9]+/,"$1page$2"+i);var a=t(".pagination_holder").html();t(".pagination_holder").html(""),t(".site-main article:last").after(a),t(".site-main").find(".entry-content").find("div").hasClass("tiled-gallery")&&t.getScript(vilva_pro_ajax.plugin_url+"/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery.js")})):n=!0)}),t(".pagination").remove()),t("body").on("click",".btn-simple",function(){t(this).addClass("adding-cart");var i=t(this).attr("id");t.ajax({url:vilva_pro_ajax.url,type:"post",data:"action=vilva_pro_add_cart_single&product_id="+i,success:function(a){t("#"+i).replaceWith(a)}}).done(function(){var a=t("#cart-"+i).val();t(".cart .number").html(a)})}),t("body").on("click",".bsp_ajax_like",function(){var a=t(this);id=a.attr("id").split("-").pop(),"like"===a.children().attr("class").split(" ")[1]&&t.ajax({type:"post",url:vilva_pro_ajax.url,data:{action:"vilva_pro_post_like",id:id},beforeSend:function(){a.addClass("loading")},success:function(a){a&&t("#like-"+id).html(a)}}).done(function(){a.removeClass("loading")})}),t(".single").on("click",".bhp_single_ajax_like",function(){var a=t(this);id=a.attr("id").split("-").pop(),"like"===a.children().attr("class").split(" ")[2]&&t.ajax({type:"post",url:vilva_pro_ajax.url,data:{action:"vilva_pro_post_like_single",id:id},beforeSend:function(){a.addClass("loading")},success:function(a){a&&t("#singlelike-"+id).html(a)}}).done(function(){a.removeClass("loading")})}))});

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.