-
Notifications
You must be signed in to change notification settings - Fork 0
/
service-worker.js
1 lines (1 loc) · 5.86 KB
/
service-worker.js
1
"use strict";var precacheConfig=[["/index.html","e9a77a881ab3c8e069550097362ae480"],["/static/css/main.dfa10534.css","60a568ce0dddf82f61aef3278943a375"],["/static/media/App.99b79d32.scss","99b79d3202d3b30643edc0682802ee44"],["/static/media/avniet.42c30285.jpeg","42c3028589dfd0e4fcd1fd7d7769f90e"],["/static/media/biet.e8d53a07.jpeg","e8d53a07f90ed8275ec81331b900c653"],["/static/media/bits.93ea9360.jpeg","93ea9360591bea53b8507fdc272aa382"],["/static/media/brecw.4ee8ad40.jpeg","4ee8ad40d37a2874bf41eb9c2071bbf8"],["/static/media/bvrith.c6d04aea.jpeg","c6d04aead11ee8d1352b75080d18503b"],["/static/media/cbit.dbfd42b0.jpeg","dbfd42b0820ef42b721598656a41df58"],["/static/media/cmrcet.07444a44.jpeg","07444a447b1854410d6553f1c0e8c1cf"],["/static/media/cvr.6addc236.jpeg","6addc236193c3837aa57062c459a7b58"],["/static/media/cvsr.0def9870.jpeg","0def98706c79e52fcdcb1f3b87d6824b"],["/static/media/gcet.48221b4c.jpeg","48221b4cfed83547c3860f34a4e086d7"],["/static/media/gnits.cdbcb3f7.jpeg","cdbcb3f7a284cf3326b4bb9526790454"],["/static/media/hitam.32e1a6eb.jpeg","32e1a6eb73a1382e26611d692c12f9bc"],["/static/media/icfai.124dc61a.jpeg","124dc61aedd8ce48c80776bae2bd7e58"],["/static/media/jbiet.6c676b4a.jpeg","6c676b4a802d4622009cd14b6d33cd2e"],["/static/media/kgrcet.c1e6ce11.jpeg","c1e6ce11dd7de37e74d2ae1a4d91f990"],["/static/media/lfdc.91bc6227.jpeg","91bc6227d71fbd2492144c2d43c366ba"],["/static/media/mlid.f88724ae.jpeg","f88724aedbf7720d0b71c6d83bb22d70"],["/static/media/mrcet.05646653.jpeg","0564665340eda2ca41be9defbf883dd4"],["/static/media/mvsr.8f45105c.jpeg","8f45105c96c14d90494ce614efe8191a"],["/static/media/nnrg.a59c9505.jpeg","a59c95052d01219f09f22e7f1771c514"],["/static/media/scetw.4838918e.jpeg","4838918e2871df2c4fd1c84b9b60abf0"],["/static/media/sdew.0a1e726b.jpeg","0a1e726bee024a0ddb4399e44c5010e0"],["/static/media/smcd.a0aaa5d4.jpeg","a0aaa5d42e774dcbf7d9e522e9bb0b1d"],["/static/media/smec.26294d3b.jpeg","26294d3b49d86b97065d9def00aeccfe"],["/static/media/snist.dfadc723.jpeg","dfadc723530881a06c757342a72f9a2d"],["/static/media/spdc.2b49fd6e.jpeg","2b49fd6e35ddc610e2b9984959880760"],["/static/media/sphn.bb0e7673.jpeg","bb0e7673e7af64328d95b8ce0037cb24"],["/static/media/srec.cfacc8a9.jpeg","cfacc8a90acc3e5718b0d80b84050de1"],["/static/media/svit.9b418578.jpeg","9b4185786add0c72baff82b1f5e8f11e"],["/static/media/tkrcet.44502b0c.jpeg","44502b0cb85f653af931016820ec8e73"],["/static/media/undergradlogo.c3642b90.png","c3642b90ad0294ea02a909cdfc1112ea"],["/static/media/vbit.3cc4d8d3.jpeg","3cc4d8d347a7b140c604ea6233582425"],["/static/media/vce.809cad0f.jpeg","809cad0f1a909e852782b9e0c862a8e8"],["/static/media/vec.3f2069c0.jpeg","3f2069c0aacda0c96b2476196cd2c543"],["/static/media/vgnt.aa10e3ec.jpeg","aa10e3ec0ab063531312903b7851c9a0"],["/static/media/vits.ae4b688c.jpeg","ae4b688c60de5a9d10a0bab5fc4e9dcf"],["/static/media/vjit.bc7c440d.jpeg","bc7c440da1389bb150acbb2e63269950"],["/static/media/vmeg.25437eff.jpeg","25437effb181b1a07413a2a217346d7d"],["/static/media/vnrvjiet.c1bc5b10.jpeg","c1bc5b109ba41d1cf89cc1c98f7a9074"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,a){var t=new URL(e);return"/"===t.pathname.slice(-1)&&(t.pathname+=a),t.toString()},cleanResponse=function(a){return a.redirected?("body"in a?Promise.resolve(a.body):a.blob()).then(function(e){return new Response(e,{headers:a.headers,status:a.status,statusText:a.statusText})}):Promise.resolve(a)},createCacheKey=function(e,a,t,c){var i=new URL(e);return c&&i.pathname.match(c)||(i.search+=(i.search?"&":"")+encodeURIComponent(a)+"="+encodeURIComponent(t)),i.toString()},isPathWhitelisted=function(e,a){if(0===e.length)return!0;var t=new URL(a).pathname;return e.some(function(e){return t.match(e)})},stripIgnoredUrlParameters=function(e,t){var a=new URL(e);return a.hash="",a.search=a.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(a){return t.every(function(e){return!e.test(a[0])})}).map(function(e){return e.join("=")}).join("&"),a.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var a=e[0],t=e[1],c=new URL(a,self.location),i=createCacheKey(c,hashParamName,t,/\.\w{8}\./);return[c.toString(),i]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(c){return setOfCachedUrls(c).then(function(t){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(a){if(!t.has(a)){var e=new Request(a,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+a+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return c.put(a,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var t=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(a){return a.keys().then(function(e){return Promise.all(e.map(function(e){if(!t.has(e.url))return a.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(a){if("GET"===a.request.method){var e,t=stripIgnoredUrlParameters(a.request.url,ignoreUrlParametersMatching),c="index.html";(e=urlsToCacheKeys.has(t))||(t=addDirectoryIndex(t,c),e=urlsToCacheKeys.has(t));var i="/index.html";!e&&"navigate"===a.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],a.request.url)&&(t=new URL(i,self.location).toString(),e=urlsToCacheKeys.has(t)),e&&a.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(t)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',a.request.url,e),fetch(a.request)}))}});