/* Metro module 1298; source: unknown; dependencies: [1299] */ function _fun14335(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#14335, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1425:6, offset: 0x00e01ea0, size: 175 bytes, params: 8, frame: 17 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); exports.runtimeHashMessageKey = runtimeHashMessageKey; const env0_2 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); const Uint8Array = global.Uint8Array; const uint8Array = new Uint8Array(4); const Uint32Array = global.Uint32Array; const buffer = uint8Array.buffer; const value2 = Object.create(Uint32Array.prototype, {constructor: {value: Uint32Array}}); const uint32Array = new Uint32Array(buffer); (uint32Array instanceof Object ? uint32Array : value2)[0] = 1; const result = !(1 & uint8Array[0]); function runtimeHashMessageKey(a0) { // fn#14336, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1425:117, offset: 0x00e01f4f, size: 463 bytes, params: 2, frame: 24 var r3; var unshift; var value8; var value9; var reverse; var value12; const value2 = 0; const value3 = require(dependencyMap[value2]).hash(a0, value2); let BigInt = global.BigInt; const value4 = BigInt(value3); const items2 = []; const Math = global.Math; const ceil = Math.ceil; const Math2 = global.Math; const floor = Math2.floor; const Math3 = global.Math; const log2 = Math3.log2; let Number = global.Number; const value7 = Reflect.apply(ceil, Math, [Reflect.apply(floor, Math2, [Reflect.apply(log2, Math3, [Number(value4)]) + 1]) / 8]); if (value2 < value7) { r3 = value2; reducibleLoop1: while (true) { unshift = items2.unshift; Number = global.Number; BigInt = global.BigInt; value8 = value4 >> BigInt(8 * r3); BigInt = global.BigInt; Reflect.apply(unshift, items2, [Number(value8 & BigInt(255))]); value9 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1; if (value9 < value7) { r3 = value9; continue reducibleLoop1; } break reducibleLoop1; } } const Uint8Array = global.Uint8Array; const uint8Array = new Uint8Array(items2); reducibleJoin4: while (true) { if (result) { r3 = uint8Array; break reducibleJoin4; } reverse = uint8Array.reverse; value12 = Reflect.apply(reverse, uint8Array, []); r3 = value12; break reducibleJoin4; } return [env0_2[r3[value2] >> 2], env0_2[(3 & r3[value2]) << 4 | r3[1] >> 4], env0_2[(15 & r3[1]) << 2 | r3[2] >> 6], env0_2[63 & r3[2]], env0_2[r3[3] >> 2], env0_2[(3 & r3[3]) << 4 | r3[4] >> 4]].join(''); } } global.__d(_fun14335, 1298, [1299]) /* metro module 1298, dependencies: [1299] */;