/* Metro module 1325; source: unknown; dependencies: [] */ function _fun15166(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#15166, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1452:6, offset: 0x00e25415, size: 126 bytes, params: 8, frame: 16 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); exports.assert = undefined; exports.assertNever = undefined; exports.assertInt32 = undefined; exports.assertUInt32 = undefined; exports.assertFloat32 = undefined; exports.assert = function(a0, a1) { if (a0) { return undefined; } var Error = global.Error; throw new Error(a1); }; exports.assertNever = function(a0, a1) { var r2; var value = a1; var Error = global.Error; r2 = value ?? 'Unexpected object: ' + a0; throw new Error(); }; exports.assertInt32 = assertInt32; exports.assertUInt32 = assertUInt32; exports.assertFloat32 = assertFloat32; } function assertInt32(a0) { // fn#15169, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1452:329, offset: 0x00e254f5, size: 138 bytes, params: 2, frame: 13 var Error; var error; var value3; let value = typeof a0; if (value !== 'number') { Error = global.Error; value3 = Object.create(Error.prototype, {constructor: {value: Error}}); value = 'invalid int 32: ' + value; error = new Error(value); value = error instanceof Object ? error : value3; throw value; } const Number = global.Number; if (Number.isInteger(a0)) { if (a0 > 2147483647) { throw new global.Error('invalid int 32: ' + a0); } if (a0 < -2147483648) { throw new global.Error('invalid int 32: ' + a0); } return undefined; } Error = global.Error; value = 'invalid int 32: ' + a0; const value2 = Object.create(Error.prototype, {constructor: {value: Error}}); error = new Error(value); throw error instanceof Object ? error : value2; } function assertUInt32(a0) { // fn#15170, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1452:527, offset: 0x00e2557f, size: 138 bytes, params: 2, frame: 13 var Error; var error; var value3; let value = typeof a0; if (value !== 'number') { Error = global.Error; value3 = Object.create(Error.prototype, {constructor: {value: Error}}); value = 'invalid uint 32: ' + value; error = new Error(value); value = error instanceof Object ? error : value3; throw value; } const Number = global.Number; if (Number.isInteger(a0)) { if (a0 > 4294967295) { throw new global.Error('invalid uint 32: ' + a0); } if (a0 < 0) { throw new global.Error('invalid uint 32: ' + a0); } return undefined; } Error = global.Error; value = 'invalid uint 32: ' + a0; const value2 = Object.create(Error.prototype, {constructor: {value: Error}}); error = new Error(value); throw error instanceof Object ? error : value2; } function assertFloat32(a0) { // fn#15171, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1452:719, offset: 0x00e25609, size: 146 bytes, params: 2, frame: 13 var Error; var error; var value3; let value = typeof a0; if (value !== 'number') { Error = global.Error; value3 = Object.create(Error.prototype, {constructor: {value: Error}}); value = 'invalid float 32: ' + value; error = new Error(value); value = error instanceof Object ? error : value3; throw value; } const Number = global.Number; if (Number.isFinite(a0)) { if (a0 > 340282346638528860000000000000000000000) { throw new global.Error('invalid float 32: ' + a0); } if (a0 < -340282346638528860000000000000000000000) { throw new global.Error('invalid float 32: ' + a0); } } } global.__d(_fun15166, 1325, []) /* metro module 1325 */;