this.workbox=this.workbox||{},this.workbox.precaching=function(t,e,s,n,i,c,r,o){"use strict";try{self["workbox:precaching:6.5.3"]&&_()}catch(t){}functiona(t){if(!t)thrownews.WorkboxError("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeoft){conste=newURL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)thrownews.WorkboxError("add-to-cache-list-unexpected-type",{entry:t});if(!e){constt=newURL(n,location.href);return{cacheKey:t.href,url:t.href}}consti=newURL(n,location.href),c=newURL(n,location.href);returni.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:c.href}}classh{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequestinstanceofRequest){constt=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}returns}}}classl{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{consts=(null==e?void0:e.cacheKey)||this.tt.getCacheKeyForURL(t.url);returns?newRequest(s,{headers:t.headers}):t},this.tt=t}}classuextendsc.Strategy{constructor(t={}){t.cacheName=e.cacheNames.getPrecacheName(t.cacheName),super(t),this.et=!1!==t.fallbackToNetwork,this.plugins.push(u.copyRedirectedCacheableResponsesPlugin)}async_handle(t,e){consts=awaite.cacheMatch(t);returns||(e.event&&"install"===e.event.type?awaitthis.st(t,e):awaitthis.nt(t,e))}asyncnt(t,e){letn;consti=e.params||{};if(!this.et)thrownews.WorkboxError("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{consts=i.integrity,c=t.integrity,r=!c||c===s;n=awaite.fetch(newRequest(t,{integrity:"no-cors"!==t.mode?c||s:void0})),s&&r&&"no-cors"!==t.mode&&(this.it(),awaite.cachePut(t,n.clone()))}returnn}asyncst(t,e){this.it();constn=awaite.fetch(t);if(!awaite.cachePut(t,n.clone()))thrownews.WorkboxError("bad-precaching-response",{url:t.url,status:n.status});returnn}it(){lett=null,e=0;for(const[s,n]ofthis.plugins.entries())n!==u.copyRedirectedCacheableResponsesPlugin&&(n===u.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(u.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}u.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},u.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?awaiti.copyResponse(t):t};classf{constructor({cacheName:t,plugins:s=[],fallbackToNetwork:n=!0}={}){this.ct=newMap,this.rt=newMap,this.ot=newMap,this.at=newu({cacheName:e.cacheNames.getPrecacheName(t),plugins:[...s,newl({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}getstrategy(){returnthis.at}precache(t){this.addToCacheList(t),this.ht||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.ht=!0)}addToCacheList(t){conste=[];for(constnoft){"string"==typeofn?e.push(n):n&&void0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=a(n),c="string"!=typeofn&&n.revision?"reload":"default";if(this.ct.has(i)&&this.ct.get(i)!==t)thrownews.WorkboxError("add-to-cache-list-conflicting-entries",{firstEntry:this.ct.get(i),secondEntry:t});if("string"!=typeofn&&n.integrity){if(this.ot.has(t)&&this.ot.get(t)!==n.integrity)thrownews.WorkboxError("add-to-cache-list-conflicting-integrities",{url:i});this.ot.set(t,n.integrity)}if(this.ct.set(i,t),this.rt.set(i,c),e.length>0){constt=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){returnn.waitUntil(t,(async()=>{conste=newh;this.strategy.plugins.push(e);for(const[e,s]ofthis.ct){constn=this.ot.get(s),i=this.rt.get(e),c=newRequest(e,{integrity:n,cache:i,credentials:"same-origin"});awaitPromise.all(t