/* Metro module 1140; source: unknown; dependencies: [1012] */ function _fun12675(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#12675, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1267:6, offset: 0x00dd24c5, size: 77 bytes, params: 8, frame: 16 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); exports.parseContentLengthHeader = function(a0) { var int; var value = undefined; if (a0) { int = (0, global.parseInt)(a0, 10); return (0, global.isNaN)(int) ? value : int; } return value; }; exports.getBodySize = getBodySize_12677; } function getBodySize_12677(a0) { // fn#12677, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1267:224, offset: 0x00dd2512, size: 303 bytes, params: 2, frame: 14 var value; var URLSearchParams; var FormData; var Blob; var ArrayBuffer; var byteLength; var size; var prototype; var uRLSearchParams; var toString; var value2; var property; var moduleValue; var encodeUTF8; var length; var value3; var error; reduciblePort67: while (true) { exceptionLanding66: while (true) { if (a0) { try { value = typeof a0 === 'string'; } catch (error) { break exceptionLanding66; } if (value) { value = environment; try { } catch (error) { break exceptionLanding66; } try { } catch (error) { break exceptionLanding66; } try { property = dependencyMap[0]; } catch (error) { break exceptionLanding66; } try { value = require(property); } catch (error) { break exceptionLanding66; } try { encodeUTF8 = value.encodeUTF8; } catch (error) { break exceptionLanding66; } try { value = Reflect.apply(encodeUTF8, value, [a0]); } catch (error) { break exceptionLanding66; } try { length = value.length; } catch (error) { break exceptionLanding66; } return length; } try { URLSearchParams = global.URLSearchParams; } catch (error) { break exceptionLanding66; } try { value = a0 instanceof URLSearchParams; } catch (error) { break exceptionLanding66; } if (value) { value = environment; try { } catch (error) { break exceptionLanding66; } try { } catch (error) { break exceptionLanding66; } try { property = dependencyMap[0]; } catch (error) { break exceptionLanding66; } try { value = require(property); } catch (error) { break exceptionLanding66; } try { encodeUTF8 = value.encodeUTF8; } catch (error) { break exceptionLanding66; } try { toString = a0.toString; } catch (error) { break exceptionLanding66; } try { value3 = Reflect.apply(toString, a0, []); } catch (error) { break exceptionLanding66; } try { value = Reflect.apply(encodeUTF8, value, [value3]); } catch (error) { break exceptionLanding66; } try { length = value.length; } catch (error) { break exceptionLanding66; } return length; } try { FormData = global.FormData; } catch (error) { break exceptionLanding66; } try { value = a0 instanceof FormData; } catch (error) { break exceptionLanding66; } if (value) { try { URLSearchParams = global.URLSearchParams; } catch (error) { break exceptionLanding66; } try { prototype = URLSearchParams.prototype; } catch (error) { break exceptionLanding66; } try { } catch (error) { break exceptionLanding66; } try { uRLSearchParams = new URLSearchParams(a0); } catch (error) { break exceptionLanding66; } try { value = uRLSearchParams instanceof Object ? uRLSearchParams : value; } catch (error) { break exceptionLanding66; } try { toString = value.toString; } catch (error) { break exceptionLanding66; } try { value = Reflect.apply(toString, value, []); } catch (error) { break exceptionLanding66; } value2 = environment; try { } catch (error) { break exceptionLanding66; } try { } catch (error) { break exceptionLanding66; } try { property = dependencyMap[0]; } catch (error) { break exceptionLanding66; } try { moduleValue = require(property); } catch (error) { break exceptionLanding66; } try { encodeUTF8 = moduleValue.encodeUTF8; } catch (error) { break exceptionLanding66; } try { value = Reflect.apply(encodeUTF8, moduleValue, [value]); } catch (error) { break exceptionLanding66; } try { length = value.length; } catch (error) { break exceptionLanding66; } return length; } try { Blob = global.Blob; } catch (error) { break exceptionLanding66; } try { value = a0 instanceof Blob; } catch (error) { break exceptionLanding66; } if (value) { try { size = a0.size; } catch (error) { break exceptionLanding66; } return size; } try { ArrayBuffer = global.ArrayBuffer; } catch (error) { break exceptionLanding66; } try { value = a0 instanceof ArrayBuffer; } catch (error) { break exceptionLanding66; } if (value) { try { byteLength = a0.byteLength; } catch (error) { break exceptionLanding66; } return byteLength; } break reduciblePort67; } break reduciblePort67; } break reduciblePort67; } }