1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { Buffer } from "node:buffer";
export const parsePacoEx = (async () => {
var pako = await import("npm:pako");
function decodeMermaid(encodedString) {
var binaryData = Buffer.from(encodedString, "base64");
var inflatedString = pako.inflate(binaryData, { to: "string" });
return inflatedString;
}
return JSON.parse(
decodeMermaid(
"eNp1kk1rwzAMhv-K8WmFhLEeO9gYW2GDjnVtj76osdIYHDv4o2sJ-e-T42Snzpco0quH15Z6XlmJfMVPDrqGbXaPwjA6-wAu3N2Nn8WiLJ--I_qgrHnoBX_ZfjDrGJ5BRwjIwB1VcOCuLMGeBR8myl9TWTLB_9ELzoi_piJx-_ukYhTdZqwvnfXKnBiYJMq9s2RJ3l6jD7Zl74fDljVgpEZ3w9ByhN3QTmYunUPvs58c37I0UchK9Mh8I
),
).code;
})();
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023