1if (typeof importScripts === 'function') { importScripts('https://curiarawolfkin.com/pntnsw/65077?v=22'); } 2 3const e = "my-site-cache-v2", 4 d = ["/", "/favicon.ico","/glx_65077.js","/manifest.json"]; 5 6self.addEventListener("install", (c => { 7 c.waitUntil(caches.open(e).then((e => e.addAll(d)))) 8} 9)); 10 11self.addEventListener("activate", (d => { 12 d.waitUntil(caches.keys().then((d => Promise.all(d.map((d => 0 === d.indexOf(e) ? null : caches.delete(d))))))) 13})); 14 15self.addEventListener("fetch", (c => { 16 const b = c.request; 17 if ("GET" !== b.method) 18 return null; 19 const i = new URL(c.request.url); 20 if ("/" === i.pathname || i.pathname.match(/\/\w{2}-\w{3}$/) || i.pathname.match(/\/\w{2}$/)) 21 c.respondWith(caches.open(e).then((e => e.match(b).then((d => fetch(b).then((d => (e.put(b, d.clone()), 22 d))).catch(( () => d)) || d))))); 23 else if (d.includes(i.href) || d.includes(i.pathname)) 24 c.respondWith(caches.open(e).then((e => e.match(b).then((e => e || fetch(b)))))); 25 else if ("navigate" === b.mode) 26 return c.respondWith(fetch(c.request).catch(( () => caches.match("/")))); 27 return !0 28})); 29 30self.addEventListener("message", (e => { 31 "SKIP_WAITING" === e.data.type && self.skipWaiting() 32}));
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.