-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsw.js
1 lines (1 loc) · 2.37 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,c)=>{const a=e||("document"in self?document.currentScript.src:"")||location.href;if(s[a])return;let r={};const f=e=>i(e,a),o={module:{uri:a},exports:r,require:f};s[a]=Promise.all(n.map((e=>o[e]||f(e)))).then((e=>(c(...e),r)))}}define(["./workbox-c2058018"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"404.html",revision:"2add2e5802b91a635889407a3af49cd2"},{url:"assets/css/404.css",revision:"b293da6d060d1e3e684412b211719cb6"},{url:"assets/css/iconfont.css",revision:"b25a47c3709932d694bd0f11f99ca45f"},{url:"assets/css/onlinewebfonts.css",revision:"5fdd9ffa29ef2f2c56da910688040625"},{url:"assets/css/vno.css",revision:"e152795f2a1ac91adbe400f2024204e5"},{url:"assets/index.48c20888.css",revision:null},{url:"assets/index.e3ab10c1.js",revision:null},{url:"assets/js/jquery.min.js",revision:"378087a64e1394fc51f300bb9c11878c"},{url:"assets/js/main.js",revision:"0fd6baad13df879812877a3da85932fd"},{url:"index.html",revision:"704894cfae9e3fbe9270ac25094cd263"},{url:"loading/loading.css",revision:"ed8e68b8eed6bf62118b8968f6cd7fe0"},{url:"loading/loading.min.css",revision:"c9f4bc3e3d5c4e5e160eb780f990c618"},{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"images/icon/48.png",revision:"b8d445ab341c534657a64fc804c18400"},{url:"images/icon/72.png",revision:"fd686683ff42f06126505d574697f0ae"},{url:"images/icon/96.png",revision:"d8dcafa39b592f5713e7d62dc8cbf990"},{url:"images/icon/144.png",revision:"b7accdef6a536b8f43fc44645baa5739"},{url:"images/icon/192.png",revision:"bdb661c5446827d78f3ae83a7b7eda00"},{url:"images/icon/512.png",revision:"2af4caade95fa68725138913abd4b6ae"},{url:"manifest.webmanifest",revision:"92e9e25fbfa979bab67219cc47d3cb4e"}],{}),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")}));