forked from igniterealtime/openfire-xmppweb-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsw.js
More file actions
2 lines (2 loc) · 1.54 KB
/
sw.js
File metadata and controls
2 lines (2 loc) · 1.54 KB
1
2
if(!self.define){let e,i={};const n=(n,o)=>(n=new URL(n+".js",o).href,i[n]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=i,document.head.appendChild(e)}else e=n,importScripts(n),i()})).then((()=>{let e=i[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(o,s)=>{const r=e||("document"in self?document.currentScript.src:"")||location.href;if(i[r])return;let c={};const d=e=>n(e,r),t={module:{uri:r},exports:c,require:d};i[r]=Promise.all(o.map((e=>t[e]||d(e)))).then((e=>(s(...e),c)))}}define(["./workbox-646ea2fd"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/index-126f0889.js",revision:null},{url:"assets/index-30c686e4.css",revision:null},{url:"assets/workbox-window.prod.es5-08b2315b.js",revision:null},{url:"index.html",revision:"2f107ade8ee4a35ce1252ebe2bdfb660"},{url:"favicon.ico",revision:"fe6312eccb329c3edebce71bbfb9e4e7"},{url:"robots.txt",revision:"b6216d61c03e6ce0c9aea6ca7808f7ca"},{url:"img/icons/apple-touch-icon.png",revision:"ee4df414a0be2d68a02c27014248de28"},{url:"img/icons/android-chrome-192x192.png",revision:"24cf03f3fdd4ca3a02d97d56f03039b4"},{url:"img/icons/android-chrome-512x512.png",revision:"98aa536558efc4acfd774bc9457f2271"},{url:"manifest.webmanifest",revision:"fa5c92b918f3dd4b53e327003c4b90d1"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html"))),e.registerRoute(/^.*\/local\.js/,new e.NetworkFirst,"GET")}));
//# sourceMappingURL=sw.js.map