Gazebo_simulation-Frontend/node_modules/b64-lite/dist/b64-lite.mjs.map
2020-12-21 10:29:31 -05:00

1 line
1.6 KiB
Plaintext

{"version":3,"file":"b64-lite.mjs","sources":["../browser.js"],"sourcesContent":["export function atob(b64) {\n return window.atob(b64) \n}\nexport function btoa(bin) {\n return window.btoa(bin) \n}\nexport function toBase64(input) {\n if (typeof input === 'string')\n return window.btoa(unescape(encodeURIComponent(input)))\n else {\n var buffer = new Uint8Array(input);\n var binary = '';\n for (var b = 0; b < buffer.byteLength; b++) {\n binary += String.fromCharCode(buffer[b]);\n }\n return window.btoa(binary);\n }\n}\nexport function fromBase64(b64) {\n return decodeURIComponent(escape(window.atob(b64)))\n}\nexport function toBuffer(b64) {\n var utf8 = window.atob(b64);\n var result = new Uint8Array(utf8.length);\n for (var i = 0; i < utf8.length; i++) {\n result[i] = utf8.charCodeAt(i);\n }\n return result;\n}\n"],"names":["atob","b64","window","btoa","bin","toBase64","input","unescape","encodeURIComponent","buffer","Uint8Array","binary","b","byteLength","String","fromCharCode","fromBase64","decodeURIComponent","escape","toBuffer","utf8","result","length","i","charCodeAt"],"mappings":"AAAO,SAASA,EAAKC,UACZC,OAAOF,KAAKC,GAEd,SAASE,EAAKC,UACZF,OAAOC,KAAKC,GAEd,SAASC,EAASC,MACF,iBAAVA,EACT,OAAOJ,OAAOC,KAAKI,SAASC,mBAAmBF,aAE3CG,EAAS,IAAIC,WAAWJ,GACxBK,EAAS,GACJC,EAAI,EAAGA,EAAIH,EAAOI,WAAYD,IACnCD,GAAUG,OAAOC,aAAaN,EAAOG,WAElCV,OAAOC,KAAKQ,GAGhB,SAASK,EAAWf,UAClBgB,mBAAmBC,OAAOhB,OAAOF,KAAKC,KAExC,SAASkB,EAASlB,WACnBmB,EAAOlB,OAAOF,KAAKC,GACnBoB,EAAS,IAAIX,WAAWU,EAAKE,QACxBC,EAAI,EAAGA,EAAIH,EAAKE,OAAQC,IAC7BF,EAAOE,GAAKH,EAAKI,WAAWD,UAEzBF"}