Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,118 @@
|
||||
/* Metro module 9942; source: modules/media_viewer/native/useEntranceAnimation.tsx; dependencies: [57, 31, 1305, 629, 690, 4504, 4017, 2] */
|
||||
function _fun77818(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77818, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10128:6, offset: 0x01e0d1aa, size: 254 bytes, params: 8, frame: 18
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(57) /* metro dependency 57 */;
|
||||
const env0_3 = importAll(31) /* metro dependency 31 */;
|
||||
object2 = {duration: 300};
|
||||
const STANDARD_EASING = (require(1305) /* metro dependency 1305: native */).STANDARD_EASING;
|
||||
object2.easing = STANDARD_EASING;
|
||||
let value = require(629) /* metro dependency 629 */;
|
||||
value = value.create(function() {
|
||||
return {isComplete: false};
|
||||
});
|
||||
object2 = {code: 'function useEntranceAnimationTsx1(){const{runOnJS,setUseEntranceAnimationState}=this.__closure;runOnJS(setUseEntranceAnimationState)({isComplete:true});}'};
|
||||
object2 = {code: 'function useEntranceAnimationTsx2(){const{runOnJS,setUseEntranceAnimationState,incrementLoads}=this.__closure;runOnJS(setUseEntranceAnimationState)({isComplete:true});runOnJS(incrementLoads)();}'};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/media_viewer/native/useEntranceAnimation.tsx');
|
||||
exports.useEntranceAnimationState = value;
|
||||
exports.useEntranceAnimation = useEntranceAnimation;
|
||||
}
|
||||
|
||||
function setUseEntranceAnimationState(a0) { // fn#77819, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10128:206, offset: 0x01e0d2a8, size: 54 bytes, params: 2, frame: 12
|
||||
const env0_0 = a0;
|
||||
(require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun77820);
|
||||
}
|
||||
|
||||
function useEntranceAnimation(a0) { // fn#77822, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10128:803, offset: 0x01e0d304, size: 164 bytes, params: 2, frame: 17
|
||||
const env0_0 = a0;
|
||||
const binding = env0_3;
|
||||
let value = env0_2(binding.useState(0), 2);
|
||||
const property = value[0];
|
||||
const env0_1 = value[1];
|
||||
value = binding.useCallback(_fun77823, []);
|
||||
const value3 = binding.useCallback(_fun77825, [a0]);
|
||||
value = binding.useCallback(_fun77828, [value, a0]);
|
||||
return {loads: property, handleLoadStart: value3, handleError: value, handleLoad: value};
|
||||
}
|
||||
|
||||
function _fun77820() { // fn#77820, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10128:269, offset: 0x01e0d2de, size: 27 bytes, params: 1, frame: 11
|
||||
return env1_5.setState(env0_0);
|
||||
}
|
||||
|
||||
function _fun77823() { // fn#77823, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10128:896, offset: 0x01e0d3a8, size: 25 bytes, params: 1, frame: 11
|
||||
env0_1(function(a0) {
|
||||
return a0 + 1;
|
||||
});
|
||||
}
|
||||
|
||||
function _fun77825() { // fn#77825, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10128:936, offset: 0x01e0d3c1, size: 175 bytes, params: 1, frame: 23
|
||||
(require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun77826);
|
||||
const binding = env0_0;
|
||||
const set = binding.set;
|
||||
const timingModule = require(4504) /* metro dependency 4504: timing */;
|
||||
const withTiming = timingModule.withTiming;
|
||||
const binding2 = env1_4;
|
||||
const closure = t_77827;
|
||||
const object2 = {};
|
||||
object2.runOnJS = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS;
|
||||
object2.setUseEntranceAnimationState = setUseEntranceAnimationState;
|
||||
closure.__closure = object2;
|
||||
closure.__workletHash = 7427534745615;
|
||||
closure.__initData = env1_6;
|
||||
Reflect.apply(set, binding, [Reflect.apply(withTiming, timingModule, [1, binding2, 'respect-motion-settings',
|
||||
closure])]);
|
||||
}
|
||||
|
||||
function _fun77828() { // fn#77828, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10128:1306, offset: 0x01e0d4c4, size: 223 bytes, params: 1, frame: 25
|
||||
var environment;
|
||||
var value3;
|
||||
var set;
|
||||
var moduleValue2;
|
||||
var withTiming;
|
||||
var binding2;
|
||||
var closure;
|
||||
var object2;
|
||||
let binding = env0_0;
|
||||
if (binding.get() !== 1) {
|
||||
value3 = environment.__proto__;
|
||||
(require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun77829);
|
||||
binding = env0_0;
|
||||
set = binding.set;
|
||||
moduleValue2 = require(4504) /* metro dependency 4504: timing */;
|
||||
withTiming = moduleValue2.withTiming;
|
||||
binding2 = env1_4;
|
||||
closure = t_77830;
|
||||
object2 = {};
|
||||
object2.runOnJS = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS;
|
||||
object2.setUseEntranceAnimationState = setUseEntranceAnimationState;
|
||||
object2.incrementLoads = env0_2;
|
||||
closure.__closure = object2;
|
||||
closure.__workletHash = 9904090637386;
|
||||
closure.__initData = env1_7;
|
||||
Reflect.apply(set, binding, [Reflect.apply(withTiming, moduleValue2, [1, binding2, 'respect-motion-settings',
|
||||
closure])]);
|
||||
} else {
|
||||
env0_2();
|
||||
}
|
||||
}
|
||||
|
||||
function _fun77826() { // fn#77826, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10128:969, offset: 0x01e0d470, size: 29 bytes, params: 1, frame: 12
|
||||
return env2_5.setState({isComplete: false});
|
||||
}
|
||||
|
||||
function t_77827() { // fn#77827, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10128:1062, offset: 0x01e0d48d, size: 55 bytes, params: 1, frame: 12
|
||||
const value = environment.__proto__.__proto__;
|
||||
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
reanimatedRexportModule.runOnJS(setUseEntranceAnimationState)({isComplete: true});
|
||||
}
|
||||
|
||||
function t_77830() { // fn#77830, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10128:1445, offset: 0x01e0d5a3, size: 85 bytes, params: 1, frame: 15
|
||||
let value = environment.__proto__.__proto__;
|
||||
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
reanimatedRexportModule.runOnJS(setUseEntranceAnimationState)({isComplete: true});
|
||||
value = reanimatedRexportModule;
|
||||
value.runOnJS(env1_2)();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user