You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

0 lines
803 B

2 years ago
  1. (function(){function t(n){this.message=n}var n=typeof exports!="undefined"?exports:this,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.prototype=new Error;t.prototype.name="InvalidCharacterError";n.btoa2||(n.btoa2=function(n){for(var e=String(n),u,f,r=0,o=i,s="";e.charAt(r|0)||(o="=",r%1);s+=o.charAt(63&u>>8-r%1*8)){if(f=e.charCodeAt(r+=3/4),f>255)throw new t("'btoa2' failed: The string to be encoded contains characters outside of the Latin1 range.");u=u<<8|f}return s});n.atob2||(n.atob2=function(n){var e=String(n).replace(/=+$/,"");if(e.length%4==1)throw new t("'atob2' failed: The string to be decoded is not correctly encoded.");for(var u=0,f,r,s=0,o="";r=e.charAt(s++);~r&&(f=u%4?f*64+r:r,u++%4)?o+=String.fromCharCode(255&f>>(-2*u&6)):0)r=i.indexOf(r);return o})})();