"use strict";varprecacheConfig=[["/assets/favicon.ico","468bad0a3f47a965985c8a99f3ab0ced"],["/assets/icon.png","2b714cf154cd80b3949545dfe0c5939a"],["/bundle.61f2f.js","ed206d55f0cc78aea115b4cad30292da"],["/favicon.ico","468bad0a3f47a965985c8a99f3ab0ced"],["/index.html","db9d2e2a4e5375677bd1b672e7f22c1f"],["/manifest.json","451674ae8f01fd50402a3afd4ebeeffa"],["/style.5336e.css","bf9341495a45d7236460e2af436a3b33"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){varn=newURL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(e){returne.redirected?("body"ine?Promise.resolve(e.body):e.blob()).then(function(t){returnnewResponse(t,{headers:e.headers,status:e.status,statusText:e.statusText})}):Promise.resolve(e)},createCacheKey=function(e,t,n,r){vara=newURL(e);returnr&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;varn=newURL(t).pathname;returne.some(function(e){returnn.match(e)})},stripIgnoredUrlParameters=function(e,t){varn=newURL(e);returnn.hash="",n.search=n.search.slice(1).split("&").map(function(e){returne.split("=")}).filter(function(e){returnt.every(function(t){return!t.test(e[0])})}).map(function(e){returne.join("=")}).join("&"),n.toString()},hashParamName="_sw-precache",urlsToCacheKeys=newMap(precacheConfig.map(function(e){vart=e[0],n=e[1],r=newURL(t,self.location),a=createCacheKey(r,hashParamName,n,!1);return[r.toString(),a]}));functionsetOfCachedUrls(e){returne.keys().then(function(e){returne.map(function(e){returne.url})}).then(function(e){returnnewSet(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(e){returnsetOfCachedUrls(e).then(function(t){returnPromise.all(Array.from(urlsToCacheKeys.values()).map(function(n){if(!t.has(n)){varr=newRequest(n,{credentials:"same-origin"});returnfetch(r).then(function(t){if(!t.ok)thrownewError("Request for "+n+" returned a response with status "+t.status);returncleanResponse(t).then(function(t){returne.put(n,t)})})}}))})}).then(function(){returnself.skipWaiting()}))}),self.addEventListener("activate",function(e){vart=newSet(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(e){returne.keys().then(function(n){returnPromise.all(n.map(function(n){if(!t.has(n.url))returne.delete(n)}))})}).then(function(){returnself.clients.claim()}))}),self.addEventListener("fetch",function(e){if("GET"===e.request.method){vart,n=stripIgnoredUrlParameters(e.request.url,ignoreUrlParametersMatching);(t=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,"index.html"),t=urlsToCacheKeys.has(n));!t&&"navigate"===e.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],e.request.url)&&(n=newURL("index.html",self.location).toString(),t=urlsToCacheKeys.has(n)),t&&e.respondWith(caches.open(cacheName).then(function(e){returne.match(urlsToCacheKeys.get(n)).then(function(e){if(e)returne;throwError("The cached response that was expected is missing.")})}).catch(function(t){returnconsole.warn('Couldn\'t serve response for "%s" from cache: %O',e.request.url,t),fetch(e.request)}))}});