Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,38 @@
|
||||
/* Metro module 5082; source: utils/getDeprecatedModalData.tsx; dependencies: [4502, 661, 2] */
|
||||
function _fun44114(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#44114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5260:6, offset: 0x01168978, size: 126 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const accessibilityStore = importDefault(4502) /* metro dependency 4502: AccessibilityStore */;
|
||||
const env0_1 = (require(661) /* metro dependency 661: Constants */).ModalAnimation;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/getDeprecatedModalData.tsx');
|
||||
exports.default = getDeprecatedModalData;
|
||||
}
|
||||
|
||||
function getDeprecatedModalData(a0, a1, a2) { // fn#44115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5260:207, offset: 0x011689f6, size: 264 bytes, params: 4, frame: 7
|
||||
let value = a3;
|
||||
let r4 = value !== undefined ? value : null;
|
||||
const object2 = {};
|
||||
const key = a1.key;
|
||||
value = null;
|
||||
r4 = value != key ? key : r4;
|
||||
object2.key = value != r4 ? r4 : 'modal';
|
||||
object2.modal = a0;
|
||||
const animation = a1.animation;
|
||||
object2.animation = value != animation ? animation : AccessibilityStore.useReducedMotion ? ModalAnimation.FADE : ModalAnimation.SLIDE_UP;
|
||||
const shouldPersistUnderModals = a1.shouldPersistUnderModals;
|
||||
object2.shouldPersistUnderModals = value != shouldPersistUnderModals && shouldPersistUnderModals;
|
||||
object2.props = a2;
|
||||
const backdropStyle = a1.backdropStyle;
|
||||
object2.backdropStyle = value != backdropStyle ? backdropStyle : value;
|
||||
const backdropInstant = a1.backdropInstant;
|
||||
object2.backdropInstant = value != backdropInstant && backdropInstant;
|
||||
const disableAnimation = a1.disableAnimation;
|
||||
object2.disableAnimation = value != disableAnimation && disableAnimation;
|
||||
object2.closable = typeof a1.closable !== 'boolean' || a1.closable;
|
||||
const label = a1.label;
|
||||
value = '';
|
||||
object2.label = value != label ? label : value;
|
||||
object2.callbacks = {};
|
||||
return object2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user