1(()=>{function t(t=-1,e=!1,a,s=!0,r=!1){let i={},o=(a=void 0===a?jQuery(".post-library").first():a).find(".post-library__results-wrapper"),n=!1;const l=/(\<div class="post-library__results.*?)<\/div>\s*?\<div class="post-library__results.*?\>/gs;let p=["exclude","action","post_type","ppp","nonce","posts_per_page","aria_region"],d=["","0","-1"],c={nonce:sb_pl_fetch_posts_object.nonce,action:"sb_pl_fetch_posts",post_type:"post",paged:1,posts_per_page:10,keywords:"",taxonomies:{},orderby:"",order:"",start_date:"",end_date:"",exclude:"",meta:[],meta_text:{},view:"",force_month:"",aria_region:o.attr("id"),pagination:""};if(o.addClass("loading"),a.find("input, select").each(function(){let t=jQuery(this).attr("data-ajax-mapping");if(void 0!==t&&!1!==t&&t in c)if("taxonomies"==t){let t=jQuery(this).attr("name");t=t.replace("[]",""),void 0===c.taxonomies[t]&&(c.taxonomies[t]=[]),"checkbox"===jQuery(this).attr("type")||"radio"===jQuery(this).attr("type")?!0===jQuery(this).is(":checked")&&""!==jQuery(this).val()&&c.taxonomies[t].push(jQuery(this).val()):""!==jQuery(this).val()&&c.taxonomies[t].push(jQuery(this).val())}else"meta"==t?"checkbox"==jQuery(this).attr("type")&&1==jQuery(this).is(":checked")&&c.meta.push(jQuery(this).attr("name")):"meta_text"==t?c.meta_text[jQuery(this).attr("name")]=jQuery(this).val():"orderby"!==t&&"view"!==t||"hidden"===jQuery(this).attr("type")||1!=jQuery(this).is(":checked")?""!==jQuery(this).val()&&(c[t]=jQuery(this).val()):c[t]=jQuery(this).val();"date"==c.orderby&&(c.order="DESC")}),t>-1&&(c.paged=t),"loadmore"!==c.pagination||r||(n=!0,e=!1,p.push("paged")),s){for(const[t,e]of Object.entries(c))if(!p.includes(t)&&!d.includes(e)){let a="taxonomies"===t?"tax_":"";if("object"!=typeof e||jQuery.isEmptyObject(e))i[a+t]=e;else for(const[t,s]of Object.entries(e))"object"==typeof s&&s.length>0?i[a+t]=s.join(","):"object"!=typeof s&&""!==s&&(i[a+t]=s)}history.pushState({},"","?"+jQuery.param(i))}if(0<Object.keys(c.taxonomies).length)for(const[t,e]of Object.entries(c.taxonomies))0>=e.length&&delete c.taxonomies[t];0>=Object.keys(c.taxonomies).length&&""===c.keywords?a.find(".post-library__reset").addClass("hidden"):a.find(".post-library__reset").removeClass("hidden");let u=new FormData;for(const[t,e]of Object.entries(c))u.append(t,JSON.stringify(e));return jQuery.ajax({url:sb_pl_fetch_posts_object.url,type:"post",data:c,success:function(t){if(n){o.find(".post-library__pagination").remove(),o.append(t),o.find(".focus-target").removeClass("focus-target");let e=o.find(".post-library__results ~ .post-library__results > *:first-child");e.length>0&&(e[0].hasAttribute("tabindex")&&e.is("a button")||(e=e.find("a,button").first()),e.addClass("focus-target")),o.find(".post-library__counts ~ .post-library__counts").remove(),o.html(o.html().replace(l,"$1")),o.find(".post-library__count").text(o.find(".post-library__results > *").length)}else o.html(t);o.removeClass("loading"),e&&jQuery("html, body").animate({scrollTop:o.offset().top-200},"slow");let a=o.find(".focus-target");a.length>0&&a.focus()},error:function(t,e,a){o.html('<div class="post-library__results post-library__results--not-found"><p>An error occurred and results cannot be displayed.</p></div>'),o.removeClass("loading"),console.log(e+": "+a)}}),!1}jQuery(document).ready(function(e){e(".post-library").each(function(){const a=e(this),s=a[0].hasAttribute("data-url-updating")&&"true"===a[0].getAttribute("data-url-updating");a.on("click",".post-library__submit",function(){t(-1,!0,a,s,!0)}),a.find("input[name=orderby]").on("change",function(){t(-1,!0,a,s,!0)}),a.find("input[name=view]").on("change",function(){"calendar"!==e(this).val()&&a.find('input[data-ajax-mapping="force_month"]').val(""),a.find("input[name=view]").not(e(this)).each(function(){a.find(".post-library__results-wrapper").removeClass("post-library__results-wrapper--"+e(this).val())}),a.find(".post-library__results-wrapper").addClass("post-library__results-wrapper--"+e(this).val()),("true"===e(this).data("force_change")||e(this).data("force_change"))&&t(-1,!0,a,s,!0)}),a.find('input[name="keywords"], input[data-ajax-mapping="meta_text"]').on("keypress",function(e){13==e.which&&t(-1,!0,a,s,!0)}),a.on("click",".post-library__reset",function(){a.find(".post-library__filters").find("input, select").not(':button, :submit, :reset, :hidden, [name="orderby"]').prop("checked",!1).prop("selected",!1).val(""),a.find('input[name="paged"] ').val(1),t(-1,!0,a,s,!0)}),a.on("click",".post-library__paginate",function(){t(e(this).data("page"),!0,a,s)}),a.on("click",".sb-events-calendar__nav",function(){void 0!==e(this).data("month")&&a.find('input[data-ajax-mapping="force_month"]').val(e(this).data("month")),t(-1,!0,a,s,!0)})})})})();
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.