(()=>{let e=[],t="";e=["/index.html","/manifest.webmanifest","/logo.8f568ae2.png","/favicon.0455ef5b.gif","/index.39ad6630.css","/iAWriterMonoS-Regular.dbb8e713.woff2","/iAWriterMonoS-Bold.af4c028d.woff2","/iAWriterMonoS-Italic.6402a703.woff2","/iAWriterMonoS-BoldItalic.511eb0a3.woff2","/index.f4c4ba81.css","/index.0beebfce.js","/sandbox_worker.1fe6c99c.js","/index.08c5487a.js","/server.js","/plugos-bundle.js","/plugos-server.js","/runtime.test.js","/hooks/endpoint.test.js","/syscalls/store.knex_node.test.js","/syscalls/store.dexie_browser.test.js"],t="2db87096",self.addEventListener("install",(s=>s.waitUntil(async function(){const s=await caches.open(t);await s.addAll([...e,"/global.plug.json"]),self.skipWaiting()}()))),self.addEventListener("activate",(e=>e.waitUntil(async function(){const e=await caches.keys();await Promise.all(e.map((e=>e!==t&&caches.delete(e))))}()))),self.addEventListener("fetch",(e=>{e.respondWith(caches.open(t).then((async t=>{let s=new URL(e.request.url),a=await t.match(e.request,{ignoreSearch:!0});return a||("/fs"===s.pathname||s.pathname.startsWith("/fs/")||s.pathname.startsWith("/plug/")?fetch(e.request):t.match("/index.html"))})))}))})();
//# sourceMappingURL=service_worker.js.map
