PageSourceSearch

https://zenfolio.com/wp-content/cache/perfmatters/zenfolio.com/min…88fc98f0d.wordherd-ajax.min.js?ver=1.5.7411

js zenfolio.com collected 2026-09-24 07:23:44 UTC 3,253 bytes, 32 lines download raw bytes

1var $=jQuery;$(window).scroll(function(){$(document).on("click",".pagination.pagination--press ul li",function(e){e.preventDefault();let prevItem=$(this).data("value");let activePage=prevItem;if(prevItem==='prev'){activePage=$(".pagination.pagination--press ul li.pagination__page--active").data("value")-1}
2if(prevItem==='next'){activePage=$(".pagination.pagination--press ul li.pagination__page--active").data("value")+1}
3if(!$('.press-posts-wrap.ajax').hasClass("loading")){filter_data(activePage,'fetch_data',$('.press-posts-wrap.ajax'))}})
4$(document).on("click",".pagination.pagination--news ul li",function(e){e.preventDefault();let prevItem=$(this).data("value");let activePage=prevItem;if(prevItem==='prev'){activePage=$(".pagination.pagination--news ul li.pagination__page--active").data("value")-1}
5if(prevItem==='next'){activePage=$(".pagination.pagination--news ul li.pagination__page--active").data("value")+1}
6if(!$('.news-wrap').hasClass("loading")){filter_data(activePage,'fetch_data_1',$('.news-wrap'))}})
7$(document).on("click",".pagination.pagination--release-note ul li",function(e){e.preventDefault();let prevItem=$(this).data("value");let activePage=prevItem;if(prevItem==='prev'){activePage=$(".pagination.pagination--release-note ul li.pagination__page--active").data("value")-1}
8if(prevItem==='next'){activePage=$(".pagination.pagination--release-note ul li.pagination__page--active").data("value")+1}
9if(!$('.news-wrap').hasClass("loading")){filter_data(activePage,'fetch_data_release_notes',$('.news-wrap'))}})
10$(document).on("click",".pagination.pagination--videos ul li",function(e){e.preventDefault()
11let prevItem=$(this).data("value")
12let activePage=prevItem
13if(prevItem==='prev'){activePage=$(".pagination.pagination--videos ul li.pagination__page--active").data("value")-1}
14if(prevItem==='next'){activePage=$(".pagination.pagination--videos ul li.pagination__page--active").data("value")+1}
15if(!$('.press-posts-wrap').hasClass("loading")){filter_data(activePage,'fetch_data_videos',$('.press-posts-wrap'))}})
16function filter_data(pageNo,action,wrapEl){const ajaxurl=wordherd.ajax_url
17const data={'action':action,'pageNo':pageNo?pageNo:1}
18let customHash=`page=${pageNo}`
19window.location.hash=customHash
20wrapEl.addClass('loading')
21jQuery.post(ajaxurl,data,function(response){wrapEl.removeClass('loading')
22wrapEl.html(response)})}
23if(window.location.hash){const params=window.location.hash.split('/')
24let currentPage=1
25for(let param of params){param=param.replace('#','')
26if(param.indexOf('page=')>-1){currentPage=param.replace('page=','')}}
27if($('#tab-pressreleases').hasClass('kt-tab-title-active')&&$('#press-wrap').length){filter_data(currentPage,'fetch_data',$('.press-posts-wrap.ajax'))}
28if($('#tab-inthenews').hasClass('kt-tab-title-active')&&$('#news-wrap').length){filter_data(currentPage,'fetch_data_1',$('.news-wrap'))}
29if($('#releasenotes-wrap').length){filter_data(currentPage,'fetch_data_release_notes',$('.news-wrap'))}
30if($('#video-wrap').length){filter_data(currentPage,'fetch_data_videos',$('.press-posts-wrap'))}}
31$('#tab-pressreleases a').click(function(){filter_data(1,'fetch_data',$('.press-posts-wrap.ajax'))})
32$('#tab-inthenews a').click(function(){filter_data(1,'fetch_data_1',$('.news-wrap'))})})

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.