/* Metro module 374; source: unknown; dependencies: [57, 6, 7, 15, 17, 102, 18, 99, 100, 79, 375, 376, 358, 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 Module00057 from './module-00057.js'; /* Metro dependency 57 */ 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 _fun5552(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5552, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:6, offset: 0x00cdf877, size: 351 bytes, params: 8, frame: 19 let Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = Module00100; const env0_11 = value('originalStyleForWeb'); const env0_12 = value('nodeKeys'); const env0_13 = value('nodes'); const env0_14 = value('style'); value = importDefault(357) /* metro dependency 357 */; value = _fun5558(value); Object = global.Object; const env0_15 = Object.prototype.hasOwnProperty; Object = global.Object; const env0_16 = Object.hasOwn ?? (function(a0, a1) { return hasOwnProperty.call(a0, a1); }); exports.default = value; function _isNativeReflectConstruct_5553() { // fn#5553, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:195, offset: 0x00cdf9d6, 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_5553_isNativeReflectConstruct = function() { return !!result; })(); } function _superPropGet_5556(a0, a1, a2, a3) { // fn#5556, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:414, offset: 0x00cdfa34, 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 : _fun5557 : value; function _fun5557(a0) { // fn#5557, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:513, offset: 0x00c62408, size: 27 bytes, params: 2, frame: 13 return env0_1.apply(importDefault, a0); } } function _fun5558(a0) { // fn#5558, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:623, offset: 0x00cdfa97, size: 257 bytes, params: 2, frame: 17 const AnimatedStyle2 = AnimatedStyle; Inherits(AnimatedStyle2, a0); return CreateClass(AnimatedStyle2, [{key: '__getValue', value: value_5560}, {key: '__getValueForStyle', value: function(a0) { return a0; }}, {key: '__replaceAnimatedNodeWithValues', value: value_5562}, {key: '__getAnimatedValue', value: value_5563}, {key: '__attach', value: value_5564}, {key: '__detach', value: value_5565}, {key: '__makeNative', value: value_5566}, {key: '__getNativeConfig', value: value_5567}], [{key: 'from', value: value_5568}]); function AnimatedStyle(a0, a1, a2, a3, a4) { // fn#5559, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:635, offset: 0x00cdfb98, size: 294 bytes, params: 6, frame: 21 const value = environment.__proto__; let binding = env1_4; binding(this, AnimatedStyle); const items2 = [a4]; const value3 = env1_7(AnimatedStyle); const value6 = env1_6(this, _isNativeReflectConstruct_5553() ? global.Reflect.construct(value3, items2, env1_7(this).constructor) : value3.apply(this, items2)); let Object = global.Object; let defineProperty = Object.defineProperty; Reflect.apply(defineProperty, Object, [value6, env1_11, {writable: true, value: undefined}]); Object = global.Object; defineProperty = Object.defineProperty; binding = env1_12; Reflect.apply(defineProperty, Object, [value6, binding, {writable: true, value: undefined}]); Object = global.Object; defineProperty = Object.defineProperty; const binding2 = env1_13; Reflect.apply(defineProperty, Object, [value6, binding2, {writable: true, value: undefined}]); Object = global.Object; defineProperty = Object.defineProperty; const binding3 = env1_14; Reflect.apply(defineProperty, Object, [value6, binding3, {writable: true, value: undefined}]); const binding4 = env1_10; binding4(value6, binding)[binding] = a0; binding4(value6, binding2)[binding2] = a1; binding4(value6, binding3)[binding3] = a2; return value6; } function value_5560() { // fn#5560, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:1183, offset: 0x00cdfcbe, size: 153 bytes, params: 1, frame: 21 var r3; var property; var binding3; var property2; var __getValue; var value4; const object = {}; const Object = global.Object; const keys = Object.keys; let binding = env1_10; const binding2 = env1_14; const value2 = Reflect.apply(keys, Object, [binding(this, binding2)[binding2]]); const length = value2.length; const value3 = 0; if (value3 < length) { r3 = value3; while (true) { property = value2[r3]; binding = env1_10; binding3 = env1_14; property2 = binding(this, binding3)[binding3][property]; if (property2 instanceof (importDefault(358) /* metro dependency 358 */)) { __getValue = property2.__getValue; object[property] = Reflect.apply(__getValue, property2, []); } else { object[property] = property2; } value4 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1; if (value4 < length) { r3 = value4; continue; } break; } } return this.__getValueForStyle(object); } function value_5562(a0) { // fn#5562, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:1503, offset: 0x00cdfd57, size: 258 bytes, params: 2, frame: 27 var r6; var r12; var property; var binding; var binding2; var property2; var __getValue; var __getValueWithStaticObject; var __getValueWithStaticTransforms; var Array; var isArray; var property3; var value4; const Object = global.Object; const value = Object.keys(a0); const length = value.length; const value2 = 0; if (value2 < length) { r6 = value2; reducibleLoop1: while (true) { property = value[r6]; binding = env1_10; binding2 = env1_14; property2 = binding(this, binding2)[binding2][property]; reducibleJoin11: while (true) { reducibleJoin3: while (true) { if (property !== 'transform') { break reducibleJoin3; } if (property2 instanceof (importDefault(376) /* metro dependency 376 */)) { __getValueWithStaticTransforms = property2.__getValueWithStaticTransforms; Array = global.Array; isArray = Array.isArray; if (Reflect.apply(isArray, Array, [a0[property]])) { property3 = a0[property]; r12 = property3; } else { r12 = []; } a0[property] = Reflect.apply(__getValueWithStaticTransforms, property2, [r12]); break reducibleJoin11; } break reducibleJoin3; } if (property2 instanceof (importDefault(375) /* metro dependency 375 */)) { __getValueWithStaticObject = property2.__getValueWithStaticObject; a0[property] = Reflect.apply(__getValueWithStaticObject, property2, [a0[property]]); break reducibleJoin11; } if (property2 instanceof (importDefault(358) /* metro dependency 358 */)) { __getValue = property2.__getValue; a0[property] = Reflect.apply(__getValue, property2, []); break reducibleJoin11; } break reducibleJoin11; } value4 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1; if (value4 < length) { r6 = value4; continue reducibleLoop1; } break reducibleLoop1; } } } function value_5563() { // fn#5563, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:1873, offset: 0x00cdf4b3, size: 87 bytes, params: 1, frame: 17 var r1; var property3; var property4; var __getAnimatedValue; const object = {}; let value = environment.__proto__; const binding = env1_10; const binding2 = env1_12; const property = binding(this, binding2)[binding2]; const binding3 = env1_13; const property2 = binding(this, binding3)[binding3]; const length = property2.length; value = 0; if (value < length) { for (r1 = value; true; r1 = value) { property3 = property[r1]; property4 = property2[r1]; __getAnimatedValue = property4.__getAnimatedValue; object[property3] = Reflect.apply(__getAnimatedValue, property4, []); value = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1; if (!(value < length)) { break; } } } return object; } function value_5564() { // fn#5564, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:2049, offset: 0x00cdfe59, size: 100 bytes, params: 1, frame: 19 var r2; var property2; var value3; const value = environment.__proto__; const binding = env1_10; const binding2 = env1_13; 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_5556(AnimatedStyle, '__attach', this, 3)([]); } function value_5565() { // fn#5565, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:2213, offset: 0x00cdfebd, size: 100 bytes, params: 1, frame: 19 var r2; var property2; var value3; const value = environment.__proto__; const binding = env1_10; const binding2 = env1_13; 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_5556(AnimatedStyle, '__detach', this, 3)([]); } function value_5566(a0) { // fn#5566, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:2384, offset: 0x00cdff21, size: 107 bytes, params: 2, frame: 20 var r2; var property2; var value3; const value = environment.__proto__; const binding = env1_10; const binding2 = env1_13; 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_5556(AnimatedStyle, '__makeNative', this, 3)([a0]); } function value_5567() { // fn#5567, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:2566, offset: 0x00cdff8c, size: 137 bytes, params: 1, frame: 19 var r0; var property3; var property4; var __getNativeTag; var value4; const value = this.__getPlatformConfig(); const object = {}; const binding = env1_10; const binding2 = env1_12; const property = binding(this, binding2)[binding2]; const binding3 = env1_13; const property2 = binding(this, binding3)[binding3]; const length = property2.length; const value3 = 0; if (value3 < length) { for (r0 = value3; true; r0 = value4) { property3 = property[r0]; property4 = property2[r0]; property4.__makeNative(value); __getNativeTag = property4.__getNativeTag; object[property3] = Reflect.apply(__getNativeTag, property4, []); value4 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1; if (!(value4 < length)) { break; } } } const object2 = {type: 'style', style: object}; object2.debugID = this.__getDebugID(); return object2; } function value_5568(a0, a1, a2) { // fn#5568, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:415:2830, offset: 0x00ce0015, size: 415 bytes, params: 4, frame: 36 var r8; var r18; var r21; var r1; var property; var property2; var defaultImport; var from; var value5; var moduleValue; var shouldUseAnimatedObjectForTransform; var shouldUseAnimatedObjectForTransform2; var defaultImport2; var value6; var defaultImport3; var value7; var push; var value8; var prototype; var animatedStyle; let value = null; if (value == a0) { return value; } const items3 = []; const items2 = []; const object = {}; const Object = global.Object; const value2 = Object.keys(a0); const length = value2.length; const value3 = 0; if (value3 < length) { r8 = value3; reducibleLoop2: while (true) { property = value2[r8]; property2 = a0[property]; reducibleJoin17: while (true) { reducibleJoin14: while (true) { if (value == a1) { if (value != property2) { if (property === 'transform') { moduleValue = importAll(79) /* metro dependency 79 */; shouldUseAnimatedObjectForTransform = moduleValue.shouldUseAnimatedObjectForTransform; shouldUseAnimatedObjectForTransform2 = Reflect.apply(shouldUseAnimatedObjectForTransform, moduleValue, []); if (shouldUseAnimatedObjectForTransform2) { defaultImport3 = importDefault(375) /* metro dependency 375 */; from = defaultImport3.from; value7 = Reflect.apply(from, defaultImport3, [property2]); r21 = value7; } else { defaultImport2 = importDefault(376) /* metro dependency 376 */; from = defaultImport2.from; value6 = Reflect.apply(from, defaultImport2, [property2]); r21 = value6; } r18 = r21; break reducibleJoin14; } } reducibleJoin9: while (true) { if (property2 instanceof (importDefault(358) /* metro dependency 358 */)) { r18 = property2; break reducibleJoin9; } defaultImport = importDefault(375) /* metro dependency 375 */; from = defaultImport.from; value5 = Reflect.apply(from, defaultImport, [property2]); r18 = value5; break reducibleJoin9; } break reducibleJoin14; } if (env1_16(a1, property)) { if (value != property2) { if (property === 'transform') { moduleValue = importAll(79) /* metro dependency 79 */; shouldUseAnimatedObjectForTransform = moduleValue.shouldUseAnimatedObjectForTransform; shouldUseAnimatedObjectForTransform2 = Reflect.apply(shouldUseAnimatedObjectForTransform, moduleValue, []); if (shouldUseAnimatedObjectForTransform2) { defaultImport3 = importDefault(375) /* metro dependency 375 */; from = defaultImport3.from; value7 = Reflect.apply(from, defaultImport3, [property2]); r21 = value7; } else { defaultImport2 = importDefault(376) /* metro dependency 376 */; from = defaultImport2.from; value6 = Reflect.apply(from, defaultImport2, [property2]); r21 = value6; } r18 = r21; break reducibleJoin14; } } reducibleJoin9: while (true) { if (property2 instanceof (importDefault(358) /* metro dependency 358 */)) { r18 = property2; break reducibleJoin9; } defaultImport = importDefault(375) /* metro dependency 375 */; from = defaultImport.from; value5 = Reflect.apply(from, defaultImport, [property2]); r18 = value5; break reducibleJoin9; } break reducibleJoin14; } object[property] = property2; break reducibleJoin17; } if (value == r18) { object[property] = property2; break reducibleJoin17; } push = items3.push; Reflect.apply(push, items3, [property]); push = items2.push; Reflect.apply(push, items2, [r18]); object[property] = r18; break reducibleJoin17; } value8 = typeof r8 === 'bigint' ? r8 + 1n : +r8 + 1; if (value8 < length) { r8 = value8; continue reducibleLoop2; } break reducibleLoop2; } } const value9 = env1_3([items3, items2, object], 3); property = value9[value3]; const property3 = value9[1]; reducibleJoin20: while (true) { if (value3 === property3.length) { r1 = value; break reducibleJoin20; } value = environment; prototype = AnimatedStyle.prototype; value = Object.create(prototype, {constructor: {value: AnimatedStyle}}); animatedStyle = new AnimatedStyle(property, property3, value9[2], a2); value = animatedStyle instanceof Object ? animatedStyle : value; r1 = value; break reducibleJoin20; } return r1; } } } global.__d(_fun5552, 374, [57, 6, 7, 15, 17, 102, 18, 99, 100, 79, 375, 376, 358, 357]) /* metro module 374, dependencies: [57, 6, 7, 15, 17, 102, 18, 99, 100, 79, 375, 376, 358, 357] */;