2 lines
550 KiB
JavaScript
2 lines
550 KiB
JavaScript
|
!function(A){function g(A){"use strict";var g;void 0===(g=A)&&(g={});var I=g;"object"!=typeof I.sodium&&("object"==typeof global?I=global:"object"==typeof window&&(I=window)),"object"==typeof I.sodium&&"number"==typeof I.sodium.totalMemory&&(g.TOTAL_MEMORY=I.sodium.totalMemory);var e=g;return g.ready=new Promise((function(A,g){(r=e).onAbort=g,r.print=function(A){},r.printErr=function(A){},r.onRuntimeInitialized=function(){try{r._crypto_secretbox_keybytes(),A()}catch(A){g(A)}},r.useBackupModule=function(){return new Promise((function(A,g){(r={}).onAbort=g,r.onRuntimeInitialized=function(){Object.keys(e).forEach((function(A){"getRandomValue"!==A&&delete e[A]})),Object.keys(r).forEach((function(A){e[A]=r[A]})),A()};var I,r=void 0!==r?r:{},B={};for(I in r)r.hasOwnProperty(I)&&(B[I]=r[I]);var a=[],t=!1,n=!1,i=!1,C=!1;t="object"==typeof window,n="function"==typeof importScripts,i="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,C=!t&&!i&&!n;var o,Q,c,E,s,y="";function _(A){return r.locateFile?r.locateFile(A,y):y+A}i?(y=n?require("path").dirname(y)+"/":__dirname+"/",o=function(A,g){var I=DA(A);return I?g?I:I.toString():(E||(E=require("fs")),s||(s=require("path")),A=s.normalize(A),E.readFileSync(A,g?null:"utf8"))},c=function(A){var g=o(A,!0);return g.buffer||(g=new Uint8Array(g)),v(g.buffer),g},process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),a=process.argv.slice(2),"undefined"!=typeof module&&(module.exports=r),r.inspect=function(){return"[Emscripten Module object]"}):C?("undefined"!=typeof read&&(o=function(A){var g=DA(A);return g?uA(g):read(A)}),c=function(A){var g;return(g=DA(A))?g:"function"==typeof readbuffer?new Uint8Array(readbuffer(A)):(v("object"==typeof(g=read(A,"binary"))),g)},"undefined"!=typeof scriptArgs?a=scriptArgs:void 0!==arguments&&(a=arguments),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(t||n)&&(n?y=self.location.href:"undefined"!=typeof document&&document.currentScript&&(y=document.currentScript.src),y=0!==y.indexOf("blob:")?y.substr(0,y.lastIndexOf("/")+1):"",o=function(A){try{var g=new XMLHttpRequest;return g.open("GET",A,!1),g.send(null),g.responseText}catch(g){var I=DA(A);if(I)return uA(I);throw g}},n&&(c=function(A){try{var g=new XMLHttpRequest;return g.open("GET",A,!1),g.responseType="arraybuffer",g.send(null),new Uint8Array(g.response)}catch(g){var I=DA(A);if(I)return I;throw g}}),Q=function(A,g,I){var e=new XMLHttpRequest;e.open("GET",A,!0),e.responseType="arraybuffer",e.onload=function(){if(200==e.status||0==e.status&&e.response)g(e.response);else{var r=DA(A);r?g(r.buffer):I()}},e.onerror=I,e.send(null)}),r.print;var h,f=r.printErr||void 0;for(I in B)B.hasOwnProperty(I)&&(r[I]=B[I]);B=null,r.arguments&&(a=r.arguments),r.thisProgram&&r.thisProgram,r.quit&&r.quit,r.wasmBinary&&(h=r.wasmBinary),r.noExitRuntime;var p,u={Memory:function(A){this.buffer=new ArrayBuffer(65536*A.initial)},Module:function(A){},Instance:function(A,g){this.exports=function(A){for(var g,I=new Uint8Array(123),e=25;e>=0;--e)I[48+e]=52+e,I[65+e]=e,I[97+e]=26+e;function r(A,g,e){for(var r,B,a=0,t=g,n=e.length,i=g+(3*n>>2)-("="==e[n-2])-("="==e[n-1]);a<n;a+=4)r=I[e.charCodeAt(a+1)],B=I[e.charCodeAt(a+2)],A[t++]=I[e.charCodeAt(a)]<<2|r>>4,t<i&&(A[t++]=r<<4|B>>2),t<i&&(A[t++]=B<<6|I[e.charCodeAt(a+3)])}return I[43]=62,I[47]=63,function(A){var I=A.a,e=I.buffer;I.grow=function(A){A|=0;var r=0|YI(),o=r+A|0;if(r<o&&o<65536){var Q=new ArrayBuffer(C(o,65536));new Int8Array(Q).set(B),B=new Int8Array(Q),a=new Int16Array(Q),t=new Int32Array(Q),n=new Uint8Array(Q),new Uint16Array(Q),i=new Uint32Array(Q),new Float32Array(Q),new Float64Array(Q),e=Q,I.buffer=e,g=n}return r};var B=new Int8Array(e),a=new Int16Array(e),t=new Int32Array(e),n=new Uint8Array(e),i=(new Uint16Array(e),new Uint32Array(e)),C=(new Float32Array(e),new Float64Array(e),Math.imul),o=(Math.fround,Math.abs,Math.clz32),Q=(Math.min,Math.max,Math.floor,Math.ceil,Math.trunc,Math.sqrt,A.abort),c=A.b,E=A.c,s=A.
|