Urara-Blog/node_modules/.pnpm-store/v3/files/94/0adc2f2af967802477132cf192fcd554e562429648c6079d7a43bb9f0886349c728a62982ffa84600ca65bcbe411e4c1e59700f58724051fbfe57d7fceffc0
2022-08-14 01:14:53 +08:00

2 lines
603 B
Text

this.workbox=this.workbox||{},this.workbox.cacheableResponse=function(s){"use strict";try{self["workbox:cacheable-response:6.5.3"]&&_()}catch(s){}class t{constructor(s={}){this.O=s.statuses,this._=s.headers}isResponseCacheable(s){let t=!0;return this.O&&(t=this.O.includes(s.status)),this._&&t&&(t=Object.keys(this._).some((t=>s.headers.get(t)===this._[t]))),t}}return s.CacheableResponse=t,s.CacheableResponsePlugin=class{constructor(s){this.cacheWillUpdate=async({response:s})=>this.G.isResponseCacheable(s)?s:null,this.G=new t(s)}},s}({});
//# sourceMappingURL=workbox-cacheable-response.prod.js.map