98 lines
5.3 KiB
JavaScript
98 lines
5.3 KiB
JavaScript
/* Metro module 5381; source: unknown; dependencies: [6, 7, 15, 17, 102, 18, 5360] */
|
|
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 Module00102 from './module-00102.js'; /* Metro dependency 102 */
|
|
import * as Module05360Module from './module-05360.js'; /* Metro dependency 5360 */
|
|
|
|
function _fun47472(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47472, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5559:6, offset: 0x011c1feb, size: 217 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {code: 'function changeEventCalculator_Pnpm_manualGestureTs1(current,_previous){return current;}'};
|
|
const env0_7 = _fun47476();
|
|
const ContinousBaseGesture = (Module05360Module).ContinousBaseGesture;
|
|
exports.ManualGesture = _fun47478(ContinousBaseGesture);
|
|
function _isNativeReflectConstruct_47473() { // fn#47473, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5559:159, offset: 0x011c20c4, 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_47473_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun47476() { // fn#47476, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5559:484, offset: 0x011c2122, size: 46 bytes, params: 1, frame: 2
|
|
const closure = function(a0, a1) {
|
|
return a0;
|
|
};
|
|
closure.__closure = {};
|
|
closure.__workletHash = 12945462865583;
|
|
closure.__initData = env0_6;
|
|
return closure;
|
|
}
|
|
|
|
function _fun47478(a0) { // fn#47478, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5559:621, offset: 0x011c2150, size: 68 bytes, params: 2, frame: 15
|
|
const ManualGesture2 = ManualGesture;
|
|
Inherits(ManualGesture2, a0);
|
|
return CreateClass(ManualGesture2, [{key: 'onChange', value: value_47480}]);
|
|
function ManualGesture() { // fn#47479, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5559:633, offset: 0x011c2194, size: 120 bytes, params: 1, frame: 19
|
|
let value = environment.__proto__;
|
|
env1_0(this, ManualGesture);
|
|
const value3 = env1_3(ManualGesture);
|
|
value = env1_2(this, _isNativeReflectConstruct_47473() ? global.Reflect.construct(value3, [],
|
|
env1_3(this).constructor) : value3.apply(this, undefined));
|
|
value.handlerName = 'ManualGestureHandler';
|
|
return value;
|
|
}
|
|
|
|
function value_47480(a0) { // fn#47480, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5559:951, offset: 0x011c220c, size: 72 bytes, params: 2, frame: 17
|
|
var environment;
|
|
const handlers = this.handlers;
|
|
const value = environment.__proto__;
|
|
handlers.changeEventCalculator = env1_7;
|
|
return value_47480_superPropGet(ManualGesture, 'onChange', this, 3)([a0]);
|
|
function value_47480_superPropGet(a0, a1, a2, a3) { // fn#47481, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5559:1017, owner: value_47480._superPropGet, offset: 0x011c2254, size: 100 bytes, params: 5, frame: 18
|
|
let value = a0;
|
|
const env0_0 = a2;
|
|
const binding = env2_4;
|
|
value = env2_3(1 & 3 ? value.prototype : value);
|
|
value = binding(value, 'onChange', a2);
|
|
return 2 & 3 ? typeof value !== 'function' ? value : _fun47482 : value;
|
|
function _fun47482(a0) { // fn#47482, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5559:1116, offset: 0x00c62408, size: 27 bytes, params: 2, frame: 13
|
|
return CreateClass.apply(importDefault, a0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun47472, 5381, [6, 7, 15, 17, 102, 18,
|
|
5360]) /* metro module 5381, dependencies: [6, 7, 15, 17, 102, 18, 5360] */;
|