Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,575 @@
|
||||
/* Metro module 6341; source: unknown; dependencies: [57, 29, 31, 33, 6342, 6282, 4027, 6343, 6294, 6279] */
|
||||
function _fun49824(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49824, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:6, offset: 0x01209f80, size: 274 bytes, params: 8, frame: 21
|
||||
const env0_0 = require;
|
||||
const env0_3 = ['name', 'stackBehavior', 'enableDismissOnClose', 'onDismiss', 'onAnimate', 'index', 'snapPoints',
|
||||
'enablePanDownToClose', 'animateOnMount', 'containerComponent', 'onChange', 'children'];
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_4 = importDefault(57) /* metro dependency 57 */;
|
||||
const env0_5 = importDefault(29) /* metro dependency 29 */;
|
||||
let value = require(31) /* metro dependency 31 */;
|
||||
const forwardRef = value.forwardRef;
|
||||
const memo = value.memo;
|
||||
const env0_6 = value.useCallback;
|
||||
const env0_7 = value.useImperativeHandle;
|
||||
const env0_8 = value.useMemo;
|
||||
const env0_9 = value.useRef;
|
||||
const env0_10 = value.useState;
|
||||
const env0_11 = value.createElement;
|
||||
const env0_12 = importDefault(31) /* metro dependency 31 */;
|
||||
const env0_13 = (require(33) /* metro dependency 33 */).jsx;
|
||||
object = {mount: false, data: undefined};
|
||||
value = memo(forwardRef(BottomSheetModalComponent));
|
||||
value.displayName = 'BottomSheetModal';
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function BottomSheetModalComponent(a0, a1) { // fn#49825, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:486, offset: 0x0120a092, size: 1171 bytes, params: 3, frame: 43
|
||||
var r0;
|
||||
var Portal;
|
||||
var createElementBinding;
|
||||
var Object;
|
||||
let env0_0 = a1;
|
||||
const name = a0.name;
|
||||
const stackBehavior = a0.stackBehavior;
|
||||
const r28 = stackBehavior !== undefined ? stackBehavior : (require(6342) /* metro dependency 6342 */).DEFAULT_STACK_BEHAVIOR;
|
||||
const enableDismissOnClose = a0.enableDismissOnClose;
|
||||
const r27 = enableDismissOnClose !== undefined ? enableDismissOnClose : (require(6342) /* metro dependency 6342 */).DEFAULT_ENABLE_DISMISS_ON_CLOSE;
|
||||
const env0_3 = r27;
|
||||
const onDismiss = a0.onDismiss;
|
||||
const env0_4 = onDismiss;
|
||||
const onAnimate = a0.onAnimate;
|
||||
const env0_5 = onAnimate;
|
||||
const index = a0.index;
|
||||
let value = 0;
|
||||
const r25 = index === undefined ? value : index;
|
||||
const snapPoints = a0.snapPoints;
|
||||
const enablePanDownToClose = a0.enablePanDownToClose;
|
||||
const r23 = enablePanDownToClose === undefined || enablePanDownToClose;
|
||||
const animateOnMount = a0.animateOnMount;
|
||||
const r22 = animateOnMount === undefined || animateOnMount;
|
||||
const containerComponent = a0.containerComponent;
|
||||
const r7 = containerComponent !== undefined ? containerComponent : env0_12.Fragment;
|
||||
const onChange = a0.onChange;
|
||||
const children = a0.children;
|
||||
const value6 = env0_5(a0, env0_3);
|
||||
const value8 = env0_4(useState(env0_14), 2);
|
||||
const {mount, data} = value8[value];
|
||||
const env0_9 = value8[1];
|
||||
value = require(6282) /* metro dependency 6282 */;
|
||||
value = value.useBottomSheetModalInternal();
|
||||
const hostName = value.hostName;
|
||||
const containerHeight = value.containerHeight;
|
||||
const containerOffset = value.containerOffset;
|
||||
const mountSheet = value.mountSheet;
|
||||
const unmountSheet = value.unmountSheet;
|
||||
const willUnmountSheet = value.willUnmountSheet;
|
||||
value = require(4027) /* metro dependency 4027 */;
|
||||
const usePortal = value.usePortal;
|
||||
const removePortal = Reflect.apply(usePortal, value, [hostName]).removePortal;
|
||||
value = null;
|
||||
const value9 = useRef(value);
|
||||
const value10 = -1;
|
||||
const env0_15 = useRef(r22 ? value10 : r25);
|
||||
const env0_16 = useRef(value);
|
||||
const env0_17 = useRef(value10);
|
||||
const env0_18 = useRef(false);
|
||||
const env0_19 = useRef(false);
|
||||
useRef(false).current = mount;
|
||||
let object = [name];
|
||||
const value12 = useMemo(_fun49826, object);
|
||||
const value14 = useCallback(BottomSheetModalComponentUnmount, [value12, useCallback(resetVariables, []),
|
||||
unmountSheet, removePortal, onDismiss]);
|
||||
const env0_24 = useCallback(_fun49829, []);
|
||||
const env0_25 = useCallback(_fun49830, []);
|
||||
const env0_26 = useCallback(_fun49831, []);
|
||||
const env0_27 = useCallback(_fun49832, []);
|
||||
const env0_28 = useCallback(_fun49833, []);
|
||||
const env0_29 = useCallback(_fun49834, []);
|
||||
const env0_30 = useCallback(function(a0) {
|
||||
var env0_0 = a0;
|
||||
global.requestAnimationFrame(_fun49836);
|
||||
}, [value12, r28, mountSheet]);
|
||||
const env0_31 = useCallback(BottomSheetModalComponentHandleDismiss, [willUnmountSheet, value14, value12, r23]);
|
||||
const env0_32 = useCallback(handleMinimize, [r25]);
|
||||
const env0_33 = useCallback(handleRestore, []);
|
||||
const value15 = useCallback(handlePortalOnUnmount, [value12, value14, willUnmountSheet]);
|
||||
const value16 = useCallback(handlePortalRender, []);
|
||||
const value17 = useCallback(handleBottomSheetOnChange, [onChange]);
|
||||
const value18 = useCallback(_fun49843, [onAnimate]);
|
||||
const value19 = useCallback(handleBottomSheetOnClose, [r27, value14]);
|
||||
useImperativeHandle(a1, _fun49845);
|
||||
if (mount) {
|
||||
Portal = (require(4027) /* metro dependency 4027 */).Portal;
|
||||
object = {name: value12, hostName: hostName, handleOnMount: value16, handleOnUpdate: value16,
|
||||
handleOnUnmount: value15};
|
||||
createElementBinding = createElement;
|
||||
value = importDefault(6279) /* metro dependency 6279 */;
|
||||
Object = global.Object;
|
||||
value = <Portal {...object} key={value12}>{((Component) => <Component key={value12}>{createElementBinding(value,
|
||||
Object.assign({}, value6, {ref: value9, key: value12, index: r25, snapPoints: snapPoints,
|
||||
enablePanDownToClose: r23, animateOnMount: r22, containerHeight: containerHeight,
|
||||
containerOffset: containerOffset, onChange: value17, onClose: value19, onAnimate: value18, $modal: true}),
|
||||
typeof children !== 'function' ? children : ((Component) => <Component data={data} />)(children))}</Component>)(r7)}</Portal>;
|
||||
r0 = value;
|
||||
} else {
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function _fun49826() { // fn#49826, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:1239, offset: 0x0120a525, size: 70 bytes, params: 1, frame: 12
|
||||
var r0;
|
||||
var value;
|
||||
const nameBinding = name;
|
||||
if (nameBinding) {
|
||||
r0 = nameBinding;
|
||||
} else {
|
||||
value = environment.__proto__;
|
||||
value = require(6343) /* metro dependency 6343 */;
|
||||
value = value.id();
|
||||
value = 'bottom-sheet-modal-' + value;
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function resetVariables() { // fn#49827, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:1310, owner: BottomSheetModalComponent.resetVariables, offset: 0x0120a56b, size: 129 bytes, params: 1, frame: 14
|
||||
(require(6294) /* metro dependency 6294 */).print({component: env1_15.name, method: resetVariables.name});
|
||||
env0_15.current = -1;
|
||||
env0_17.current = -1;
|
||||
env0_18.current = false;
|
||||
env0_20.current = false;
|
||||
env0_19.current = false;
|
||||
}
|
||||
|
||||
function BottomSheetModalComponentUnmount() { // fn#49828, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:1479, owner: BottomSheetModalComponent.unmount, offset: 0x0120a5ec, size: 84 bytes, params: 1, frame: 13
|
||||
var binding;
|
||||
var value2;
|
||||
const current = env0_20.current;
|
||||
env0_22();
|
||||
unmountSheet(env0_21);
|
||||
removePortal(env0_21);
|
||||
if (current) {
|
||||
binding = env0_9;
|
||||
value2 = environment.__proto__;
|
||||
binding(env1_14);
|
||||
}
|
||||
if (onDismiss) {
|
||||
onDismiss();
|
||||
}
|
||||
}
|
||||
|
||||
function _fun49829() { // fn#49829, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:1572, offset: 0x0120a640, size: 111 bytes, params: 1, frame: 16
|
||||
var r2;
|
||||
var length;
|
||||
var Array;
|
||||
var prototype;
|
||||
var value3;
|
||||
var array;
|
||||
var value4;
|
||||
var value5;
|
||||
var value6;
|
||||
var snapToIndex;
|
||||
var apply;
|
||||
let current = env0_18.current;
|
||||
reducibleJoin5: while (true) {
|
||||
if (current) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
length = arguments.length;
|
||||
Array = global.Array;
|
||||
prototype = Array.prototype;
|
||||
value3 = Object.create(prototype, {constructor: {value: Array}});
|
||||
array = new Array();
|
||||
value4 = array instanceof Object ? array : value3;
|
||||
value5 = 0;
|
||||
if (value5 < length) {
|
||||
r2 = value5;
|
||||
reducibleLoop2: while (true) {
|
||||
value4[r2] = arguments[r2];
|
||||
value6 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
||||
if (value6 < length) {
|
||||
r2 = value6;
|
||||
continue reducibleLoop2;
|
||||
}
|
||||
break reducibleLoop2;
|
||||
}
|
||||
}
|
||||
current = env0_14.current;
|
||||
if (current == null) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
snapToIndex = current.snapToIndex;
|
||||
apply = snapToIndex.apply;
|
||||
Reflect.apply(apply, snapToIndex, [current, value4]);
|
||||
break reducibleJoin5;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun49830() { // fn#49830, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:1737, offset: 0x0120a6af, size: 111 bytes, params: 1, frame: 16
|
||||
var r2;
|
||||
var length;
|
||||
var Array;
|
||||
var prototype;
|
||||
var value3;
|
||||
var array;
|
||||
var value4;
|
||||
var value5;
|
||||
var value6;
|
||||
var snapToPosition;
|
||||
var apply;
|
||||
let current = env0_18.current;
|
||||
reducibleJoin5: while (true) {
|
||||
if (current) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
length = arguments.length;
|
||||
Array = global.Array;
|
||||
prototype = Array.prototype;
|
||||
value3 = Object.create(prototype, {constructor: {value: Array}});
|
||||
array = new Array();
|
||||
value4 = array instanceof Object ? array : value3;
|
||||
value5 = 0;
|
||||
if (value5 < length) {
|
||||
r2 = value5;
|
||||
reducibleLoop2: while (true) {
|
||||
value4[r2] = arguments[r2];
|
||||
value6 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
||||
if (value6 < length) {
|
||||
r2 = value6;
|
||||
continue reducibleLoop2;
|
||||
}
|
||||
break reducibleLoop2;
|
||||
}
|
||||
}
|
||||
current = env0_14.current;
|
||||
if (current == null) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
snapToPosition = current.snapToPosition;
|
||||
apply = snapToPosition.apply;
|
||||
Reflect.apply(apply, snapToPosition, [current, value4]);
|
||||
break reducibleJoin5;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun49831() { // fn#49831, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:1905, offset: 0x0120a71e, size: 111 bytes, params: 1, frame: 16
|
||||
var r2;
|
||||
var length;
|
||||
var Array;
|
||||
var prototype;
|
||||
var value3;
|
||||
var array;
|
||||
var value4;
|
||||
var value5;
|
||||
var value6;
|
||||
var expand;
|
||||
var apply;
|
||||
let current = env0_18.current;
|
||||
reducibleJoin5: while (true) {
|
||||
if (current) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
length = arguments.length;
|
||||
Array = global.Array;
|
||||
prototype = Array.prototype;
|
||||
value3 = Object.create(prototype, {constructor: {value: Array}});
|
||||
array = new Array();
|
||||
value4 = array instanceof Object ? array : value3;
|
||||
value5 = 0;
|
||||
if (value5 < length) {
|
||||
r2 = value5;
|
||||
reducibleLoop2: while (true) {
|
||||
value4[r2] = arguments[r2];
|
||||
value6 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
||||
if (value6 < length) {
|
||||
r2 = value6;
|
||||
continue reducibleLoop2;
|
||||
}
|
||||
break reducibleLoop2;
|
||||
}
|
||||
}
|
||||
current = env0_14.current;
|
||||
if (current == null) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
expand = current.expand;
|
||||
apply = expand.apply;
|
||||
Reflect.apply(apply, expand, [current, value4]);
|
||||
break reducibleJoin5;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun49832() { // fn#49832, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:2065, offset: 0x0120a78d, size: 111 bytes, params: 1, frame: 16
|
||||
var r2;
|
||||
var length;
|
||||
var Array;
|
||||
var prototype;
|
||||
var value3;
|
||||
var array;
|
||||
var value4;
|
||||
var value5;
|
||||
var value6;
|
||||
var collapse;
|
||||
var apply;
|
||||
let current = env0_18.current;
|
||||
reducibleJoin5: while (true) {
|
||||
if (current) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
length = arguments.length;
|
||||
Array = global.Array;
|
||||
prototype = Array.prototype;
|
||||
value3 = Object.create(prototype, {constructor: {value: Array}});
|
||||
array = new Array();
|
||||
value4 = array instanceof Object ? array : value3;
|
||||
value5 = 0;
|
||||
if (value5 < length) {
|
||||
r2 = value5;
|
||||
reducibleLoop2: while (true) {
|
||||
value4[r2] = arguments[r2];
|
||||
value6 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
||||
if (value6 < length) {
|
||||
r2 = value6;
|
||||
continue reducibleLoop2;
|
||||
}
|
||||
break reducibleLoop2;
|
||||
}
|
||||
}
|
||||
current = env0_14.current;
|
||||
if (current == null) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
collapse = current.collapse;
|
||||
apply = collapse.apply;
|
||||
Reflect.apply(apply, collapse, [current, value4]);
|
||||
break reducibleJoin5;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun49833() { // fn#49833, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:2227, offset: 0x0120a7fc, size: 111 bytes, params: 1, frame: 16
|
||||
var r2;
|
||||
var length;
|
||||
var Array;
|
||||
var prototype;
|
||||
var value3;
|
||||
var array;
|
||||
var value4;
|
||||
var value5;
|
||||
var value6;
|
||||
var close;
|
||||
var apply;
|
||||
let current = env0_18.current;
|
||||
reducibleJoin5: while (true) {
|
||||
if (current) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
length = arguments.length;
|
||||
Array = global.Array;
|
||||
prototype = Array.prototype;
|
||||
value3 = Object.create(prototype, {constructor: {value: Array}});
|
||||
array = new Array();
|
||||
value4 = array instanceof Object ? array : value3;
|
||||
value5 = 0;
|
||||
if (value5 < length) {
|
||||
r2 = value5;
|
||||
reducibleLoop2: while (true) {
|
||||
value4[r2] = arguments[r2];
|
||||
value6 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
||||
if (value6 < length) {
|
||||
r2 = value6;
|
||||
continue reducibleLoop2;
|
||||
}
|
||||
break reducibleLoop2;
|
||||
}
|
||||
}
|
||||
current = env0_14.current;
|
||||
if (current == null) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
close = current.close;
|
||||
apply = close.apply;
|
||||
Reflect.apply(apply, close, [current, value4]);
|
||||
break reducibleJoin5;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun49834() { // fn#49834, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:2386, offset: 0x0120a86b, size: 111 bytes, params: 1, frame: 16
|
||||
var r2;
|
||||
var length;
|
||||
var Array;
|
||||
var prototype;
|
||||
var value3;
|
||||
var array;
|
||||
var value4;
|
||||
var value5;
|
||||
var value6;
|
||||
var forceClose;
|
||||
var apply;
|
||||
let current = env0_18.current;
|
||||
reducibleJoin5: while (true) {
|
||||
if (current) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
length = arguments.length;
|
||||
Array = global.Array;
|
||||
prototype = Array.prototype;
|
||||
value3 = Object.create(prototype, {constructor: {value: Array}});
|
||||
array = new Array();
|
||||
value4 = array instanceof Object ? array : value3;
|
||||
value5 = 0;
|
||||
if (value5 < length) {
|
||||
r2 = value5;
|
||||
reducibleLoop2: while (true) {
|
||||
value4[r2] = arguments[r2];
|
||||
value6 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
||||
if (value6 < length) {
|
||||
r2 = value6;
|
||||
continue reducibleLoop2;
|
||||
}
|
||||
break reducibleLoop2;
|
||||
}
|
||||
}
|
||||
current = env0_14.current;
|
||||
if (current == null) {
|
||||
break reducibleJoin5;
|
||||
}
|
||||
forceClose = current.forceClose;
|
||||
apply = forceClose.apply;
|
||||
Reflect.apply(apply, forceClose, [current, value4]);
|
||||
break reducibleJoin5;
|
||||
}
|
||||
}
|
||||
|
||||
function handlePresent(a0) { // fn#49835, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:2550, owner: BottomSheetModalComponent.handlePresent, offset: 0x0120a8da, size: 31 bytes, params: 2, frame: 11
|
||||
const env0_0 = a0;
|
||||
global.requestAnimationFrame(_fun49836);
|
||||
}
|
||||
|
||||
function BottomSheetModalComponentHandleDismiss(a0) { // fn#49837, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:2662, owner: BottomSheetModalComponent.handleDismiss, offset: 0x0120a934, size: 169 bytes, params: 2, frame: 15
|
||||
let current = env0_16.current;
|
||||
const value2 = current != null;
|
||||
let r4 = env0_15.current !== -1 || env0_18.current !== false;
|
||||
r4 = !r4 ? value2 : r4;
|
||||
if (r4) {
|
||||
if (value2) {
|
||||
willUnmountSheet(env0_21);
|
||||
env0_19.current = true;
|
||||
current = env0_14.current;
|
||||
if (current != null) {
|
||||
current.forceClose(a0);
|
||||
}
|
||||
} else {
|
||||
current = env0_18.current;
|
||||
if (current) {
|
||||
env0_23();
|
||||
} else {
|
||||
current = env0_15.current;
|
||||
if (current !== -1) {
|
||||
willUnmountSheet(env0_21);
|
||||
env0_19.current = true;
|
||||
current = env0_14.current;
|
||||
if (current != null) {
|
||||
current.forceClose(a0);
|
||||
}
|
||||
} else if (env0_7) {
|
||||
env0_23();
|
||||
} else {
|
||||
willUnmountSheet(env0_21);
|
||||
env0_19.current = true;
|
||||
current = env0_14.current;
|
||||
if (current != null) {
|
||||
current.forceClose(a0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function handleMinimize() { // fn#49838, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:2877, owner: BottomSheetModalComponent.handleMinimize, offset: 0x0120a9dd, size: 110 bytes, params: 1, frame: 10
|
||||
let current = env0_18.current;
|
||||
if (!current) {
|
||||
env0_18.current = true;
|
||||
current = env0_15.current;
|
||||
if (current === -1) {
|
||||
env0_17.current = env0_6;
|
||||
} else {
|
||||
env0_17.current = env0_15.current;
|
||||
}
|
||||
current = env0_14.current;
|
||||
if (current != null) {
|
||||
current.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function handleRestore() { // fn#49839, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:3033, owner: BottomSheetModalComponent.handleRestore, offset: 0x0120aa4b, size: 81 bytes, params: 1, frame: 11
|
||||
let current = env0_18.current;
|
||||
if (current && !env0_19.current) {
|
||||
env0_18.current = false;
|
||||
current = env0_14.current;
|
||||
if (current != null) {
|
||||
current.snapToIndex(env0_17.current);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function handlePortalOnUnmount() { // fn#49840, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:3165, owner: BottomSheetModalComponent.handlePortalOnUnmount, offset: 0x0120aa9c, size: 135 bytes, params: 1, frame: 12
|
||||
let current = env0_15.current;
|
||||
if (!(current === -1 && env0_18.current === false)) {
|
||||
env0_20.current = false;
|
||||
env0_19.current = true;
|
||||
current = env0_18.current;
|
||||
if (current) {
|
||||
env0_23();
|
||||
} else {
|
||||
willUnmountSheet(env0_21);
|
||||
current = env0_14.current;
|
||||
if (current != null) {
|
||||
current.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function handlePortalRender(a0) { // fn#49841, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:3343, owner: BottomSheetModalComponent.handlePortalRender, offset: 0x0120ab23, size: 28 bytes, params: 2, frame: 9
|
||||
if (env0_20.current) {
|
||||
a0();
|
||||
}
|
||||
}
|
||||
|
||||
function handleBottomSheetOnChange(a0, a1, a2) { // fn#49842, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:3402, owner: BottomSheetModalComponent.handleBottomSheetOnChange, offset: 0x0120ab3f, size: 58 bytes, params: 4, frame: 15
|
||||
env0_15.current = a0;
|
||||
env0_16.current = null;
|
||||
if (onChange) {
|
||||
onChange(a0, a1, a2);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun49843(a0, a1, a2, a3, a4) { // fn#49843, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:3498, offset: 0x0120ab79, size: 52 bytes, params: 6, frame: 19
|
||||
env0_16.current = a1;
|
||||
if (onAnimate) {
|
||||
onAnimate(a0, a1, a2, a3, a4);
|
||||
}
|
||||
}
|
||||
|
||||
function handleBottomSheetOnClose() { // fn#49844, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:3560, owner: BottomSheetModalComponent.handleBottomSheetOnClose, offset: 0x0120abad, size: 36 bytes, params: 1, frame: 9
|
||||
if (!env0_18.current) {
|
||||
if (env0_3) {
|
||||
env0_23();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _fun49845() { // fn#49845, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:3638, offset: 0x0120abd1, size: 97 bytes, params: 1, frame: 3
|
||||
return {snapToIndex: env0_24, snapToPosition: env0_25, expand: env0_26, collapse: env0_27, close: env0_28,
|
||||
forceClose: env0_29, dismiss: env0_31, present: env0_30, minimize: env0_32, restore: env0_33};
|
||||
}
|
||||
|
||||
function _fun49836() { // fn#49836, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6519:2599, offset: 0x0120a8f9, size: 59 bytes, params: 1, frame: 15
|
||||
env1_9({mount: true, data: env0_0});
|
||||
mountSheet(env1_21, require, env1_2);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user