Files
2026-07-28 01:06:53 +03:00

56 lines
3.3 KiB
TypeScript

/* Metro module 14084; source: modules/collectibles/native/CollectiblesProgressiveImage.tsx; dependencies: [31, 27, 33, 4017, 4504, 2] */
import ReanimatedRexport from '../../reanimated/ReanimatedRexport.tsx'; /* Metro dependency 4017 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as ReanimatedRexportModule from '../../reanimated/ReanimatedRexport.tsx'; /* Metro dependency 4017 */
function _fun106716(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#106716, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14281:6, offset: 0x022e8012, size: 169 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
ReactModule;
(FileImportTrackerModule).fileFinishedImporting('modules/collectibles/native/CollectiblesProgressiveImage.tsx');
exports.CollectiblesProgressiveImage = CollectiblesProgressiveImage;
function CollectiblesProgressiveImage(a0) { // fn#106717, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14281:277, offset: 0x022e80bb, size: 204 bytes, params: 2, frame: 22
const source = a0.source;
const style = a0.style;
const value = Object.create(null);
value.source = 0;
value.style = 0;
const value2 = copyDataProperties({}, a0, value, undefined);
const value4 = (ReanimatedRexportModule).useSharedValue(0);
const Image = (ReanimatedRexport).Image;
const imageProps = {...value2};
imageProps['source'] = source;
const object2 = {};
copyDataProperties(object2, StyleSheet.absoluteFillObject, value);
object2['opacity'] = value4;
imageProps['style'] = object2;
imageProps['onLoad'] = CollectiblesProgressiveImageOnLoad;
return (
<View style={style}>
<Image {...imageProps} />
</View>
);
function CollectiblesProgressiveImageOnLoad() { // fn#106718, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14281:481, owner: CollectiblesProgressiveImage.onLoad, offset: 0x022e8187, size: 125 bytes, params: 1, frame: 20
const binding = env0_0;
const set = binding.set;
let value = environment.__proto__;
value = require(4504) /* metro dependency 4504: timing */;
const withTiming = value.withTiming;
const Easing = (ReanimatedRexportModule).Easing;
const inOut = Easing.inOut;
const Easing2 = (ReanimatedRexportModule).Easing;
Reflect.apply(set, binding, [Reflect.apply(withTiming, value, [1, {duration: 500, easing: Reflect.apply(inOut,
Easing, [Easing2.ease])}])]);
}
}
}
global.__d(_fun106716, 14084, [31, 27, 33, 4017, 4504,
2]) /* metro module 14084, dependencies: [31, 27, 33, 4017, 4504, 2] */;