const CHATGPT_NEXT_WEB_CACHE = "chatgpt-next-web-cache"; const CHATGPT_NEXT_WEB_FILE_CACHE = "chatgpt-next-web-file"; let a="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let nanoid=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e));for(let n=0;n { const url = new URL(e.request.url); if (/^\/api\/cache/.test(url.pathname)) { if ('GET' == e.request.method) { e.respondWith(caches.match(e.request)) } if ('POST' == e.request.method) { e.respondWith(upload(e.request, url)) } if ('DELETE' == e.request.method) { e.respondWith(remove(e.request, url)) } } });