/* Metro module 376; source: unknown; dependencies: [6, 7, 15, 17, 102, 18, 99, 100, 358, 348, 357] */ import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */ import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */ import Module00017 from './module-00017.js'; /* Metro dependency 17 */ import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */ import Module00099 from './module-00099.js'; /* Metro dependency 99 */ import Module00100 from './module-00100.js'; /* Metro dependency 100 */ import Module00102 from './module-00102.js'; /* Metro dependency 102 */ function _fun5594(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5594, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:6, offset: 0x00ce0a3a, size: 246 bytes, params: 8, frame: 18 const mapTransforms = function(a0, a1) { var env0_0 = a1; return a0.map(_fun5601); }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_9 = (Module00100)('nodes'); exports.default = _fun5603(importDefault(357) /* metro dependency 357 */); function _isNativeReflectConstruct_5595() { // fn#5595, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:169, offset: 0x00ce0b30, size: 94 bytes, params: 1, frame: 18 var Boolean; var prototype; var valueOf; var call; var Reflect; var construct; var closure; var value; var error; try { Boolean = global.Boolean; prototype = Boolean.prototype; valueOf = prototype.valueOf; call = valueOf.call; Reflect = global.Reflect; construct = Reflect.construct; Boolean = global.Boolean; closure = function() { }; value = Reflect.apply(construct, Reflect, [Boolean, [], closure]); value = Reflect.apply(call, valueOf, [value]); var result = !value; } catch (error) { } return (_isNativeReflectConstruct_5595_isNativeReflectConstruct = function() { return !!result; })(); } function _superPropGet_5598(a0, a1, a2, a3) { // fn#5598, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:388, offset: 0x00ce0b8e, size: 99 bytes, params: 5, frame: 18 let value = a0; const env0_0 = a2; value = Module00017(1 & 3 ? value.prototype : value); value = Module00102(value, a1, a2); return 2 & 3 ? typeof value !== 'function' ? value : _fun5599 : value; function _fun5599(a0) { // fn#5599, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:487, offset: 0x00c62408, size: 27 bytes, params: 2, frame: 13 return env0_1.apply(importDefault, a0); } } function mapTransforms(a0, a1) { // fn#5600, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:2603, offset: 0x00ce0bf1, size: 29 bytes, params: 3, frame: 11 const env0_0 = a1; return a0.map(_fun5601); function _fun5601(a0) { // fn#5601, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:2645, offset: 0x00ce0c0e, size: 271 bytes, params: 2, frame: 38 var r11; var r23; var r27; var propertyName; var propertyName2; var property; var Array; var isArray; var object; var properties4; var properties5; var properties6; var propertyName3; var propertyName4; var property2; var moduleValue; var map; const object2 = {}; for (propertyName in a0) { property = a0[propertyName]; if (property instanceof (importDefault(358) /* metro dependency 358 */)) { object2[propertyName] = require(property); r11 = propertyName2; } else { Array = global.Array; isArray = Array.isArray; if (Reflect.apply(isArray, Array, [property])) { map = property.map; object2[propertyName] = Reflect.apply(map, property, [_fun5602]); r11 = propertyName2; } else if (typeof property === 'object') { object = {}; properties4 = Object.keys(property); properties5 = 0; properties6 = properties4.length; if (properties4 === undefined) { continue; } r23 = properties5; while (true) { propertyName3 = properties4[r23]; propertyName4 = r23 + 1; if (propertyName3 === undefined) { break; } property2 = property[propertyName3]; if (!(property2 instanceof (importDefault(358) /* metro dependency 358 */))) { r27 = property2; continue; } moduleValue = require(property2); r27 = moduleValue; object[propertyName3] = r27; r23 = propertyName4; } object2[propertyName] = object; r11 = propertyName2; } else { object2[propertyName] = property; r11 = propertyName2; } } } return object2; function _fun5602(a0) { // fn#5602, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:2764, offset: 0x00ce0d1d, size: 52 bytes, params: 2, frame: 12 var r0; var value3; let value = a0; if (value instanceof (importDefault(358) /* metro dependency 358 */)) { value3 = environment.__proto__; value = require(value); r0 = value; } else { r0 = value; } return r0; } } } function _fun5603(a0) { // fn#5603, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:547, offset: 0x00ce0d51, size: 234 bytes, params: 2, frame: 17 const AnimatedTransform2 = AnimatedTransform; Inherits(AnimatedTransform2, a0); return CreateClass(AnimatedTransform2, [{key: '__makeNative', value: value_5605}, {key: '__getValue', value: function() { return mapTransforms(this._transforms, _fun5607); }}, {key: '__getValueWithStaticTransforms', value: function(a0) { var env0_0 = []; var mapTransformsBinding = mapTransforms; mapTransformsBinding(this._transforms, _fun5609); return mapTransformsBinding(a0, _fun5610); }}, {key: '__getAnimatedValue', value: function() { return mapTransforms(this._transforms, _fun5612); }}, {key: '__attach', value: value_5613}, {key: '__detach', value: value_5614}, {key: '__getNativeConfig', value: value_5615}], [{key: 'from', value: value_5616}]); function AnimatedTransform(a0, a1, a2) { // fn#5604, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:559, offset: 0x00ce0e3b, size: 178 bytes, params: 4, frame: 20 const value = environment.__proto__; let binding = env1_2; binding(this, AnimatedTransform); const items2 = [a2]; const value3 = env1_5(AnimatedTransform); const value6 = env1_4(this, _isNativeReflectConstruct_5595() ? global.Reflect.construct(value3, items2, env1_5(this).constructor) : value3.apply(this, items2)); const Object = global.Object; const defineProperty = Object.defineProperty; binding = env1_9; Reflect.apply(defineProperty, Object, [value6, binding, {writable: true, value: undefined}]); env1_8(value6, binding)[binding] = a0; value6._transforms = a1; return value6; } function value_5605(a0) { // fn#5605, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:955, offset: 0x00ce0eed, size: 107 bytes, params: 2, frame: 20 var r2; var property2; var value3; const value = environment.__proto__; const binding = env1_8; const binding2 = env1_9; const property = binding(this, binding2)[binding2]; const length = property.length; const value2 = 0; if (value2 < length) { for (r2 = value2; true; r2 = value3) { property2 = property[r2]; property2.__makeNative(a0); value3 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1; if (!(value3 < length)) { break; } } } _superPropGet_5598(AnimatedTransform, '__makeNative', this, 3)([a0]); } function value_5606() { // fn#5606, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:1134, offset: 0x00ce0f58, size: 33 bytes, params: 1, frame: 13 return mapTransforms(this._transforms, function(a0) { return a0.__getValue(); }); } function value_5608(a0) { // fn#5608, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:1278, offset: 0x00ce0f79, size: 55 bytes, params: 2, frame: 14 const env0_0 = []; const mapTransformsBinding = mapTransforms; mapTransformsBinding(this._transforms, _fun5609); return mapTransformsBinding(a0, _fun5610); function _fun5609(a0) { // fn#5609, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:1369, offset: 0x00ce0fb0, size: 34 bytes, params: 2, frame: 12 const binding = env0_0; binding.push(a0.__getValue()); } function _fun5610() { // fn#5610, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:1424, offset: 0x00ce0fd2, size: 19 bytes, params: 1, frame: 9 return env0_0.shift(); } } function value_5611() { // fn#5611, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:1489, offset: 0x00ce0fe5, size: 33 bytes, params: 1, frame: 13 return mapTransforms(this._transforms, function(a0) { return a0.__getAnimatedValue(); }); } function value_5613() { // fn#5613, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:1627, offset: 0x00ce1006, size: 100 bytes, params: 1, frame: 19 var r2; var property2; var value3; const value = environment.__proto__; const binding = env1_8; const binding2 = env1_9; const property = binding(this, binding2)[binding2]; const length = property.length; const value2 = 0; if (value2 < length) { for (r2 = value2; true; r2 = value3) { property2 = property[r2]; property2.__addChild(this); value3 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1; if (!(value3 < length)) { break; } } } _superPropGet_5598(AnimatedTransform, '__attach', this, 3)([]); } function value_5614() { // fn#5614, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:1795, offset: 0x00ce106a, size: 100 bytes, params: 1, frame: 19 var r2; var property2; var value3; const value = environment.__proto__; const binding = env1_8; const binding2 = env1_9; const property = binding(this, binding2)[binding2]; const length = property.length; const value2 = 0; if (value2 < length) { for (r2 = value2; true; r2 = value3) { property2 = property[r2]; property2.__removeChild(this); value3 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1; if (!(value3 < length)) { break; } } } _superPropGet_5598(AnimatedTransform, '__detach', this, 3)([]); } function value_5615() { // fn#5615, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:1975, offset: 0x00ce10ce, size: 275 bytes, params: 1, frame: 35 var r10; var r17; var property; var propertyName; var propertyName2; var property2; var push; var object; const items2 = []; const _transforms = this._transforms; const length = _transforms.length; let value = 0; if (value < length) { r10 = value; while (true) { property = _transforms[r10]; for (propertyName in property) { property2 = property[propertyName]; value = property2 instanceof (importDefault(358) /* metro dependency 358 */); push = items2.push; object = {}; if (value) { object.type = 'animated'; object.property = propertyName; object.nodeTag = property2.__getNativeTag(); Reflect.apply(push, items2, [object]); r17 = propertyName2; } else { object.type = 'static'; object.property = propertyName; value = importDefault(348) /* metro dependency 348 */; object.value = value.transformDataType(property2); Reflect.apply(push, items2, [object]); r17 = propertyName2; } } value = typeof r10 === 'bigint' ? r10 + 1n : +r10 + 1; if (value < length) { r10 = value; continue; } break; } } const object2 = {type: 'transform', transforms: items2}; object2.debugID = this.__getDebugID(); return object2; } function value_5616(a0) { // fn#5616, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:2342, offset: 0x00ce11e1, size: 196 bytes, params: 2, frame: 29 var r1; var r13; var property; var propertyName; var propertyName2; var property2; var value4; const value = a0; const Array = global.Array; const r9 = Array.isArray(value) ? value : []; const items2 = []; const length = r9.length; const value2 = 0; if (value2 < length) { r1 = value2; while (true) { property = r9[r1]; for (propertyName in property) { property2 = property[propertyName]; if (!(property2 instanceof (importDefault(358) /* metro dependency 358 */))) { r13 = propertyName2; continue; } items2.push(property2); r13 = propertyName2; } value4 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1; if (value4 < length) { r1 = value4; continue; } break; } } return value2 === items2.length ? null : new AnimatedTransform(items2, value); } } } function _fun5607(a0) { // fn#5607, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:1195, offset: 0x00ce07d4, size: 15 bytes, params: 2, frame: 9 return a0.__getValue(); } function _fun5612(a0) { // fn#5612, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:417:1558, offset: 0x00ce0863, size: 15 bytes, params: 2, frame: 9 return a0.__getAnimatedValue(); } global.__d(_fun5594, 376, [6, 7, 15, 17, 102, 18, 99, 100, 358, 348, 357]) /* metro module 376, dependencies: [6, 7, 15, 17, 102, 18, 99, 100, 358, 348, 357] */;