/* Metro module 1944; source: utils/FunctionUtils.tsx; dependencies: [2] */ function _fun21582(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#21582, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2071:6, offset: 0x00ef45fc, size: 122 bytes, params: 8, frame: 17 const closure = function(a0, a1) { var r0; var property; if (a0 !== a1) { if (a0 == null) { return false; } if (a1 == null) { return false; } var length = a0.length; if (length !== a1.length) { return false; } length = a0.length; var value = 0; if (value < length) { r0 = value; loopExit5: while (true) { property = a0[r0]; if (property !== a1[r0]) { return false; } value = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1; if (value < length) { r0 = value; continue; } break loopExit5; } return true; } } return true; }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (require(2) /* metro dependency 2 */).fileFinishedImporting('utils/FunctionUtils.tsx'); exports.areArraysShallowlyEqual = closure; exports.cachedFunction = function(a0) { var env0_0 = a0; var env0_1 = null; var env0_2 = null; return _fun21585; }; exports.clearObject = function(a0) { var r2; var propertyName; var propertyName2; for (propertyName in a0) { if (!a0.hasOwnProperty(propertyName)) { r2 = propertyName2; continue; } delete a0[propertyName]; r2 = propertyName2; } }; exports.isPlainObjectEmpty = function(a0) { var properties = Object.keys(a0); var properties2 = 0; var properties3 = properties.length; if (properties === undefined) { return true; } var propertyName = properties[properties2]; if (properties2 + 1 === undefined) { return true; } return false; }; } function cachedFunction(a0) { // fn#21584, offset: 0x00ef46c9, size: 26 bytes, params: 2, frame: 3 const env0_0 = a0; return _fun21585; } function _fun21585(a0) { // fn#21585, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2071:439, offset: 0x00ef46e3, size: 77 bytes, params: 2, frame: 16 const value = copyRestArgs(0, undefined); env0_2 = !areArraysShallowlyEqual(env0_1, value) ? apply(env0_0, [], undefined, arraySpread([], value, 0, undefined)) : env0_2; return env0_2; }