-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsw.js.map
1 lines (1 loc) · 1.59 KB
/
sw.js.map
1
{"mappings":"MAAO,IAAIA,EAAW,GACXC,EAAU,GAInBD,ECJe,CAAC,aAAa,wCAAwC,qCAAqC,uCDK1GC,ECJc,4BCIhBC,iBAAiB,WAAWC,GAAKA,EAAEC,UAJnCC,iBACE,MAAMC,QAAcC,OAAOC,KAAKP,SAC1BK,EAAMG,OAAOT,E,CAEwBU,MAQ7CR,iBAAiB,YAAYC,GAAKA,EAAEC,UANpCC,iBACE,MAAMM,QAAaJ,OAAOI,aACpBC,QAAQC,IACZF,EAAKG,KAAIC,GAAOA,IAAQd,GAAWM,OAAOS,OAAOD,K,CAGPE,K","sources":["node_modules/@parcel/service-worker/service-worker.js","node_modules/@parcel/service-worker/runtime-d116d0903bc3132f.js","src/sw.js"],"sourcesContent":["export let manifest = [];\nexport let version = '';\n\n// Called by the runtime.\nexport function _register(m, v) {\n manifest = m;\n version = v;\n}\n","import {_register} from '@parcel/service-worker';\nconst manifest = [\"index.html\",\"favicon.e4fdada9.jpg\",\"index.98fc42f1.js\",\"index.e18a2e6f.css\"];\nconst version = \"50cba4c3\";\n_register(manifest, version);\n","import {manifest, version} from '@parcel/service-worker';\n\nasync function install() {\n const cache = await caches.open(version);\n await cache.addAll(manifest);\n}\naddEventListener('install', e => e.waitUntil(install()));\n\nasync function activate() {\n const keys = await caches.keys();\n await Promise.all(\n keys.map(key => key !== version && caches.delete(key))\n );\n}\naddEventListener('activate', e => e.waitUntil(activate()));"],"names":["$2039b88b1be162b9$export$e538f94cc8cf4db8","$2039b88b1be162b9$export$83d89fbfd8236492","addEventListener","e","waitUntil","async","cache","caches","open","addAll","$be54d8e7a0d8ad61$var$install","keys","Promise","all","map","key","delete","$be54d8e7a0d8ad61$var$activate"],"version":3,"file":"sw.js.map"}