PageSourceSearch

https://saferinternet.org.uk/wp-content/themes/safer-internet/public/60998-b0bd21fe4739688b3fd1.js

js saferinternet.org.uk collected 2026-10-01 06:49:25 UTC 1,259 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkSaferInternet=self.webpackChunkSaferInternet||[]).push([[60998],{60998(t,e,s){s.d(e,{LoadMore:()=>r});class r{constructor(t){this.wrapper=t.wrapper,this.trigger=t.trigger,this.loader=t.loader,this.container=t.container,this.IS_HIDDEN="is-hidden",this.IS_LOADING="is-loading",this.attrPage=1}init(){this.trigger.addEventListener("click",t=>{t.preventDefault(),this.route=new URL(this.trigger.getAttribute("data-route")),this.attrPage=parseInt(this.route.searchParams.get("page"),10),this.attrLetter=this.route.searchParams.get("letter"),this.fetchCustom(this.route.href,this.container)})}async fetchCustom(t,e){this.addLoadingClass();let s=await fetch(t);if(200===s.status){let t=await s.json(),r=t.headers.pages;e.insertAdjacentHTML("beforeend",t.data.body),this.attrPage>=r&&this.removeTrigger(),this.route.searchParams.set("page",this.attrPage+1),this.route.searchParams.set("letter",this.attrLetter),this.trigger.setAttribute("data-route",this.route.href)}else this.removeTrigger();this.removeLoadingClass()}addLoadingClass(){this.wrapper.classList.add(this.IS_LOADING)}removeLoadingClass(){setTimeout(()=>{this.wrapper.classList.remove(this.IS_LOADING)},500)}removeTrigger(){this.wrapper.classList.add(this.IS_HIDDEN)}}}}]);

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.