145 lines
8.1 KiB
React
145 lines
8.1 KiB
React
/* Metro module 5372; source: unknown; dependencies: [164, 5373, 5374, 5375, 5376, 5377, 5378, 5379, 5380, 5381, 5359, 5382] */
|
|
function _fun47360(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47360, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:6, offset: 0x011c021d, size: 215 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importDefault(164) /* metro dependency 164 */;
|
|
exports.GestureObjects = {Tap: Tap, Pan: Pan, Pinch: Pinch, Rotation: Rotation, Fling: Fling, LongPress: LongPress,
|
|
ForceTouch: ForceTouch, Native: Native, Manual: Manual, Hover: Hover, Race: Race, Simultaneous: Simultaneous,
|
|
Exclusive: Exclusive};
|
|
}
|
|
|
|
function Tap() { // fn#47361, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:113, offset: 0x011c02f4, size: 53 bytes, params: 1, frame: 11
|
|
const TapGesture = (require(5373) /* metro dependency 5373 */).TapGesture;
|
|
const value = Object.create(TapGesture.prototype, {constructor: {value: TapGesture}});
|
|
const tapGesture = new TapGesture();
|
|
return tapGesture instanceof Object ? tapGesture : value;
|
|
}
|
|
|
|
function Pan() { // fn#47362, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:164, offset: 0x011c0329, size: 53 bytes, params: 1, frame: 11
|
|
const PanGesture = (require(5374) /* metro dependency 5374 */).PanGesture;
|
|
const value = Object.create(PanGesture.prototype, {constructor: {value: PanGesture}});
|
|
const panGesture = new PanGesture();
|
|
return panGesture instanceof Object ? panGesture : value;
|
|
}
|
|
|
|
function Pinch() { // fn#47363, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:217, offset: 0x011c035e, size: 53 bytes, params: 1, frame: 11
|
|
const PinchGesture = (require(5375) /* metro dependency 5375 */).PinchGesture;
|
|
const value = Object.create(PinchGesture.prototype, {constructor: {value: PinchGesture}});
|
|
const pinchGesture = new PinchGesture();
|
|
return pinchGesture instanceof Object ? pinchGesture : value;
|
|
}
|
|
|
|
function Rotation() { // fn#47364, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:277, offset: 0x011c0393, size: 53 bytes, params: 1, frame: 11
|
|
const RotationGesture = (require(5376) /* metro dependency 5376 */).RotationGesture;
|
|
const value = Object.create(RotationGesture.prototype, {constructor: {value: RotationGesture}});
|
|
const rotationGesture = new RotationGesture();
|
|
return rotationGesture instanceof Object ? rotationGesture : value;
|
|
}
|
|
|
|
function Fling() { // fn#47365, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:340, offset: 0x011c03c8, size: 53 bytes, params: 1, frame: 11
|
|
const FlingGesture = (require(5377) /* metro dependency 5377 */).FlingGesture;
|
|
const value = Object.create(FlingGesture.prototype, {constructor: {value: FlingGesture}});
|
|
const flingGesture = new FlingGesture();
|
|
return flingGesture instanceof Object ? flingGesture : value;
|
|
}
|
|
|
|
function LongPress() { // fn#47366, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:401, offset: 0x011c03fd, size: 53 bytes, params: 1, frame: 11
|
|
const LongPressGesture = (require(5378) /* metro dependency 5378 */).LongPressGesture;
|
|
const value = Object.create(LongPressGesture.prototype, {constructor: {value: LongPressGesture}});
|
|
const longPressGesture = new LongPressGesture();
|
|
return longPressGesture instanceof Object ? longPressGesture : value;
|
|
}
|
|
|
|
function ForceTouch() { // fn#47367, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:471, offset: 0x011c0432, size: 53 bytes, params: 1, frame: 11
|
|
const ForceTouchGesture = (require(5379) /* metro dependency 5379 */).ForceTouchGesture;
|
|
const value = Object.create(ForceTouchGesture.prototype, {constructor: {value: ForceTouchGesture}});
|
|
const forceTouchGesture = new ForceTouchGesture();
|
|
return forceTouchGesture instanceof Object ? forceTouchGesture : value;
|
|
}
|
|
|
|
function Native() { // fn#47368, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:539, offset: 0x011c0467, size: 53 bytes, params: 1, frame: 11
|
|
const NativeGesture = (require(5380) /* metro dependency 5380 */).NativeGesture;
|
|
const value = Object.create(NativeGesture.prototype, {constructor: {value: NativeGesture}});
|
|
const nativeGesture = new NativeGesture();
|
|
return nativeGesture instanceof Object ? nativeGesture : value;
|
|
}
|
|
|
|
function Manual() { // fn#47369, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:599, offset: 0x011c049c, size: 53 bytes, params: 1, frame: 11
|
|
const ManualGesture = (require(5381) /* metro dependency 5381 */).ManualGesture;
|
|
const value = Object.create(ManualGesture.prototype, {constructor: {value: ManualGesture}});
|
|
const manualGesture = new ManualGesture();
|
|
return manualGesture instanceof Object ? manualGesture : value;
|
|
}
|
|
|
|
function Hover() { // fn#47370, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:658, offset: 0x011c04d1, size: 53 bytes, params: 1, frame: 11
|
|
const HoverGesture = (require(5359) /* metro dependency 5359 */).HoverGesture;
|
|
const value = Object.create(HoverGesture.prototype, {constructor: {value: HoverGesture}});
|
|
const hoverGesture = new HoverGesture();
|
|
return hoverGesture instanceof Object ? hoverGesture : value;
|
|
}
|
|
|
|
function Race() { // fn#47371, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:715, offset: 0x011c0506, size: 103 bytes, params: 1, frame: 15
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const binding = env0_2;
|
|
const ComposedGesture = (require(5382) /* metro dependency 5382 */).ComposedGesture;
|
|
return binding(ComposedGesture, array);
|
|
}
|
|
|
|
function Simultaneous() { // fn#47372, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:854, offset: 0x011c056d, size: 103 bytes, params: 1, frame: 15
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const binding = env0_2;
|
|
const SimultaneousGesture = (require(5382) /* metro dependency 5382 */).SimultaneousGesture;
|
|
return binding(SimultaneousGesture, array);
|
|
}
|
|
|
|
function Exclusive() { // fn#47373, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:1002, offset: 0x011c05d4, size: 103 bytes, params: 1, frame: 15
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const binding = env0_2;
|
|
const ExclusiveGesture = (require(5382) /* metro dependency 5382 */).ExclusiveGesture;
|
|
return binding(ExclusiveGesture, array);
|
|
}
|
|
|