-
Notifications
You must be signed in to change notification settings - Fork 0
/
service-worker.js
2 lines (2 loc) · 1.31 KB
/
service-worker.js
1
2
if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let r=Promise.resolve();return i[e]||(r=new Promise((async r=>{if("document"in self){const i=document.createElement("script");i.src=e,document.head.appendChild(i),i.onload=r}else importScripts(e),r()}))),r.then((()=>{if(!i[e])throw new Error(`Module ${e} didn’t register its module`);return i[e]}))},r=(r,i)=>{Promise.all(r.map(e)).then((e=>i(1===e.length?e[0]:e)))},i={require:Promise.resolve(r)};self.define=(r,s,o)=>{i[r]||(i[r]=Promise.resolve().then((()=>{let i={};const t={uri:location.origin+r.slice(1)};return Promise.all(s.map((r=>{switch(r){case"exports":return i;case"module":return t;default:return e(r)}}))).then((e=>{const r=o(...e);return i.default||(i.default=r),i}))})))}}define("./service-worker.js",["./workbox-543be79b"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"img/favicon.ico",revision:"f08356ea0b49281a115ee7b4a91e064b"},{url:"img/profile.jpg",revision:"bf0e942ee8da86f4e30e168ebafc3ed8"},{url:"img/profile.webp",revision:"962f648b09fbee13d03e7afb3bd60d88"},{url:"index.html",revision:"049d12a7942669b15bde0adc82ec233c"},{url:"install-service-worker.html",revision:"d8b1353c27826def6cf2a3506ae0399d"}],{})}));
//# sourceMappingURL=service-worker.js.map