1window.addEventListener("DOMContentLoaded",(()=>{const e=()=>{const e=document.querySelectorAll(".latest-post-selection article");e&&e.forEach((e=>{const t=e.querySelector(".main-link");t&&e.addEventListener("click",(e=>{if("a"!==e.target.tagName.toLowerCase()){const n=t.getAttribute("href"),s=t.getAttribute("target");n&&(e.metaKey?window.open(n,"_new"):!s||"_blank"!==s&&"_new"!==s?window.location.href=n:window.open(n,s))}}))}))},t=()=>{const e=document.querySelectorAll(".lps-pagination-wrap");e&&e.forEach((e=>{const t=e.closest(".lps-top-section-wrap");if(t){const s=t.querySelector("section");s&&n(e,t,s)}}))},n=(n,a,r)=>{if(!n||!a||!r)return;const o=a?.dataset?.args;if(!o)return;const i=(e,t)=>{let n="";return n=e.indexOf("?")>=0?"1"===t?e:e.replace("?",`/page/${t}?`):"1"===t?e:`${e}/page/${t}`,n=n.replace("//page","/page"),n},c=n.classList.contains("lps-load-more"),l=n.classList.contains("lps-load-more-scroll"),p=n.querySelectorAll("a.page-item");if(p){const o=a?.dataset?.url;p.forEach((p=>{var d;const u=null!==(d=p?.dataset?.page)&&void 0!==d?d:1;p.setAttribute("href",i(o,u)),p.classList.contains("disabled")||p.parentNode.classList.contains("disabled")||p.addEventListener("click",(p=>{if(p.preventDefault(),p.stopPropagation(),function(n,a,r,o,i,c){if(n){if(n.classList.contains("processing"))return;n.classList.add("processing")}const l=document.createElement("div");l.classList.add("spinner"),(n.classList.contains("light_spinner")||n.classList.contains("dark_spinner"))&&(l.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" style="margin:auto;background:0 0;display:block;shape-rendering:auto" width="64" height="64" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="4"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="0s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="0s"/></circle><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="4"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="-0.5s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="-0.5s"/></circle></svg>'),n.appendChild(l);const p=new FormData;p.append("action","lps_navigate_to_page"),p.append("id",`${n.id}`),p.append("page",`${a}`),p.append("current",`${n.dataset.current}`),p.append("lps_ajax","1"),n?.dataset?.args&&JSON.parse(n?.dataset?.args,(function(e,t){e&&p.append(`args[${e}]`,`${t}`)})),fetch(`${lpsSettings.ajaxUrl}`,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:new URLSearchParams(p)}).then((e=>e.text())).then((p=>{if(function(e,t){e.remove();const n=t.querySelectorAll(".spinner");n&&n.forEach((e=>{e.remove()}))}(l,n),function(e){const t=e.querySelectorAll(".lps-pagination-wrap");t&&t.forEach((e=>{e.remove()}))}(n),o||i)r.remove(),c.innerHTML+=p;else{c.innerHTML=p;let e=0;e=c.classList.contains("reverse-counter")?parseInt(n.dataset.total)+1-(a-1)*n.dataset.perpage:(a-1)*n.dataset.perpage,function(e,t){if(!e)return;let n=e.getAttribute("style");const s="--lpscontor-start",a=new RegExp(`${s}:\\s*[^;]+;`,"g");n.includes(s)?n=n.replace(a,`${s}: ${t};`):n+=` ${s}: ${t};`,e.setAttribute("style",n)}(c,e)}const d=c.querySelector(".lps-pagination-wrap.before");d&&n.prepend(d);const u=c.querySelector(".lps-pagination-wrap.after");u&&n.append(u),n.classList.remove("processing"),e(),t(),s()})).catch((e=>{console.log(e)}))}(a,u,n,c,l,r),window.history.pushState&&!c&&!l){const e=i(o,u);window.history.pushState(null,document.title,e)}}))}))}};function s(){const e=document.querySelectorAll(".latest-post-selection:not(.scroller) + .lps-pagination-wrap.lps-load-more-scroll .page-item");e&&e.forEach((e=>{new window.IntersectionObserver((([t])=>{t.isIntersecting&&e.click()}),{root:null,threshold:1}).observe(e)}));const t=document.querySelectorAll(".latest-post-selection.scroller");if(t){const e=(e,t)=>
1{let n=Date.now();return()=>{n+t-Date.now()<=0&&(e(),n=Date.now())}};t.forEach((t=>{t.addEventListener("scrollend",e((()=>{!function(e){const t=e.parentNode;if(t.classList.contains("processing"))return;const n=t.querySelector(".lps-pagination-wrap.lps-load-more-scroll .page-item");if(!n)return;const s=e.querySelector("article:last-child");s&&!s.classList.contains("scrolled")&&new window.IntersectionObserver((([e])=>{if(e.isIntersecting){if(t.classList.contains("processing")||s.classList.contains("scrolled"))return;s.classList.add("scrolled"),n.click()}}),{root:e,threshold:.6}).observe(s)}(t)}),500))}))}}e(),t(),s()}));
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.