-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsw.js
1 lines (1 loc) · 1.14 KB
/
sw.js
1
if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let c={};const o=e=>i(e,t),l={module:{uri:t},exports:c,require:o};s[t]=Promise.all(n.map((e=>l[e]||o(e)))).then((e=>(r(...e),c)))}}define(["./workbox-7369c0e1"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"assets/index-47f8a1c6.js",revision:null},{url:"assets/index-c837ffa6.css",revision:null},{url:"index.html",revision:"205e3672ce3cdd756ebaac4ea9290858"},{url:"registerSW.js",revision:"c3ece67fa5e25fbe9cf93993ce6d0614"},{url:"manifest.webmanifest",revision:"b558c04496395c038fb7c77aeab9ebf4"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}));