-
Notifications
You must be signed in to change notification settings - Fork 3
/
service-worker.js
11 lines (11 loc) · 6.55 KB
/
service-worker.js
1
2
3
4
5
6
7
8
9
10
11
if(!self.define){let e,l={}
const i=(i,s)=>(i=new URL(i+".js",s).href,l[i]||new Promise((l=>{if("document"in self){const e=document.createElement("script")
e.src=i,e.onload=l,document.head.appendChild(e)}else e=i,importScripts(i),l()})).then((()=>{let e=l[i]
if(!e)throw new Error(`Module ${i} didn’t register its module`)
return e})))
self.define=(s,u)=>{const d=e||("document"in self?document.currentScript.src:"")||location.href
if(l[d])return
let n={}
const r=e=>i(e,d),b={module:{uri:d},exports:n,require:r}
l[d]=Promise.all(s.map((e=>b[e]||r(e)))).then((e=>(u(...e),n)))}}define(["./workbox-2af5e5d5"],(function(e){"use strict"
self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/build/102-49deb2993153c5a70295.js",revision:null},{url:"/build/102-49deb2993153c5a70295.js.LICENSE.txt",revision:"8baa8727df1982ec4620a918911df65a"},{url:"/build/156-1037177816817aa6e63c.js",revision:null},{url:"/build/220-89f5de2793acaa995887.js",revision:null},{url:"/build/220-89f5de2793acaa995887.js.LICENSE.txt",revision:"2031e621de27518e27f38a971f9cec6d"},{url:"/build/269-301969deb71b82508a47.js",revision:null},{url:"/build/287-3f6ca28523b62db45864.js",revision:null},{url:"/build/299-754577fff0051da2452e.js",revision:null},{url:"/build/299-754577fff0051da2452e.js.LICENSE.txt",revision:"c32dc5264e0f32a35c5d50797b6466f0"},{url:"/build/312-3166792ec0600ac92f30.js",revision:null},{url:"/build/312-3166792ec0600ac92f30.js.LICENSE.txt",revision:"927fb9b752590ea5907d47bfe2b430d4"},{url:"/build/369-bc23dc308c5acd36c81f.js",revision:null},{url:"/build/391-0b6b7bd8675cb1e256a4.js",revision:null},{url:"/build/444-987d2d38d511226786fd.js",revision:null},{url:"/build/452-3ea180987eacff97f24e.js",revision:null},{url:"/build/452-3ea180987eacff97f24e.js.LICENSE.txt",revision:"5f39ec92d632dd1dd85e0f960f3dd11e"},{url:"/build/481-ed079ce8578cfc8d61d8.js",revision:null},{url:"/build/481-ed079ce8578cfc8d61d8.js.LICENSE.txt",revision:"b88cdd84ca7023d1bf2420f1d64da8d4"},{url:"/build/485-c052b5475e4a67e4ea17.js",revision:null},{url:"/build/485-c052b5475e4a67e4ea17.js.LICENSE.txt",revision:"7ec01595672f75e83fd81b41f132f4c1"},{url:"/build/503-1d5a7ccf621c9181b3a0.js",revision:null},{url:"/build/58-5bd33a5aa20e4d0661c2.js",revision:null},{url:"/build/58-5bd33a5aa20e4d0661c2.js.LICENSE.txt",revision:"14f233c5c9678f45717231dc028e760a"},{url:"/build/581-13dbfd07aa875e0c9e1f.js",revision:null},{url:"/build/602-10e114198cdc60215e5b.js",revision:null},{url:"/build/602-10e114198cdc60215e5b.js.LICENSE.txt",revision:"76fd105b961a925329d605e9c3bb7706"},{url:"/build/606-fb1d25076f564626b6fc.js",revision:null},{url:"/build/606-fb1d25076f564626b6fc.js.LICENSE.txt",revision:"9d73f9f9081308331eff8b0d6cfada03"},{url:"/build/661-4409140216606eeec11c.js",revision:null},{url:"/build/708-99dadce8b67657ffe758.js",revision:null},{url:"/build/740-da3df0c7b09c34d25a5e.js",revision:null},{url:"/build/817-0459ff4d22a61ed12605.js",revision:null},{url:"/build/817-0459ff4d22a61ed12605.js.LICENSE.txt",revision:"0f8f328dd4885502ee3be96db68e0813"},{url:"/build/832-15345e2656dd47d7f3b6.js",revision:null},{url:"/build/832-15345e2656dd47d7f3b6.js.LICENSE.txt",revision:"f7b599e3f88bf94d2af5d3f60873a311"},{url:"/build/84-f28a4595b9e59ecbcd33.js",revision:null},{url:"/build/84-f28a4595b9e59ecbcd33.js.LICENSE.txt",revision:"27aa311c65d710daf8c3f8ccbbe55964"},{url:"/build/848-07fdd3a03001cd37d0b0.js",revision:null},{url:"/build/848-07fdd3a03001cd37d0b0.js.LICENSE.txt",revision:"9312913abd3ec291e09a77758d4b839e"},{url:"/build/849-0feff7619a686e1bbbbc.js",revision:null},{url:"/build/849-0feff7619a686e1bbbbc.js.LICENSE.txt",revision:"249a291ca0e17295748f61fc51861de2"},{url:"/build/949-bdee35b7af71dc16977c.js",revision:null},{url:"/build/959-de0c91874fbc59fe4e37.js",revision:null},{url:"/build/982-2be01ceb04033d0a36f8.js",revision:null},{url:"/build/app-3cf0ea6ca43f0cfbf1a4.js",revision:null},{url:"/build/assets/DJBM-528abc75136e5320490c.png",revision:null},{url:"/build/assets/a-603b4275d603bc93dac1.jpg",revision:null},{url:"/build/assets/b-2d3edd33c1c9cd89bea7.jpg",revision:null},{url:"/build/assets/bg-title-96740f604d8ed581e83b.jpg",revision:null},{url:"/build/assets/bgm-642fdd0fdc1101d9bdbe.ogg",revision:null},{url:"/build/assets/c-206a9f6836290a1d32ad.jpg",revision:null},{url:"/build/assets/default-206a9f6836290a1d32ad.jpg",revision:null},{url:"/build/assets/dj-fb89bc0fb54b70cd3f50.png",revision:null},{url:"/build/assets/go-fa33b4ede606d5bb0e7d.ogg",revision:null},{url:"/build/assets/guitar-slice-007-bb068ac4fe378b72c62e.ogg",revision:null},{url:"/build/assets/intro-3491d2d11922b7b8d961.ogg",revision:null},{url:"/build/assets/kick-5630994b871cb6fedd63.ogg",revision:null},{url:"/build/assets/logo-with-shadow-f78db43c1a8aabfbace5.svg",revision:null},{url:"/build/assets/snare-ffe551da746a0486959b.ogg",revision:null},{url:"/build/boot.js",revision:"3170f82756fcedb76c6b576076ec8a5f"},{url:"/build/comingSoon-d38f9f54edc582d0c251.js",revision:null},{url:"/build/comingSoonDemo-1551995a72527791119c.js",revision:null},{url:"/build/comingSoonDemo-1551995a72527791119c.js.LICENSE.txt",revision:"c32dc5264e0f32a35c5d50797b6466f0"},{url:"/build/environment-75ee03dd987a9457448d.js",revision:null},{url:"/build/environment-75ee03dd987a9457448d.js.LICENSE.txt",revision:"1ce809a9232b61d6d5191c31ead6127e"},{url:"/build/game-9c309e3cd6315f098289.js",revision:null},{url:"/build/gameEngine-1be8ac14be1a50b7388a.js",revision:null},{url:"/build/music-095cdd0200ff780d8be3.js",revision:null},{url:"/build/playground-568fdbb59c278559113c.js",revision:null},{url:"/build/previewer-b28215a5974b012110c7.js",revision:null},{url:"/build/stbvorbis-42d651a635662a4926d3.js",revision:null},{url:"/build/sync-b5f6c134d00243352ab0.js",revision:null},{url:"/build/test-0f663210e0a0186afd81.js",revision:null}],{}),e.registerRoute(/^.*\.bemuse$/,new e.CacheFirst({cacheName:"bemuse-song-assets",plugins:[new e.CacheableResponsePlugin({statuses:[200]})]}),"GET"),e.registerRoute(/^.*\.(bms|bme|bml|bmson)$/,new e.NetworkFirst({cacheName:"bemuse-song-charts",plugins:[new e.CacheableResponsePlugin({statuses:[200]})]}),"GET"),e.registerRoute(/^.*\/index\.json$/,new e.NetworkFirst({cacheName:"bemuse-servers",plugins:[new e.CacheableResponsePlugin({statuses:[200]})]}),"GET"),e.registerRoute(/^.*\/metadata\.json$/,new e.NetworkFirst({cacheName:"bemuse-song-assets",plugins:[new e.CacheableResponsePlugin({statuses:[200]})]}),"GET"),e.registerRoute(/^\/skins\//,new e.StaleWhileRevalidate({cacheName:"bemuse-skin",plugins:[new e.CacheableResponsePlugin({statuses:[200]})]}),"GET"),e.registerRoute(/^\/res\//,new e.StaleWhileRevalidate({cacheName:"bemuse-res",plugins:[new e.CacheableResponsePlugin({statuses:[200]})]}),"GET")}))