PageSourceSearch

https://repfitness.com/cdn/shop/t/488/assets/featured-articles.min.js?v=139733348396285165311747684352

js repfitness.com collected 2026-09-24 21:17:17 UTC 1,299 bytes, 1 lines download raw bytes

1var c=Object.defineProperty;var o=(r,e,t)=>e in r?c(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var s=(r,e,t)=>o(r,typeof e!="symbol"?e+"":e,t);import{i as a}from"main/custom-element-utils";class l extends window.HTMLElement{constructor(){super();s(this,"articleContainer");s(this,"moreArticlesButton");s(this,"url");s(this,"page");this.articleContainer=a(this.querySelector("[data-articles]")),this.moreArticlesButton=a(this.querySelector("[data-more]")),this.url=this.getAttribute("data-url"),this.page=this.dataset.page?Number(this.dataset.page):1}connectedCallback(){this.moreArticlesButton.addEventListener("click",()=>{this.getMoreArticles().catch(t=>{console.error("Error fetching more articles:",t)})})}async getMoreArticles(){const t=await this.fetchBlogs();if(!t)return;t.querySelectorAll(".article-wrapper").length<6&&this.moreArticlesButton.classList.add("hidden"),this.page++,this.articleContainer.insertAdjacentHTML("beforeend",t.innerHTML)}async fetchBlogs(){const t=this.page+1;try{const n=await(await fetch(`${this.url}?page=${t}&view=ajax`)).text();return new window.DOMParser().parseFromString(n,"text/html").querySelector("[data-articles]")}catch(i){console.log("Error retrieving articles",i)}return null}}window.customElements.define("featured-articles",l);

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.