Files
2026-07-28 01:06:53 +03:00

636 lines
31 KiB
JavaScript

/* Metro module 348; source: unknown; dependencies: [349, 352, 79, 48, 44, 101, 209] */
import Module00044 from './module-00044.js'; /* Metro dependency 44 */
import Module00048 from './module-00048.js'; /* Metro dependency 48 */
import * as Module00079Module from './module-00079.js'; /* Metro dependency 79 */
function _fun5175(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5175, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:6, offset: 0x00cd6e4d, size: 655 bytes, params: 8, frame: 21
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const value = undefined;
let r6 = (importDefault(349) /* metro dependency 349 */) ?? (importDefault(352) /* metro dependency 352 */);
const Set = global.Set;
const set = new Set();
const env0_9 = [];
const env0_10 = [];
r6 = (r6 == null ? value : r6.queueAndExecuteBatchedOperations) != null && (importAll(79) /* metro dependency 79 */).animatedShouldUseSingleOp();
const env0_13 = {};
const env0_14 = {};
const r4 = (importAll(79) /* metro dependency 79 */).animatedShouldSignalBatch() || (importAll(79) /* metro dependency 79 */).cxxNativeAnimatedEnabled();
const env0_18 = createNativeOperations();
object = {};
object.getValue = r6 ? _fun5183 : _fun5184;
object.setWaitingForIdentifier = setWaitingForIdentifier;
object.unsetWaitingForIdentifier = unsetWaitingForIdentifier;
object.disableQueue = disableQueue;
object.flushQueue = r6 ? _fun5188 : _fun5192;
object.createAnimatedNode = createAnimatedNode;
object.updateAnimatedNodeConfig = updateAnimatedNodeConfig;
object.startListeningToAnimatedNodeValue = startListeningToAnimatedNodeValue;
object.stopListeningToAnimatedNodeValue = stopListeningToAnimatedNodeValue;
object.connectAnimatedNodes = connectAnimatedNodes;
object.disconnectAnimatedNodes = disconnectAnimatedNodes;
r6 = r6 ? _fun5199 : _fun5200;
object.startAnimatingNode = r6;
object.stopAnimation = stopAnimation;
object.setAnimatedNodeValue = setAnimatedNodeValue;
object.setAnimatedNodeOffset = setAnimatedNodeOffset;
object.flattenAnimatedNodeOffset = flattenAnimatedNodeOffset;
object.extractAnimatedNodeOffset = extractAnimatedNodeOffset;
object.connectAnimatedNodeToView = connectAnimatedNodeToView;
object.disconnectAnimatedNodeFromView = disconnectAnimatedNodeFromView;
object.restoreDefaultValues = restoreDefaultValues;
object.dropAnimatedNode = dropAnimatedNode;
object.addAnimatedEventToView = addAnimatedEventToView;
object.removeAnimatedEventFromView = removeAnimatedEventFromView;
const object2 = {API: object, generateNewNodeTag: generateNewNodeTag,
generateNewAnimationId: generateNewAnimationId, assertNativeAnimatedModule: assertNativeAnimatedModule,
shouldUseNativeDriver: shouldUseNativeDriver, shouldSignalBatch: r4, transformDataType: transformDataType};
Object.defineProperty(object2, 'nativeEventEmitter', {get: _fun5217, set: value, enumerable: true,
configurable: true});
exports.default = object2;
return value;
function createNativeOperations() { // fn#5176, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:371, offset: 0x00cd70dc, size: 114 bytes, params: 1, frame: 15
var r4;
var r3;
var closure;
var length;
const items2 = ['createAnimatedNode', 'updateAnimatedNodeConfig', 'getValue', 'startListeningToAnimatedNodeValue',
'stopListeningToAnimatedNodeValue', 'connectAnimatedNodes', 'disconnectAnimatedNodes', 'startAnimatingNode',
'stopAnimation', 'setAnimatedNodeValue', 'setAnimatedNodeOffset', 'flattenAnimatedNodeOffset',
'extractAnimatedNodeOffset', 'connectAnimatedNodeToView', 'disconnectAnimatedNodeFromView',
'restoreDefaultValues', 'dropAnimatedNode', 'addAnimatedEventToView', 'removeAnimatedEventFromView',
'addListener', 'removeListener'];
var value;
if (env0_11) {
closure = createNativeOperations_loop;
value = 0;
var env0_2;
length = items2.length;
if (value < length) {
r3 = value;
reducibleLoop4: while (true) {
closure();
value = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
env0_2 = value;
if (value < length) {
r3 = value;
continue reducibleLoop4;
}
break reducibleLoop4;
}
}
} else {
closure = _loop2;
value = 0;
var env0_3;
length = items2.length;
if (value < length) {
r4 = value;
reducibleLoop2: while (true) {
closure();
value = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1;
env0_3 = value;
if (value < length) {
r4 = value;
continue reducibleLoop2;
}
break reducibleLoop2;
}
}
}
return {};
function createNativeOperations_loop() { // fn#5177, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:941, owner: createNativeOperations._loop, offset: 0x00cd714e, size: 49 bytes, params: 1, frame: 4
env0_1[(env0_2 + 1)[env0_2]] = _fun5178;
function _fun5178() { // fn#5178, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:976, offset: 0x00cd717f, size: 163 bytes, params: 1, frame: 18
var r2;
var value5;
var clearImmediate;
var setImmediate;
var flushQueue;
let value = arguments.length;
const Array = global.Array;
const array = new Array(value);
const value4 = 0;
if (value4 < value) {
r2 = value4;
reducibleLoop1: while (true) {
array[r2] = arguments[r2];
value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
if (value5 < value) {
r2 = value5;
continue reducibleLoop1;
}
break reducibleLoop1;
}
}
value = environment.__proto__.__proto__;
const push = env2_10.push;
const apply = push.apply;
const binding = env2_10;
const items2 = [env0_0];
Reflect.apply(apply, push, [binding, items2.concat(array)]);
reducibleJoin4: while (true) {
if (env2_17) {
clearImmediate = global.clearImmediate;
clearImmediate(env2_12);
setImmediate = global.setImmediate;
flushQueue = env2_19.flushQueue;
env2_12 = setImmediate(flushQueue);
break reducibleJoin4;
}
break reducibleJoin4;
}
}
}
function _loop2() { // fn#5179, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:1185, owner: createNativeOperations._loop2, offset: 0x00cd7222, size: 38 bytes, params: 1, frame: 4
env0_1[env0_0[env0_3]] = _fun5180;
function _fun5180() { // fn#5180, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:1219, offset: 0x00cd7248, size: 239 bytes, params: 1, frame: 18
var environment;
var r2;
var value5;
var length;
var apply;
var binding;
var push;
var clearImmediate;
var setImmediate;
var flushQueue;
let value = arguments.length;
const Array = global.Array;
const array = new Array(value);
const array2 = array;
const value4 = 0;
if (value4 < value) {
r2 = value4;
reducibleLoop1: while (true) {
array[r2] = arguments[r2];
value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
if (value5 < value) {
r2 = value5;
continue reducibleLoop1;
}
break reducibleLoop1;
}
}
value = environment.__proto__.__proto__;
const property = (Module00048)(env2_4)[array2];
reducibleJoin8: while (true) {
reducibleJoin7: while (true) {
if (env2_8) {
break reducibleJoin7;
}
length = env2_9.length;
if (value4 !== length) {
break reducibleJoin7;
}
if (env2_17) {
binding = env2_9;
push = binding.push;
Reflect.apply(push, binding, [_fun5182]);
clearImmediate = global.clearImmediate;
clearImmediate(env2_12);
setImmediate = global.setImmediate;
flushQueue = env2_19.flushQueue;
env2_12 = setImmediate(flushQueue);
break reducibleJoin8;
}
apply = property.apply;
Reflect.apply(apply, property, [undefined, array]);
break reducibleJoin8;
}
binding = env2_9;
push = binding.push;
Reflect.apply(push, binding, [_fun5181]);
break reducibleJoin8;
}
function _fun5181() { // fn#5181, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:1346, offset: 0x00cd7337, size: 26 bytes, params: 1, frame: 13
return env0_1.apply(undefined, env0_0);
}
function _fun5182() { // fn#5182, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:1396, offset: 0x00cd7337, size: 26 bytes, params: 1, frame: 13
return env0_1.apply(undefined, env0_0);
}
}
}
}
function _fun5183(a0, a1) { // fn#5183, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:1556, offset: 0x00cd7351, size: 42 bytes, params: 3, frame: 11
if (a1) {
env0_13[a0] = a1;
}
env0_18.getValue(a0);
}
function _fun5184(a0, a1) { // fn#5184, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:1597, offset: 0x00cd737b, size: 29 bytes, params: 3, frame: 13
env0_18.getValue(a0, a1);
}
function setWaitingForIdentifier(a0) { // fn#5185, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:1652, offset: 0x00cd7398, size: 96 bytes, params: 2, frame: 12
if (!env0_17) {
env0_7.add(a0);
if ((importAll(79) /* metro dependency 79 */).animatedShouldDebounceQueueFlush() && env0_12) {
global.clearImmediate(env0_12);
}
}
}
function unsetWaitingForIdentifier(a0) { // fn#5186, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:1799, offset: 0x00cd73f8, size: 66 bytes, params: 2, frame: 12
if (!env0_17) {
env0_7.delete(a0);
if (env0_7.size === 0) {
env0_19.disableQueue();
}
}
}
function disableQueue() { // fn#5187, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:1904, offset: 0x00cd743a, size: 130 bytes, params: 1, frame: 15
(Module00044)(env0_4, 'Native animated module is not available');
if (Module00079Module.animatedShouldDebounceQueueFlush()) {
global.clearImmediate(env0_12);
env0_12 = global.setImmediate(env0_19.flushQueue);
} else {
env0_19.flushQueue();
}
}
function _fun5188() { // fn#5188, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:2104, offset: 0x00cd74bc, size: 132 bytes, params: 1, frame: 15
(Module00044)(env0_4, 'Native animated module is not available');
if (env0_10.length !== 0) {
ensureGlobalEventEmitterListeners();
if (!(env0_4 == null || env0_4.queueAndExecuteBatchedOperations == null)) {
env0_4.queueAndExecuteBatchedOperations(env0_10);
}
env0_10.length = 0;
}
function ensureGlobalEventEmitterListeners() { // fn#5189, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:2191, offset: 0x00cd7540, size: 110 bytes, params: 1, frame: 19
if (env1_15) {
if (env1_16) {
return undefined;
}
env1_15 = (importDefault(101) /* metro dependency 101 */).addListener('onNativeAnimatedModuleGetValue',
_fun5190);
env1_16 = (importDefault(101) /* metro dependency 101 */).addListener('onNativeAnimatedModuleAnimationFinished',
_fun5191);
} else {
env1_15 = (importDefault(101) /* metro dependency 101 */).addListener('onNativeAnimatedModuleGetValue',
_fun5190);
env1_16 = (importDefault(101) /* metro dependency 101 */).addListener('onNativeAnimatedModuleAnimationFinished',
_fun5191);
}
function _fun5190(a0) { // fn#5190, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:2307, offset: 0x00cd75ae, size: 46 bytes, params: 2, frame: 13
const tag = a0.tag;
const property = env2_13[tag];
if (property) {
property(a0.value);
delete env2_13[tag];
}
}
function _fun5191(a0) { // fn#5191, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:2434, offset: 0x00cd75dc, size: 125 bytes, params: 2, frame: 17
var r1;
var animationId;
var binding;
var property;
var error;
let value = a0;
const Array = global.Array;
reducibleJoin2: while (true) {
if (Array.isArray(value)) {
r1 = value;
break reducibleJoin2;
}
r1 = [value];
break reducibleJoin2;
}
const iterator = r1[Symbol.iterator]();
const iterator2 = iterator.next;
value = environment.__proto__.__proto__;
let r2 = iterator;
let item2 = Reflect.apply(iterator2, r2, []);
let item = item2.value;
item2 = item2.done ? undefined : r2;
reducibleJoin4: while (true) {
if (item2 === undefined) {
return undefined;
}
break reducibleJoin4;
}
reducibleLoop4: while (true) {
try {
animationId = item.animationId;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
binding = env2_14;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
property = binding[animationId];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
reducibleJoin3: while (true) {
if (property) {
try {
property(item);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
binding = env2_14;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
delete binding[animationId];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
r2 = item2;
break reducibleJoin3;
}
r2 = item2;
break reducibleJoin3;
}
item2 = Reflect.apply(iterator2, r2, []);
item = item2.value;
item2 = item2.done ? undefined : r2;
if (item2 === undefined) {
break reducibleLoop4;
}
continue reducibleLoop4;
}
}
}
}
function _fun5192() { // fn#5192, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:2649, offset: 0x00cd7659, size: 198 bytes, params: 1, frame: 17
var r2;
var value3;
var startOperationBatch;
var value4;
var binding;
var value5;
var value6;
var finishOperationBatch;
var value7;
(Module00044)(env0_4, 'Native animated module is not available');
let length = env0_9.length;
const value2 = 0;
reducibleJoin11: while (true) {
if (value2 === length) {
break reducibleJoin11;
}
value3 = env0_4 == null;
reducibleJoin3: while (true) {
if (value3) {
r2 = value3;
break reducibleJoin3;
}
startOperationBatch = env0_4.startOperationBatch;
value4 = startOperationBatch == null;
r2 = value4;
break reducibleJoin3;
}
reducibleJoin5: while (true) {
if (r2) {
break reducibleJoin5;
}
binding = env0_4;
startOperationBatch = binding.startOperationBatch;
Reflect.apply(startOperationBatch, binding, []);
break reducibleJoin5;
}
length = env0_9.length;
if (value2 < length) {
r2 = value2;
reducibleLoop6: while (true) {
binding = env0_9;
binding[r2]();
value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
if (value5 < length) {
r2 = value5;
continue reducibleLoop6;
}
break reducibleLoop6;
}
}
env0_9.length = value2;
value6 = env0_4 == null;
reducibleJoin9: while (true) {
if (value6) {
r2 = value6;
break reducibleJoin9;
}
finishOperationBatch = env0_4.finishOperationBatch;
value7 = finishOperationBatch == null;
r2 = value7;
break reducibleJoin9;
}
if (r2) {
break reducibleJoin11;
}
binding = env0_4;
finishOperationBatch = binding.finishOperationBatch;
Reflect.apply(finishOperationBatch, binding, []);
break reducibleJoin11;
}
}
function createAnimatedNode(a0, a1) { // fn#5193, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:2933, offset: 0x00cd771f, size: 29 bytes, params: 3, frame: 13
env0_18.createAnimatedNode(a0, a1);
}
function updateAnimatedNodeConfig(a0, a1) { // fn#5194, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3018, offset: 0x00cd773c, size: 45 bytes, params: 3, frame: 13
if (env0_18.updateAnimatedNodeConfig != null) {
env0_18.updateAnimatedNodeConfig(a0, a1);
}
}
function startListeningToAnimatedNodeValue(a0) { // fn#5195, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3158, offset: 0x00cd7769, size: 25 bytes, params: 2, frame: 11
env0_18.startListeningToAnimatedNodeValue(a0);
}
function stopListeningToAnimatedNodeValue(a0) { // fn#5196, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3277, offset: 0x00cd7782, size: 25 bytes, params: 2, frame: 11
env0_18.stopListeningToAnimatedNodeValue(a0);
}
function connectAnimatedNodes(a0, a1) { // fn#5197, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3382, offset: 0x00cd779b, size: 29 bytes, params: 3, frame: 13
env0_18.connectAnimatedNodes(a0, a1);
}
function disconnectAnimatedNodes(a0, a1) { // fn#5198, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3470, offset: 0x00cd77b8, size: 29 bytes, params: 3, frame: 13
env0_18.disconnectAnimatedNodes(a0, a1);
}
function _fun5199(a0, a1, a2, a3) { // fn#5199, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3561, offset: 0x00cd77d5, size: 50 bytes, params: 5, frame: 15
if (a3) {
env0_14[a0] = a3;
}
env0_18.startAnimatingNode(a0, a1, a2);
}
function _fun5200(a0, a1, a2, a3) { // fn#5200, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3620, offset: 0x00cd7807, size: 36 bytes, params: 5, frame: 17
env0_18.startAnimatingNode(a0, a1, a2, a3);
}
function stopAnimation(a0) { // fn#5201, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3683, offset: 0x00cd782b, size: 25 bytes, params: 2, frame: 11
env0_18.stopAnimation(a0);
}
function setAnimatedNodeValue(a0, a1) { // fn#5202, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3750, offset: 0x00cd7844, size: 29 bytes, params: 3, frame: 13
env0_18.setAnimatedNodeValue(a0, a1);
}
function setAnimatedNodeOffset(a0, a1) { // fn#5203, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3836, offset: 0x00cd7861, size: 29 bytes, params: 3, frame: 13
env0_18.setAnimatedNodeOffset(a0, a1);
}
function flattenAnimatedNodeOffset(a0) { // fn#5204, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:3928, offset: 0x00cd787e, size: 25 bytes, params: 2, frame: 11
env0_18.flattenAnimatedNodeOffset(a0);
}
function extractAnimatedNodeOffset(a0) { // fn#5205, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4024, offset: 0x00cd7897, size: 25 bytes, params: 2, frame: 11
env0_18.extractAnimatedNodeOffset(a0);
}
function connectAnimatedNodeToView(a0, a1) { // fn#5206, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4120, offset: 0x00cd78b0, size: 29 bytes, params: 3, frame: 13
env0_18.connectAnimatedNodeToView(a0, a1);
}
function disconnectAnimatedNodeFromView(a0, a1) { // fn#5207, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4225, offset: 0x00cd78cd, size: 29 bytes, params: 3, frame: 13
env0_18.disconnectAnimatedNodeFromView(a0, a1);
}
function restoreDefaultValues(a0) { // fn#5208, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4330, offset: 0x00cd78ea, size: 41 bytes, params: 2, frame: 11
if (env0_18.restoreDefaultValues != null) {
env0_18.restoreDefaultValues(a0);
}
}
function dropAnimatedNode(a0) { // fn#5209, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4437, offset: 0x00cd7913, size: 25 bytes, params: 2, frame: 11
env0_18.dropAnimatedNode(a0);
}
function addAnimatedEventToView(a0, a1, a2) { // fn#5210, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4512, offset: 0x00cd792c, size: 33 bytes, params: 4, frame: 15
env0_18.addAnimatedEventToView(a0, a1, a2);
}
function removeAnimatedEventFromView(a0, a1, a2) { // fn#5211, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4612, offset: 0x00cd794d, size: 33 bytes, params: 4, frame: 15
env0_18.removeAnimatedEventFromView(a0, a1, a2);
}
function generateNewNodeTag() { // fn#5212, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4736, offset: 0x00cd796e, size: 19 bytes, params: 1, frame: 3
const binding = env0_5;
const value2 = typeof binding === 'bigint' ? binding : +binding;
env0_5 = typeof value2 === 'bigint' ? value2 + 1n : +value2 + 1;
return value2;
}
function generateNewAnimationId() { // fn#5213, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4801, offset: 0x00cd7981, size: 19 bytes, params: 1, frame: 3
const binding = env0_6;
const value2 = typeof binding === 'bigint' ? binding : +binding;
env0_6 = typeof value2 === 'bigint' ? value2 + 1n : +value2 + 1;
return value2;
}
function assertNativeAnimatedModule() { // fn#5214, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4874, offset: 0x00cd7994, size: 43 bytes, params: 1, frame: 13
(Module00044)(env0_4, 'Native animated module is not available');
}
function shouldUseNativeDriver(a0) { // fn#5215, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:4988, offset: 0x00cd79bf, size: 118 bytes, params: 2, frame: 16
var r0;
var value2;
let useNativeDriver = a0.useNativeDriver;
if (useNativeDriver == null) {
global.console.warn('Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`');
}
useNativeDriver = a0.useNativeDriver;
if (useNativeDriver !== true) {
useNativeDriver = a0.useNativeDriver;
useNativeDriver = !!useNativeDriver && useNativeDriver;
r0 = useNativeDriver;
} else if (env0_4) {
useNativeDriver = a0.useNativeDriver;
useNativeDriver = !!useNativeDriver && useNativeDriver;
r0 = useNativeDriver;
} else {
value2 = false;
if (env0_20) {
r0 = value2;
} else {
global.console.warn('Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md');
r0 = value2;
}
}
return r0;
}
function _fun5217() { // fn#5217, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:5823, offset: 0x00cd7aba, size: 64 bytes, params: 1, frame: 12
var value3;
if (!env0_3) {
value3 = new (importDefault(209) /* metro dependency 209 */)(null);
}
return env0_3;
}
}
function transformDataType(a0) { // fn#5216, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:389:5679, offset: 0x00cd7a35, size: 133 bytes, params: 2, frame: 14
var r1;
var r0;
let value = a0;
if (typeof value !== 'string') {
r0 = value;
} else {
if (value.endsWith('deg')) {
value = global.parseFloat(value);
value = (value || 0) * global.Math.PI / 180;
r1 = value;
} else if (value.endsWith('rad')) {
value = global.parseFloat(value);
r1 = value || 0;
} else {
r1 = value;
}
r0 = r1;
}
return r0;
}
global.__d(_fun5175, 348, [349, 352, 79, 48, 44, 101,
209]) /* metro module 348, dependencies: [349, 352, 79, 48, 44, 101, 209] */;