import { __commonJS } from "../../../../_virtual/rolldown_runtime.mjs";

//#region ../../node_modules/pako/lib/zlib/adler32.js
var require_adler32 = /* @__PURE__ */ __commonJS({ "../../node_modules/pako/lib/zlib/adler32.js": ((exports, module) => {
	function adler32(adler, buf, len, pos) {
		var s1 = adler & 65535 | 0, s2 = adler >>> 16 & 65535 | 0, n = 0;
		while (len !== 0) {
			n = len > 2e3 ? 2e3 : len;
			len -= n;
			do {
				s1 = s1 + buf[pos++] | 0;
				s2 = s2 + s1 | 0;
			} while (--n);
			s1 %= 65521;
			s2 %= 65521;
		}
		return s1 | s2 << 16 | 0;
	}
	module.exports = adler32;
}) });

//#endregion
export default require_adler32();

export { require_adler32 };
//# sourceMappingURL=adler32.mjs.map