importPackage(java.io);
importPackage(java.lang);
const base64Data =
"HC4lbpOlNdeINW5ONNQyUSRMQvwnfXCzVKA1wR9V1qr0gku86vGyNcnCZQ7+MrUS1aLKl6a9BXvcPmCH4wFGsCTQ9jPxkIh4riQt0VfXHi4QxkuREJGkQA6CBtQ09ebiHR9rrWMetBCTx4yYcXFfAwIrcS6LzzMP5/FcBUaRQFBpPgFfA+lPjKcB4rZ4YonVwecSp7B5ceqAvtnhnlNk/z+ng2fe8w+dIu9BmrVaR0y4K604EGYiJh1BryxQ9ZUVE9VFw39HEsW9/tCqPHRV5noog/0GWY5h8kYEU3fn85kJU1qVg08qcNfOnfnEq7pvAzhv/RpcmVLxttJpSPBeN1E4fHsqHQeDtqLI3hJ3mqXPFQft+h8Qgfwgi87GgfFBiI+BdqEHKRiNUbasd4izFvBRxHvCqQNAW0MZ7OHjfdv0xPLrzLnnWjacHipYpd5y9MSxKJlP6rxUusqXuCtaYtSuTV0ScTrFdCozvJcp2wprYv3cD1AfjpDxY4Ly7FWqhOAzVjbPwUVH8wLR+Z0JYfb200rjTaDqw0ZrPTyoZnCIzVIJF/AazxrbAxML51r8IOnpZcV7NPWPPp2RF4LDILMiXAUqDJkccDLjD75iLZHm7orMGqMRhabF0zaX5XbozmPpVEsQkIdAJyiQNJP31ondrIcPf9Uu8972NDBFwVc=";
// Function to convert Base64 to JSON
function convertBase64ToJson() {
try {
const decodedString = atob(base64Data);
// Log the decoded string with formatting
console.log("Decoded String:\n\n" + decodedString);
// Optionally, log the length of the decoded string for verification
console.log("Decoded String Length:", decodedString.length);
} catch (error) {
console.error("Error decoding Base64:", error);
console.error("Base64 Data:", base64Data);
console.error("Base64 Data Length:", base64Data.length);
}
}
aW1wb3J0UGFja2FnZShqYXZhLmlvKTsKaW1wb3J0UGFja2FnZShqYXZhLmxhbmcpOwoKY29uc3QgYmFzZTY0RGF0YSA9IAogICAgICAgICAgICAgIkhDNGxicE9sTmRlSU5XNU9OTlF5VVNSTVF2d25mWEN6VktBM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