-
Notifications
You must be signed in to change notification settings - Fork 0
/
sw.js
1 lines (1 loc) · 1.8 KB
/
sw.js
1
if(!self.define){let e,i={};const s=(s,n)=>(s=new URL(s+".js",n).href,i[s]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=s,e.onload=i,document.head.appendChild(e)}else e=s,importScripts(s),i()})).then((()=>{let e=i[s];if(!e)throw new Error(`Module ${s} didn’t register its module`);return e})));self.define=(n,c)=>{const r=e||("document"in self?document.currentScript.src:"")||location.href;if(i[r])return;let f={};const o=e=>s(e,r),d={module:{uri:r},exports:f,require:o};i[r]=Promise.all(n.map((e=>d[e]||o(e)))).then((e=>(c(...e),f)))}}define(["./workbox-5361f2d4"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/index-113bef51.js",revision:null},{url:"assets/index-efc18a68.css",revision:null},{url:"index.html",revision:"f550b81a9f5db40d2ccf8a1b862324e3"},{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"images/icon/48.png",revision:"d73be626256fa290bbae71d9b53ec282"},{url:"images/icon/72.png",revision:"477f2868e3df0b4bbd36fde296b86eef"},{url:"images/icon/96.png",revision:"156992f5bfd1cbf819e804ed4dee3989"},{url:"images/icon/128.png",revision:"ea397a86bf197b8ca2226f79e46f9dfe"},{url:"images/icon/144.png",revision:"7c4e10505e13a25f8b669843d381a942"},{url:"images/icon/192.png",revision:"e0d11f7e6a817e84d7c65a0168cd5912"},{url:"images/icon/512.png",revision:"51252b8fdbb6a21cb31a913d4911ebd1"},{url:"manifest.webmanifest",revision:"4e61cf18c3ab8bf27b0dbc48eee5cb79"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html"))),e.registerRoute(/(.*?)\.(js|css|woff2|woff|ttf)/,new e.CacheFirst({cacheName:"js-css-cache",plugins:[]}),"GET"),e.registerRoute(/(.*?)\.(png|jpe?g|svg|gif|bmp|psd|tiff|tga|eps)/,new e.CacheFirst({cacheName:"image-cache",plugins:[]}),"GET")}));