(()=>{"use strict";const{rE:e}={rE:"15.0.5"},t="dynamic-cache-".concat(e)+"#1",c="static-cache-".concat(e)+"#1",s=["./"];self.addEventListener("install",(e=>{e.waitUntil(caches.open(c).then((e=>e.addAll(s)))),self.skipWaiting()})),self.addEventListener("activate",(e=>{e.waitUntil(caches.keys().then((e=>Promise.all(e.map((e=>e!==c&&e!==t?caches.delete(e):Promise.resolve())))))),self.clients.claim()})),self.addEventListener("fetch",(e=>{e.respondWith(fetch(e.request).then((c=>{const s=c.clone();return"GET"!==e.request.method?c:(console.debug("Caching",{request:e.request}),caches.open(t).then((t=>t.put(e.request,s))).then((()=>c)))})).catch((t=>(console.debug(t),console.debug("Hitting cache",{request:e.request}),caches.match(e.request)))))}))})();
//# sourceMappingURL=bookmarks-service-worker.js.map?v=e2876a2998fa2a92a80a