Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,930 @@
|
||||
/* Metro module 4514; source: unknown; dependencies: [29, 31, 27, 33, 4515, 4516, 4517, 4513, 4518, 4519, 4520, 4522, 4523, 4524] */
|
||||
function _fun38579(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38579, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:6, offset: 0x010c3e0b, size: 313 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const env0_3 = ['enabled', 'freezeOnBlur', 'shouldFreeze'];
|
||||
const env0_4 = ['active', 'activityState', 'children', 'isNativeStack', 'fullScreenSwipeEnabled',
|
||||
'gestureResponseDistance', 'scrollEdgeEffects', 'onGestureCancel', 'style'];
|
||||
const env0_5 = ['active', 'activityState', 'style', 'onComponentRef'];
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_6 = importDefault(29) /* metro dependency 29 */;
|
||||
let value = importDefault(31) /* metro dependency 31 */;
|
||||
const value2 = require(27) /* metro dependency 27 */;
|
||||
const Animated = value2.Animated;
|
||||
value2.Platform;
|
||||
const env0_9 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_10 = Animated.createAnimatedComponent(importDefault(4515) /* metro dependency 4515 */);
|
||||
Animated.createAnimatedComponent(importDefault(4516) /* metro dependency 4516 */);
|
||||
const value3 = value.forwardRef(InnerScreen);
|
||||
const context = value.createContext(value3);
|
||||
value = value.forwardRef(_fun38585);
|
||||
value.displayName = 'Screen';
|
||||
exports.default = value;
|
||||
exports.InnerScreen = value3;
|
||||
exports.ScreenContext = context;
|
||||
}
|
||||
|
||||
function InnerScreen(a0, a1) { // fn#38580, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:510, offset: 0x010c3f44, size: 1710 bytes, params: 3, frame: 50
|
||||
var r31;
|
||||
var top;
|
||||
var bottom;
|
||||
var object2;
|
||||
var active;
|
||||
var style;
|
||||
var Object;
|
||||
var assign;
|
||||
var sheetAllowedDetents2;
|
||||
var moduleValue5;
|
||||
var resolveSheetLargestUndimmedDetent;
|
||||
var length;
|
||||
var sheetLargestUndimmedDetent;
|
||||
var moduleValue6;
|
||||
var resolveSheetInitialDetentIndex;
|
||||
var sheetInitialDetentIndex2;
|
||||
var children;
|
||||
var isNativeStack;
|
||||
var fullScreenSwipeEnabled;
|
||||
var gestureResponseDistance;
|
||||
var scrollEdgeEffects;
|
||||
var onGestureCancel;
|
||||
var value27;
|
||||
var defaultImport2;
|
||||
var object4;
|
||||
var object6;
|
||||
var experiment;
|
||||
const env0_0 = a0;
|
||||
let binding = env0_7;
|
||||
let useRef = binding.useRef;
|
||||
const env0_1 = Reflect.apply(useRef, binding, [null]);
|
||||
let closure = _fun38581;
|
||||
binding.useImperativeHandle(a1, closure, []);
|
||||
const value2 = undefined;
|
||||
const moduleValue = require(4517) /* metro dependency 4517 */;
|
||||
const usePrevious = moduleValue.usePrevious;
|
||||
let activityState = a0.activityState;
|
||||
const value3 = Reflect.apply(usePrevious, moduleValue, [activityState]);
|
||||
closure = ref_38582;
|
||||
useRef = binding.useRef;
|
||||
let Value = Animated.Value;
|
||||
const value4 = Object.create(Value.prototype, {constructor: {value: Value}});
|
||||
const value5 = 0;
|
||||
const value6 = new Value(value5);
|
||||
const current = Reflect.apply(useRef, binding, [value6 instanceof Object ? value6 : value4]).current;
|
||||
useRef = binding.useRef;
|
||||
Value = Animated.Value;
|
||||
const value8 = Object.create(Value.prototype, {constructor: {value: Value}});
|
||||
const value9 = new Value(value5);
|
||||
const current2 = Reflect.apply(useRef, binding, [value9 instanceof Object ? value9 : value8]).current;
|
||||
useRef = binding.useRef;
|
||||
Value = Animated.Value;
|
||||
const value11 = Object.create(Value.prototype, {constructor: {value: Value}});
|
||||
const value12 = new Value(value5);
|
||||
const current3 = Reflect.apply(useRef, binding, [value12 instanceof Object ? value12 : value11]).current;
|
||||
const enabled = a0.enabled;
|
||||
const r5 = value2 !== enabled ? enabled : (require(4513) /* metro dependency 4513 */).screensEnabled();
|
||||
const freezeOnBlur = a0.freezeOnBlur;
|
||||
let r6 = value2 !== freezeOnBlur ? freezeOnBlur : (require(4513) /* metro dependency 4513 */).freezeEnabled();
|
||||
const shouldFreeze = a0.shouldFreeze;
|
||||
const value16 = env0_6(a0, env0_3);
|
||||
const sheetAllowedDetents = value16.sheetAllowedDetents;
|
||||
const r13 = value2 !== sheetAllowedDetents ? sheetAllowedDetents : [1];
|
||||
const sheetLargestUndimmedDetentIndex = value16.sheetLargestUndimmedDetentIndex;
|
||||
const r21 = value2 !== sheetLargestUndimmedDetentIndex ? sheetLargestUndimmedDetentIndex : (require(4518) /* metro dependency 4518 */).SHEET_DIMMED_ALWAYS;
|
||||
const sheetGrabberVisible = value16.sheetGrabberVisible;
|
||||
const r24 = value2 !== sheetGrabberVisible && sheetGrabberVisible;
|
||||
const sheetCornerRadius = value16.sheetCornerRadius;
|
||||
const value18 = -1;
|
||||
const r23 = value2 === sheetCornerRadius ? value18 : sheetCornerRadius;
|
||||
const sheetExpandsWhenScrolledToEdge = value16.sheetExpandsWhenScrolledToEdge;
|
||||
let r20 = value2 === sheetExpandsWhenScrolledToEdge || sheetExpandsWhenScrolledToEdge;
|
||||
const sheetElevation = value16.sheetElevation;
|
||||
const r27 = value2 === sheetElevation ? 24 : sheetElevation;
|
||||
const sheetInitialDetentIndex = value16.sheetInitialDetentIndex;
|
||||
const r9 = value2 === sheetInitialDetentIndex ? value5 : sheetInitialDetentIndex;
|
||||
const sheetShouldOverflowTopInset = value16.sheetShouldOverflowTopInset;
|
||||
const r26 = value2 !== sheetShouldOverflowTopInset && sheetShouldOverflowTopInset;
|
||||
const sheetDefaultResizeAnimationEnabled = value16.sheetDefaultResizeAnimationEnabled;
|
||||
const r25 = value2 === sheetDefaultResizeAnimationEnabled || sheetDefaultResizeAnimationEnabled;
|
||||
const screenId = value16.screenId;
|
||||
value16.stackPresentation;
|
||||
const onAppear = value16.onAppear;
|
||||
const onDisappear = value16.onDisappear;
|
||||
const onWillAppear = value16.onWillAppear;
|
||||
const onWillDisappear = value16.onWillDisappear;
|
||||
if (r5) {
|
||||
if ((require(4513) /* metro dependency 4513 */).isNativePlatformSupported) {
|
||||
sheetAllowedDetents2 = (require(4518) /* metro dependency 4518 */).resolveSheetAllowedDetents(r13);
|
||||
moduleValue5 = require(4518) /* metro dependency 4518 */;
|
||||
resolveSheetLargestUndimmedDetent = moduleValue5.resolveSheetLargestUndimmedDetent;
|
||||
length = sheetAllowedDetents2.length;
|
||||
sheetLargestUndimmedDetent = Reflect.apply(resolveSheetLargestUndimmedDetent, moduleValue5, [r21,
|
||||
length - 1]);
|
||||
moduleValue6 = require(4518) /* metro dependency 4518 */;
|
||||
resolveSheetInitialDetentIndex = moduleValue6.resolveSheetInitialDetentIndex;
|
||||
length = sheetAllowedDetents2.length;
|
||||
sheetInitialDetentIndex2 = Reflect.apply(resolveSheetInitialDetentIndex, moduleValue6, [r9, length - 1]);
|
||||
binding = env0_10;
|
||||
active = value16.active;
|
||||
activityState = value16.activityState;
|
||||
children = value16.children;
|
||||
isNativeStack = value16.isNativeStack;
|
||||
fullScreenSwipeEnabled = value16.fullScreenSwipeEnabled;
|
||||
gestureResponseDistance = value16.gestureResponseDistance;
|
||||
scrollEdgeEffects = value16.scrollEdgeEffects;
|
||||
onGestureCancel = value16.onGestureCancel;
|
||||
style = value16.style;
|
||||
value27 = env0_6(value16, env0_4);
|
||||
if (value2 !== active && value2 === activityState) {
|
||||
global.console.warn('It appears that you are using old version of react-navigation library. Please update @react-navigation/bottom-tabs, @react-navigation/stack and @react-navigation/drawer to version 5.10.0 or above to take full advantage of new functionality added to react-native-screens');
|
||||
r31 = value5 === active ? value5 : 2;
|
||||
} else {
|
||||
r31 = activityState;
|
||||
}
|
||||
(importDefault(4519) /* metro dependency 4519 */)(false,
|
||||
'[RNScreens] Using featureFlags `ios26AllowInteractionsDuringTransition` with `iosPreventReattachmentOfDismissedScreens` disabled is discouraged and will result in visual bugs on screen transitions. See flags description for details.');
|
||||
if (isNativeStack) {
|
||||
if (value2 === value3) {
|
||||
r6 = r6 && (value2 !== shouldFreeze ? shouldFreeze : value5 === r31);
|
||||
defaultImport2 = importDefault(4520) /* metro dependency 4520 */;
|
||||
object2 = {freeze: r6};
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
object4 = {onAppear: onAppear, onDisappear: onDisappear, onWillAppear: onWillAppear,
|
||||
onWillDisappear: onWillDisappear};
|
||||
object4.onGestureCancel = onGestureCancel ?? (function() {
|
||||
});
|
||||
object4.style = [style, {zIndex: value2}];
|
||||
object4.activityState = r31;
|
||||
object4.screenId = screenId;
|
||||
object4.sheetAllowedDetents = sheetAllowedDetents2;
|
||||
object4.sheetLargestUndimmedDetent = sheetLargestUndimmedDetent;
|
||||
object4.sheetElevation = r27;
|
||||
object4.sheetShouldOverflowTopInset = r26;
|
||||
object4.sheetDefaultResizeAnimationEnabled = r25;
|
||||
object4.sheetGrabberVisible = r24;
|
||||
object4.sheetCornerRadius = r23;
|
||||
object4.sheetExpandsWhenScrolledToEdge = r20;
|
||||
object4.sheetInitialDetent = sheetInitialDetentIndex2;
|
||||
object4.fullScreenSwipeEnabled = (require(4522) /* metro dependency 4522 */).parseBooleanToOptionalBooleanNativeProp(fullScreenSwipeEnabled);
|
||||
object6 = {};
|
||||
r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.start) ?? value18;
|
||||
object6.start = r20;
|
||||
r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.end) ?? value18;
|
||||
object6.end = r20;
|
||||
top = gestureResponseDistance == null ? value2 : gestureResponseDistance.top;
|
||||
r20 = top ?? value18;
|
||||
object6.top = r20;
|
||||
bottom = gestureResponseDistance == null ? value2 : gestureResponseDistance.bottom;
|
||||
object6.bottom = bottom ?? value18;
|
||||
object4.gestureResponseDistance = object6;
|
||||
object4.ref = ref_38584;
|
||||
object4.onTransitionProgress = isNativeStack ? Animated.event([{nativeEvent: {progress: current2,
|
||||
closing: current,
|
||||
goingForward: current3}}], {useNativeDriver: true}) : value2;
|
||||
bottom = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.bottom;
|
||||
object4.bottomScrollEdgeEffect = bottom;
|
||||
object4.leftScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.left;
|
||||
object4.rightScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.right;
|
||||
top = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.top;
|
||||
object4.topScrollEdgeEffect = top;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.synchronousShadowStateUpdatesEnabled = experiment.synchronousScreenUpdatesEnabled;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.androidResetScreenShadowStateOnOrientationChangeEnabled = experiment.androidResetScreenShadowStateOnOrientationChangeEnabled;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.ios26AllowInteractionsDuringTransition = experiment.ios26AllowInteractionsDuringTransition;
|
||||
object4.children = isNativeStack ? ((Provider) => <Provider value={{progress: current2,
|
||||
closing: current,
|
||||
goingForward: current3}}>{children}</Provider>)((importDefault(4524) /* metro dependency 4524 */).Provider) : children;
|
||||
return ((Component) => <Component {...object2}>{((Component) => <Component {...Reflect.apply(assign,
|
||||
Object,
|
||||
[{},
|
||||
value27, object4])} />)(binding)}</Component>)(defaultImport2);
|
||||
}
|
||||
if (value2 === r31) {
|
||||
r6 = r6 && (value2 !== shouldFreeze ? shouldFreeze : value5 === r31);
|
||||
defaultImport2 = importDefault(4520) /* metro dependency 4520 */;
|
||||
object2 = {freeze: r6};
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
object4 = {onAppear: onAppear, onDisappear: onDisappear, onWillAppear: onWillAppear,
|
||||
onWillDisappear: onWillDisappear};
|
||||
object4.onGestureCancel = onGestureCancel ?? _fun38583;
|
||||
object4.style = [style, {zIndex: value2}];
|
||||
object4.activityState = r31;
|
||||
object4.screenId = screenId;
|
||||
object4.sheetAllowedDetents = sheetAllowedDetents2;
|
||||
object4.sheetLargestUndimmedDetent = sheetLargestUndimmedDetent;
|
||||
object4.sheetElevation = r27;
|
||||
object4.sheetShouldOverflowTopInset = r26;
|
||||
object4.sheetDefaultResizeAnimationEnabled = r25;
|
||||
object4.sheetGrabberVisible = r24;
|
||||
object4.sheetCornerRadius = r23;
|
||||
object4.sheetExpandsWhenScrolledToEdge = r20;
|
||||
object4.sheetInitialDetent = sheetInitialDetentIndex2;
|
||||
object4.fullScreenSwipeEnabled = (require(4522) /* metro dependency 4522 */).parseBooleanToOptionalBooleanNativeProp(fullScreenSwipeEnabled);
|
||||
object6 = {};
|
||||
r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.start) ?? value18;
|
||||
object6.start = r20;
|
||||
r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.end) ?? value18;
|
||||
object6.end = r20;
|
||||
top = gestureResponseDistance == null ? value2 : gestureResponseDistance.top;
|
||||
r20 = top ?? value18;
|
||||
object6.top = r20;
|
||||
bottom = gestureResponseDistance == null ? value2 : gestureResponseDistance.bottom;
|
||||
object6.bottom = bottom ?? value18;
|
||||
object4.gestureResponseDistance = object6;
|
||||
object4.ref = ref_38584;
|
||||
object4.onTransitionProgress = isNativeStack ? Animated.event([{nativeEvent: {progress: current2,
|
||||
closing: current,
|
||||
goingForward: current3}}], {useNativeDriver: true}) : value2;
|
||||
bottom = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.bottom;
|
||||
object4.bottomScrollEdgeEffect = bottom;
|
||||
object4.leftScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.left;
|
||||
object4.rightScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.right;
|
||||
top = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.top;
|
||||
object4.topScrollEdgeEffect = top;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.synchronousShadowStateUpdatesEnabled = experiment.synchronousScreenUpdatesEnabled;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.androidResetScreenShadowStateOnOrientationChangeEnabled = experiment.androidResetScreenShadowStateOnOrientationChangeEnabled;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.ios26AllowInteractionsDuringTransition = experiment.ios26AllowInteractionsDuringTransition;
|
||||
object4.children = isNativeStack ? ((Provider) => <Provider value={{progress: current2,
|
||||
closing: current,
|
||||
goingForward: current3}}>{children}</Provider>)((importDefault(4524) /* metro dependency 4524 */).Provider) : children;
|
||||
return ((Component) => <Component {...object2}>{((Component) => <Component {...Reflect.apply(assign,
|
||||
Object,
|
||||
[{},
|
||||
value27, object4])} />)(binding)}</Component>)(defaultImport2);
|
||||
}
|
||||
if (value3 > r31) {
|
||||
throw new global.Error('[RNScreens] activityState cannot be decreased in NativeStack');
|
||||
}
|
||||
r6 = r6 && (value2 !== shouldFreeze ? shouldFreeze : value5 === r31);
|
||||
defaultImport2 = importDefault(4520) /* metro dependency 4520 */;
|
||||
object2 = {freeze: r6};
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
object4 = {onAppear: onAppear, onDisappear: onDisappear, onWillAppear: onWillAppear,
|
||||
onWillDisappear: onWillDisappear};
|
||||
object4.onGestureCancel = onGestureCancel ?? _fun38583;
|
||||
object4.style = [style, {zIndex: value2}];
|
||||
object4.activityState = r31;
|
||||
object4.screenId = screenId;
|
||||
object4.sheetAllowedDetents = sheetAllowedDetents2;
|
||||
object4.sheetLargestUndimmedDetent = sheetLargestUndimmedDetent;
|
||||
object4.sheetElevation = r27;
|
||||
object4.sheetShouldOverflowTopInset = r26;
|
||||
object4.sheetDefaultResizeAnimationEnabled = r25;
|
||||
object4.sheetGrabberVisible = r24;
|
||||
object4.sheetCornerRadius = r23;
|
||||
object4.sheetExpandsWhenScrolledToEdge = r20;
|
||||
object4.sheetInitialDetent = sheetInitialDetentIndex2;
|
||||
object4.fullScreenSwipeEnabled = (require(4522) /* metro dependency 4522 */).parseBooleanToOptionalBooleanNativeProp(fullScreenSwipeEnabled);
|
||||
object6 = {};
|
||||
r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.start) ?? value18;
|
||||
object6.start = r20;
|
||||
r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.end) ?? value18;
|
||||
object6.end = r20;
|
||||
top = gestureResponseDistance == null ? value2 : gestureResponseDistance.top;
|
||||
r20 = top ?? value18;
|
||||
object6.top = r20;
|
||||
bottom = gestureResponseDistance == null ? value2 : gestureResponseDistance.bottom;
|
||||
object6.bottom = bottom ?? value18;
|
||||
object4.gestureResponseDistance = object6;
|
||||
object4.ref = ref_38584;
|
||||
object4.onTransitionProgress = isNativeStack ? Animated.event([{nativeEvent: {progress: current2,
|
||||
closing: current,
|
||||
goingForward: current3}}], {useNativeDriver: true}) : value2;
|
||||
bottom = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.bottom;
|
||||
object4.bottomScrollEdgeEffect = bottom;
|
||||
object4.leftScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.left;
|
||||
object4.rightScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.right;
|
||||
top = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.top;
|
||||
object4.topScrollEdgeEffect = top;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.synchronousShadowStateUpdatesEnabled = experiment.synchronousScreenUpdatesEnabled;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.androidResetScreenShadowStateOnOrientationChangeEnabled = experiment.androidResetScreenShadowStateOnOrientationChangeEnabled;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.ios26AllowInteractionsDuringTransition = experiment.ios26AllowInteractionsDuringTransition;
|
||||
object4.children = isNativeStack ? ((Provider) => <Provider value={{progress: current2,
|
||||
closing: current,
|
||||
goingForward: current3}}>{children}</Provider>)((importDefault(4524) /* metro dependency 4524 */).Provider) : children;
|
||||
return ((Component) => <Component {...object2}>{((Component) => <Component {...Reflect.apply(assign,
|
||||
Object,
|
||||
[{},
|
||||
value27, object4])} />)(binding)}</Component>)(defaultImport2);
|
||||
}
|
||||
r6 = r6 && (value2 !== shouldFreeze ? shouldFreeze : value5 === r31);
|
||||
defaultImport2 = importDefault(4520) /* metro dependency 4520 */;
|
||||
object2 = {freeze: r6};
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
object4 = {onAppear: onAppear, onDisappear: onDisappear, onWillAppear: onWillAppear,
|
||||
onWillDisappear: onWillDisappear};
|
||||
object4.onGestureCancel = onGestureCancel ?? _fun38583;
|
||||
object4.style = [style, {zIndex: value2}];
|
||||
object4.activityState = r31;
|
||||
object4.screenId = screenId;
|
||||
object4.sheetAllowedDetents = sheetAllowedDetents2;
|
||||
object4.sheetLargestUndimmedDetent = sheetLargestUndimmedDetent;
|
||||
object4.sheetElevation = r27;
|
||||
object4.sheetShouldOverflowTopInset = r26;
|
||||
object4.sheetDefaultResizeAnimationEnabled = r25;
|
||||
object4.sheetGrabberVisible = r24;
|
||||
object4.sheetCornerRadius = r23;
|
||||
object4.sheetExpandsWhenScrolledToEdge = r20;
|
||||
object4.sheetInitialDetent = sheetInitialDetentIndex2;
|
||||
object4.fullScreenSwipeEnabled = (require(4522) /* metro dependency 4522 */).parseBooleanToOptionalBooleanNativeProp(fullScreenSwipeEnabled);
|
||||
object6 = {};
|
||||
r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.start) ?? value18;
|
||||
object6.start = r20;
|
||||
r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.end) ?? value18;
|
||||
object6.end = r20;
|
||||
top = gestureResponseDistance == null ? value2 : gestureResponseDistance.top;
|
||||
r20 = top ?? value18;
|
||||
object6.top = r20;
|
||||
bottom = gestureResponseDistance == null ? value2 : gestureResponseDistance.bottom;
|
||||
object6.bottom = bottom ?? value18;
|
||||
object4.gestureResponseDistance = object6;
|
||||
object4.ref = ref_38584;
|
||||
object4.onTransitionProgress = isNativeStack ? Animated.event([{nativeEvent: {progress: current2,
|
||||
closing: current,
|
||||
goingForward: current3}}], {useNativeDriver: true}) : value2;
|
||||
bottom = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.bottom;
|
||||
object4.bottomScrollEdgeEffect = bottom;
|
||||
object4.leftScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.left;
|
||||
object4.rightScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.right;
|
||||
top = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.top;
|
||||
object4.topScrollEdgeEffect = top;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.synchronousShadowStateUpdatesEnabled = experiment.synchronousScreenUpdatesEnabled;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.androidResetScreenShadowStateOnOrientationChangeEnabled = experiment.androidResetScreenShadowStateOnOrientationChangeEnabled;
|
||||
experiment = (importDefault(4523) /* metro dependency 4523 */).experiment;
|
||||
object4.ios26AllowInteractionsDuringTransition = experiment.ios26AllowInteractionsDuringTransition;
|
||||
object4.children = isNativeStack ? ((Provider) => <Provider value={{progress: current2, closing: current,
|
||||
goingForward: current3}}>{children}</Provider>)((importDefault(4524) /* metro dependency 4524 */).Provider) : children;
|
||||
return ((Component) => <Component {...object2}>{((Component) => <Component {...Reflect.apply(assign, Object,
|
||||
[{},
|
||||
value27, object4])} />)(binding)}</Component>)(defaultImport2);
|
||||
}
|
||||
}
|
||||
active = value16.active;
|
||||
activityState = value16.activityState;
|
||||
style = value16.style;
|
||||
value16.onComponentRef;
|
||||
const value23 = env0_6(value16, env0_5);
|
||||
const r32 = value2 !== active && value2 === activityState ? value5 === active ? value5 : 2 : activityState;
|
||||
const View = Animated.View;
|
||||
Object = global.Object;
|
||||
return <View {...Object.assign({style: [style, {display: value5 === r32 ? 'none' : 'flex'}], ref: closure},
|
||||
value23)} />;
|
||||
}
|
||||
|
||||
function _fun38585(a0, a1) { // fn#38585, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:4920, offset: 0x010c478c, size: 77 bytes, params: 3, frame: 17
|
||||
const r3 = env0_7.useContext(env0_12) || env0_11;
|
||||
const Object = global.Object;
|
||||
return ((Component) => <Component {...Object.assign({}, a0, {ref: a1})} />)(r3);
|
||||
}
|
||||
|
||||
function InnerScreenRef(a0) { // fn#38582, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:661, owner: InnerScreen.ref, offset: 0x010c4600, size: 51 bytes, params: 2, frame: 12
|
||||
env0_1.current = a0;
|
||||
if (env0_0.onComponentRef != null) {
|
||||
env0_0.onComponentRef(a0);
|
||||
}
|
||||
}
|
||||
|
||||
function InnerScreenRef_38584(a0) { // fn#38584, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:3391, owner: InnerScreen.ref, offset: 0x010c4633, size: 345 bytes, params: 2, frame: 18
|
||||
var r1;
|
||||
var r4;
|
||||
var r3;
|
||||
var viewConfig;
|
||||
var validAttributes;
|
||||
var _viewConfig;
|
||||
var value;
|
||||
var __viewConfig;
|
||||
var Object;
|
||||
var assign;
|
||||
if (a0 == null) {
|
||||
if (a0 == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else {
|
||||
_viewConfig = a0._viewConfig;
|
||||
if (_viewConfig == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else {
|
||||
validAttributes = _viewConfig.validAttributes;
|
||||
if (validAttributes == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else if (validAttributes.style) {
|
||||
_viewConfig = a0._viewConfig;
|
||||
validAttributes = _viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
_viewConfig = a0._viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, _viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
} else {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
viewConfig = a0.viewConfig;
|
||||
if (viewConfig == null) {
|
||||
if (a0 == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else {
|
||||
_viewConfig = a0._viewConfig;
|
||||
if (_viewConfig == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else {
|
||||
validAttributes = _viewConfig.validAttributes;
|
||||
if (validAttributes == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{},
|
||||
__viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else if (validAttributes.style) {
|
||||
_viewConfig = a0._viewConfig;
|
||||
validAttributes = _viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
_viewConfig = a0._viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, _viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
} else {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{},
|
||||
__viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
validAttributes = viewConfig.validAttributes;
|
||||
if (validAttributes == null) {
|
||||
if (a0 == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else {
|
||||
_viewConfig = a0._viewConfig;
|
||||
if (_viewConfig == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{},
|
||||
__viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else {
|
||||
validAttributes = _viewConfig.validAttributes;
|
||||
if (validAttributes == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{},
|
||||
__viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else if (validAttributes.style) {
|
||||
_viewConfig = a0._viewConfig;
|
||||
validAttributes = _viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
_viewConfig = a0._viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{},
|
||||
_viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
} else {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{},
|
||||
__viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (validAttributes.style) {
|
||||
viewConfig = a0.viewConfig;
|
||||
validAttributes = viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
viewConfig = a0.viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
} else if (a0 == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else {
|
||||
_viewConfig = a0._viewConfig;
|
||||
if (_viewConfig == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else {
|
||||
validAttributes = _viewConfig.validAttributes;
|
||||
if (validAttributes == null) {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{},
|
||||
__viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
} else if (validAttributes.style) {
|
||||
_viewConfig = a0._viewConfig;
|
||||
validAttributes = _viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
_viewConfig = a0._viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{}, _viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
} else {
|
||||
value = a0 != null;
|
||||
if (value) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
r1 = __viewConfig != null;
|
||||
r4 = __viewConfig;
|
||||
} else {
|
||||
r1 = value;
|
||||
r4 = undefined;
|
||||
}
|
||||
if (r1) {
|
||||
validAttributes = r4.validAttributes;
|
||||
r1 = validAttributes != null;
|
||||
r3 = validAttributes;
|
||||
} else {
|
||||
r3 = r4;
|
||||
}
|
||||
r1 = r1 && r3.style;
|
||||
if (r1) {
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes = __viewConfig.validAttributes;
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
__viewConfig = a0.__viewConfig;
|
||||
validAttributes.style = Reflect.apply(assign, Object, [{},
|
||||
__viewConfig.validAttributes.style,
|
||||
{display: null}]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ref_38582(a0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user