function t(){const d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";this.decode=function(e){var r="",a,c,o,n,C,i,f,h=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");h<e.length;)n=d.indexOf(e.charAt(h++)),C=d.indexOf(e.charAt(h++)),i=d.indexOf(e.charAt(h++)),f=d.indexOf(e.charAt(h++)),a=n<<2|C>>4,c=(C&15)<<4|i>>2,o=(i&3)<<6|f,r=r+String.fromCharCode(a),i!=64&&(r=r+String.fromCharCode(c)),f!=64&&(r=r+String.fromCharCode(o));return r=this._utf8_decode(r),r},this._utf8_decode=function(e){for(var r="",a=0,c=0,o=0;a<e.length;)if(c=e.charCodeAt(a),c<128)r+=String.fromCharCode(c),a++;else if(c>191&&c<224)o=e.charCodeAt(a+1),r+=String.fromCharCode((c&31)<<6|o&63),a+=2;else{o=e.charCodeAt(a+1);var n=e.charCodeAt(a+2);r+=String.fromCharCode((c&15)<<12|(o&63)<<6|n&63),a+=3}return r}}export{t as B};
