"use strict";(()=>{var R=(function(){let c=new Uint32Array(256);for(let s=0;s<256;s++){let o=s;for(let U=0;U<8;U++)o=o&1?3988292384^o>>>1:o>>>1;c[s]=o>>>0}return c})();function k(r){let c=4294967295;for(let s=0;s>>8;return(c^4294967295)>>>0}function x(r){return r instanceof Uint8Array?r:typeof r=="string"?new TextEncoder().encode(String(r)):new Uint8Array(r)}var D=["index.html","index.htm","default.html","default.htm","home.html","home.htm","manifest.json"];function E(r){let c=new Set(r),s=[];for(let o of D)c.has(o)&&(s.push(o),c.delete(o));return s.push(...Array.from(c).sort((o,U)=>o.localeCompare(U))),s}function S(r){let s=E(Object.keys(r)).map(i=>{let u=x(r[i]);return{name:i,data:u}}),o=0,U=[],p=[];for(let i of s){let u=x(i.name),l=u.length;if(l>65535)throw new Error("zip path too long: "+i.name);let m=i.data,n=m.length,t=k(m),b=67324752,h=20,O=0,T=0,Z=0,j=0,A=n,L=30+l,f=new DataView(new ArrayBuffer(L+n)),e=0;f.setUint32(e,b,!0),e+=4,f.setUint16(e,h,!0),e+=2,f.setUint16(e,O,!0),e+=2,f.setUint16(e,T,!0),e+=2,f.setUint16(e,Z,!0),e+=2,f.setUint16(e,j,!0),e+=2,f.setUint32(e,t,!0),e+=4,f.setUint32(e,A,!0),e+=4,f.setUint32(e,n,!0),e+=4,f.setUint16(e,l,!0),e+=2,f.setUint16(e,0,!0),e+=2,new Uint8Array(f.buffer).set(u,e),e+=l,new Uint8Array(f.buffer).set(m,e),U.push(new Uint8Array(f.buffer)),p.push({nameBytes:u,crc:t,size:n,csize:A,localOffset:o}),o+=f.buffer.byteLength}let g=[],y=0,z=o;for(let i=0;i