PageSourceSearch

https://radia.cz/spa/serviceWorker.client.js

js radia.cz collected 2026-10-02 03:00:29 UTC 1,629 bytes, 5 lines download raw bytes

1/*! For license information please see serviceWorker.client.js.LICENSE.txt */
2(()=>{"use strict";const t=async()=>{const t=await self.caches.open("app");await t.keys().then((a=>a.map((a=>t.delete(a))))).then((t=>Promise.all(t)));const a=await self.caches.open("fonts");await a.keys().then((t=>t.map((t=>a.delete(t))))).then((t=>Promise.all(t)));const e=await self.caches.open("sentry");await e.keys().then((t=>t.map((t=>e.delete(t))))).then((t=>Promise.all(t)))},a="/spa/asset-manifest.client.json";self.addEventListener("install",(e=>{e.waitUntil((async()=>{await t();const e=await self.caches.open("app"),s=await fetch(a);200===s.status&&await e.put(a,s.clone())})())})),self.addEventListener("activate",(e=>{e.waitUntil((async()=>{const e=await fetch(a);if(200===e.status){const s=await(await self.caches.open("app")).match(a),n=e.clone();if(!s||await s.text()!==await e.text()){await t();const e=await self.caches.open("app");await e.put(a,n)}}await self.clients.claim()})())})),self.addEventListener("fetch",(t=>{const a=new URL(t.request.url),e=async t=>{const e=await self.caches.open(t),s=await e.match(a);if(s)return s;const n=await fetch(a);if(200===n.status){if(a.pathname.match(/\.js$/))try{new Function(await n.clone().text())}catch(t){return n}await e.put(a,n.clone())}return n};a.pathname.includes("/spa/")?t.respondWith((async()=>e("app"))()):a.host.includes("fonts.googleapis.com")||a.host.includes("fonts.gstatic.com")?t.respondWith((async()=>e("fonts"))()):"/sentry.js"!==a.pathname||t.respondWith((async()=>e("sentry"))())}))})();
3//# sourceMappingURL=serviceWorker.client.js.map
4
5/* 22/05/2026 - 10:22:02 */

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.