Feross Aboukhadijeh
9 years ago
1 changed files with 1 additions and 0 deletions
@ -0,0 +1 @@ |
|||
(function(r){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=r()}else if(typeof define==="function"&&define.amd){define([],r)}else{var e;if(typeof window!=="undefined"){e=window}else if(typeof global!=="undefined"){e=global}else if(typeof self!=="undefined"){e=self}else{e=this}e.base64js=r()}})(function(){var r,e,t;return function n(r,e,t){function o(a,i){if(!e[a]){if(!r[a]){var u=typeof require=="function"&&require;if(!i&&u)return u(a,!0);if(f)return f(a,!0);var d=new Error("Cannot find module '"+a+"'");throw d.code="MODULE_NOT_FOUND",d}var c=e[a]={exports:{}};r[a][0].call(c.exports,function(e){var t=r[a][1][e];return o(t?t:e)},c,c.exports,n,r,e,t)}return e[a].exports}var f=typeof require=="function"&&require;for(var a=0;a<t.length;a++)o(t[a]);return o}({"/":[function(r,e,t){"use strict";t.toByteArray=i;t.fromByteArray=c;var n=[];var o=[];var f=typeof Uint8Array!=="undefined"?Uint8Array:Array;function a(){var r;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var t=e.length;for(r=0;r<t;r++){n[r]=e[r]}for(r=0;r<t;++r){o[e.charCodeAt(r)]=r}o["-".charCodeAt(0)]=62;o["_".charCodeAt(0)]=63}a();function i(r){var e,t,n,a,i,u;var d=r.length;if(d%4>0){throw new Error("Invalid string. Length must be a multiple of 4")}i=r[d-2]==="="?2:r[d-1]==="="?1:0;u=new f(d*3/4-i);n=i>0?d-4:d;var c=0;for(e=0,t=0;e<n;e+=4,t+=3){a=o[r.charCodeAt(e)]<<18|o[r.charCodeAt(e+1)]<<12|o[r.charCodeAt(e+2)]<<6|o[r.charCodeAt(e+3)];u[c++]=(a&16711680)>>16;u[c++]=(a&65280)>>8;u[c++]=a&255}if(i===2){a=o[r.charCodeAt(e)]<<2|o[r.charCodeAt(e+1)]>>4;u[c++]=a&255}else if(i===1){a=o[r.charCodeAt(e)]<<10|o[r.charCodeAt(e+1)]<<4|o[r.charCodeAt(e+2)]>>2;u[c++]=a>>8&255;u[c++]=a&255}return u}function u(r){return n[r>>18&63]+n[r>>12&63]+n[r>>6&63]+n[r&63]}function d(r,e,t){var n;var o=[];for(var f=e;f<t;f+=3){n=(r[f]<<16)+(r[f+1]<<8)+r[f+2];o.push(u(n))}return o.join("")}function c(r){var e;var t=r.length;var o=t%3;var f="";var a=[];var i=16383;for(var u=0,c=t-o;u<c;u+=i){a.push(d(r,u,u+i>c?c:u+i))}if(o===1){e=r[t-1];f+=n[e>>2];f+=n[e<<4&63];f+="=="}else if(o===2){e=(r[t-2]<<8)+r[t-1];f+=n[e>>10];f+=n[e>>4&63];f+=n[e<<2&63];f+="="}a.push(f);return a.join("")}},{}]},{},[])("/")}); |
Loading…
Reference in new issue