Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,93 @@
|
||||
/* Metro module 14348; source: modules/remote_auth/RemoteAuthCrypto.android.tsx; dependencies: [5, 6, 7, 14349, 2] */
|
||||
function _fun108596(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#108596, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14545:6, offset: 0x02326f8d, size: 176 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(5) /* metro dependency 5 */;
|
||||
const env0_3 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_4 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_5 = {};
|
||||
let value = _fun108597();
|
||||
value = new value();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/remote_auth/RemoteAuthCrypto.android.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _fun108597() { // fn#108597, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14545:133, offset: 0x0232703d, size: 242 bytes, params: 1, frame: 17
|
||||
const binding = env0_4;
|
||||
const closure = AndroidRemoteAuthCrypto;
|
||||
const binding2 = env0_2;
|
||||
var env0_2 = binding2(_fun108600);
|
||||
const items2 = [{key: 'generateRsaKeyPair', value: value_108601}];
|
||||
items2[1] = {key: 'serializePublicKey', value: value_108602};
|
||||
items2[2] = {key: 'publicKeyFingerprint', value: value_108603};
|
||||
const env0_1 = binding2(_fun108605);
|
||||
items2[3] = {key: 'decryptEncodedCiphertext', value: value_108607};
|
||||
const env0_0 = binding2(_fun108609);
|
||||
items2[4] = {key: 'decryptNonce', value: value_108611};
|
||||
items2[5] = {key: 'release', value: value_108612};
|
||||
return binding(closure, items2);
|
||||
}
|
||||
|
||||
function* _fun108600() { // fn#108600, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14545:262, offset: 0x0232713a, size: 67 bytes, params: 1, frame: 13
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
const value3 = env2_0(env2_1[3]);
|
||||
yield value3.generateKeyPair();
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
return env2_5;
|
||||
}
|
||||
|
||||
function value_108602() { // fn#108602, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14545:414, offset: 0x0232717d, size: 39 bytes, params: 1, frame: 11
|
||||
const value = environment.__proto__;
|
||||
return (importDefault(14349) /* metro dependency 14349: NativeRemoteAuthCryptoModule */).getEncodedPublicKey();
|
||||
}
|
||||
|
||||
function value_108603() { // fn#108603, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14545:498, offset: 0x023271a4, size: 39 bytes, params: 1, frame: 11
|
||||
const value = environment.__proto__;
|
||||
return (importDefault(14349) /* metro dependency 14349: NativeRemoteAuthCryptoModule */).getPublicKeyFingerprint();
|
||||
}
|
||||
|
||||
function* _fun108605(a0, a1) { // fn#108605, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14545:596, offset: 0x023271d6, size: 144 bytes, params: 3, frame: 16
|
||||
var environment;
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
value = env2_0(env2_1[3]);
|
||||
yield value.decrypt(a1);
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
const Uint8Array = global.Uint8Array;
|
||||
const from = Uint8Array.from;
|
||||
value = global.atob(value);
|
||||
value = Reflect.apply(from, Uint8Array, [value, function(a0) {
|
||||
return a0.charCodeAt(0);
|
||||
}]);
|
||||
const TextDecoder = global.TextDecoder;
|
||||
const value4 = Object.create(TextDecoder.prototype, {constructor: {value: TextDecoder}});
|
||||
const textDecoder = new TextDecoder();
|
||||
return (textDecoder instanceof Object ? textDecoder : value4).decode(value);
|
||||
}
|
||||
|
||||
function* _fun108609(a0, a1) { // fn#108609, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14545:829, offset: 0x02327271, size: 84 bytes, params: 3, frame: 12
|
||||
var environment;
|
||||
if (true) {
|
||||
value = environment.__proto__.__proto__;
|
||||
value = env2_0(env2_1[3]);
|
||||
value = value.decrypt(a1);
|
||||
yield value.then(function(a0) {
|
||||
return a0.replace(RegExp('\\/', 'g'), '_').replace(RegExp('\\+', 'g'), '-');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function value_108612() { // fn#108612, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14545:1009, offset: 0x02327304, size: 39 bytes, params: 1, frame: 11
|
||||
const value = environment.__proto__;
|
||||
(importDefault(14349) /* metro dependency 14349: NativeRemoteAuthCryptoModule */).releaseKeyPair();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user