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