function r(r){return Buffer.from(r,"base64").toString("binary")}function t(r){for(var t=0,e=r;t255)throw new Error("Failed to execute 'btoa': The string to be encoded contains characters outside of the Latin1 range.");return Buffer.from(r,"binary").toString("base64")}function e(r){return Buffer.from(r).toString("base64")}function n(r){return Buffer.from(r,"base64").toString()}function o(r){return new Uint8Array(Buffer.from(r,"base64"))}export{r as atob,t as btoa,e as toBase64,n as fromBase64,o as toBuffer}; //# sourceMappingURL=b64-lite.mjs.map