async function decodeAndUnzip(base64String) {
const binaryString = atob(base64String);
const bytes = new Uint8Array(binaryString.length);
for (let i = 0; i < binaryString.length; i++) {
bytes[i] = binaryString.charCodeAt(i);
}
const unzipped = pako.inflate(bytes);
const decoder = new TextDecoder();
const result = decoder.decode(unzipped);
return result;
}