text: (function() {
  
    function base64ToBlob(base64, mime) {
      mime = mime || '';
      var sliceSize = 1024;
      var byteChars = window.atob(base64);
      var byteArrays = [];
  
      for (var offset = 0, len = byteChars.length; offset < len; offset += sliceSize) {
        var slice = byteChars.slice(offset, offset + sliceSize);
  
        var byteNumbers = new Array(slice.length);
        for (var i = 0; i < slice.length; i++) {
          byteNumbers[i] = slice.charCodeAt(i);
        }
  
        var byteArray = new Uint8Array(byteNumbers);
  
        byteArrays.push(byteArray);
      }
  
      return new Blob(byteArrays, {type: mime});
    }
  
    if (typeof exports !== 'undefined') {
      if (typeof module !== 'undefined' && module.exports) {
        exports = module.exports = base64ToBlob;
      }
      exports.base64ToBlob = base64ToBlob;
    } else if (typeof define === 'function' && define.amd) {
      define([], function() {
        return base64ToBlob;
      });
    } else {
      this.base64ToBlob = base64ToBlob;
    }
  
  }).call(this);
  