!function(){"use strict";const e=["/client/client.36cf54f6.js","/client/client.b0b4d857.js","/client/index.4bf5245c.js","/client/clickOutside.69487d64.js","/client/index.a102c193.js","/client/index.2ed5ccb8.js","/client/[slug].df65e90f.js","/client/settings.c0e39669.js","/client/browse.8974b19d.js","/client/search.b61bdd42.js"].concat(["/service-worker-index.html","/android-chrome-192x192.png","/android-chrome-512x512.png","/apple-touch-icon-120x120.png","/apple-touch-icon-152x152.png","/apple-touch-icon-60x60.png","/apple-touch-icon-76x76.png","/favicon.ico","/global.css","/icon.png","/icon.svg","/manifest.json"]),t=new Set(e);self.addEventListener("install",t=>{t.waitUntil(caches.open("cache1629204247845").then(t=>t.addAll(e)).then(()=>{self.skipWaiting()}))}),self.addEventListener("activate",e=>{e.waitUntil(caches.keys().then(async e=>{for(const t of e)"cache1629204247845"!==t&&await caches.delete(t);self.clients.claim()}))}),self.addEventListener("fetch",e=>{if("GET"!==e.request.method||e.request.headers.has("range"))return;const c=new URL(e.request.url);c.protocol.startsWith("http")&&(c.hostname===self.location.hostname&&c.port!==self.location.port||(c.host===self.location.host&&t.has(c.pathname)?e.respondWith(caches.match(e.request)):"only-if-cached"!==e.request.cache&&e.respondWith(caches.open("offline1629204247845").then(async t=>{try{const c=await fetch(e.request);return t.put(e.request,c.clone()),c}catch(c){const n=await t.match(e.request);if(n)return n;throw c}}))))})}();
