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I,EAAI,OAAS,GAAM,EACrB,MAAM,IAAI,EAAuB,qEAEnC,IAEE,IAAY,EAAI,EAAZ,EAAK,EAAe,EAAM,EAAG,EAAS,GAE1C,EAAS,EAAI,OAAQ,MAEpB,IAAW,EAAK,EAAK,EAAS,GAAL,EAAU,EAAS,EAG3C,IAAO,GAAK,GAAU,OAAO,aAAc,IAAM,KAAQ,EAAI,EAAK,IAAM,EAG1E,EAAS,EAAM,QAAS,GAE1B,OAAO,CACT,EAIF","file":"/npm/Base64@1.3.0/base64.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/Base64@1.3.0/base64.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","(function(f) {\n\n  'use strict';\n\n  /* istanbul ignore else */\n  if (typeof exports === 'object' && exports != null &&\n      typeof exports.nodeType !== 'number') {\n    module.exports = f ();\n  } else if (typeof define === 'function' && define.amd != null) {\n    define ([], f);\n  } else {\n    var base64 = f ();\n    var global = typeof self !== 'undefined' ? self : $.global;\n    if (typeof global.btoa !== 'function') global.btoa = base64.btoa;\n    if (typeof global.atob !== 'function') global.atob = base64.atob;\n  }\n\n} (function() {\n\n  'use strict';\n\n  var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\n  function InvalidCharacterError(message) {\n    this.message = message;\n  }\n  InvalidCharacterError.prototype = new Error ();\n  InvalidCharacterError.prototype.name = 'InvalidCharacterError';\n\n  // encoder\n  function btoa(input) {\n    var data = String (input), o1, o2, o3, bits, i = 0, acc = '';\n\n    while (i < data.length) {\n      // pack three octets into four hextets\n      o1 = data.charCodeAt (i++);\n      o2 = data.charCodeAt (i++);\n      o3 = data.charCodeAt (i++);\n\n      if (o1 > 255 || o2 > 255 || o3 > 255) {\n        throw new InvalidCharacterError (\"'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.\");\n      }\n\n      bits = (o1 << 16) | (o2 << 8) | o3;\n      // use hextets to index into b64, and append result to encoded string\n      acc += chars.charAt ((bits >> 18) & 0x3F) +\n             chars.charAt ((bits >> 12) & 0x3F) +\n             chars.charAt ((bits >>  6) & 0x3F) +\n             chars.charAt ((bits)       & 0x3F);\n    }\n\n    switch (data.length % 3) {\n      case 0: return acc;\n      case 1: return acc.slice (0, -2) + '==';\n      case 2: return acc.slice (0, -1) + '=';\n    }\n  }\n\n  // decoder\n  // [https://gist.github.com/1020396] by [https://github.com/atk]\n  function atob(input) {\n    var str = (String (input)).replace (/[=]+$/, ''); // #31: ExtendScript bad parse of /=\n    if (str.length % 4 === 1) {\n      throw new InvalidCharacterError (\"'atob' failed: The string to be decoded is not correctly encoded.\");\n    }\n    for (\n      // initialize result and counters\n      var bc = 0, bs, buffer, idx = 0, output = '';\n      // get next character\n      buffer = str.charAt (idx++); // eslint-disable-line no-cond-assign\n      // character found in table? initialize bit storage and add its ascii value;\n      ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,\n        // and if not first of each 4 characters,\n        // convert the first 8 bits to one ascii character\n        bc++ % 4) ? output += String.fromCharCode (255 & bs >> (-2 * bc & 6)) : 0\n    ) {\n      // try to find character in table (0-63, not found => -1)\n      buffer = chars.indexOf (buffer);\n    }\n    return output;\n  }\n\n  return {btoa: btoa, atob: atob};\n\n}));\n"]}