(s)
| 4 | } |
| 5 | |
| 6 | function decodeURL(s) { |
| 7 | if (s.startsWith("http")) return s; |
| 8 | return atob(s.replace(/=/g,'')); |
| 9 | } |
| 10 | |
| 11 | function atou(b64) { return decodeURIComponent(escape(atob(b64))); } |
| 12 | function utoa(data) { return btoa(unescape(encodeURIComponent(data))); } |