55 lines
3.5 KiB
JavaScript
55 lines
3.5 KiB
JavaScript
/* Metro module 6763; source: unknown; dependencies: [110, 42, 117] */
|
|
import * as Module00110Module from './module-00110.js'; /* Metro dependency 110 */
|
|
import * as Module00117Module from './module-00117.js'; /* Metro dependency 117 */
|
|
|
|
function _fun53287(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53287, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6941:6, offset: 0x013445b3, size: 323 bytes, params: 8, frame: 22
|
|
const env0_0 = require;
|
|
let Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {uiViewClassName: 'LottieAnimationView'};
|
|
object.bubblingEventTypes = {topAnimationFinish: {phasedRegistrationNames: {'captured': 'onAnimationFinishCapture',
|
|
'bubbled': 'onAnimationFinish'}},
|
|
topAnimationFailure: {phasedRegistrationNames: {'captured': 'onAnimationFailureCapture',
|
|
'bubbled': 'onAnimationFailure'}},
|
|
topAnimationLoaded: {phasedRegistrationNames: {'captured': 'onAnimationLoadedCapture',
|
|
'bubbled': 'onAnimationLoaded'}}};
|
|
Object = global.Object;
|
|
const assign = Object.assign;
|
|
let value = Module00110Module;
|
|
value = value.ConditionallyIgnoredEventHandlers({'onAnimationFinish': true, 'onAnimationFailure': true,
|
|
'onAnimationLoaded': true});
|
|
object.validAttributes = Reflect.apply(assign, Object, [{'resizeMode': true, 'renderMode': true, 'sourceName': true,
|
|
'sourceJson': true, 'sourceURL': true, 'sourceDotLottieURI': true, 'imageAssetsFolder': true, 'progress': true,
|
|
'speed': true, 'loop': true, 'autoPlay': true, 'enableMergePathsAndroidForKitKatAndAbove': true,
|
|
'enableSafeModeAndroid': true, 'hardwareAccelerationAndroid': true, 'cacheComposition': true,
|
|
'colorFilters': true, 'dummy': true, 'textFiltersAndroid': true, 'textFiltersIOS': true}, value]);
|
|
value = require(42) /* metro dependency 42 */;
|
|
value = value.get('LottieAnimationView', _fun53288);
|
|
const object4 = {play: play, reset: reset_53290, pause: pause, resume: resume_53292};
|
|
exports.default = value;
|
|
exports.__INTERNAL_VIEW_CONFIG = object;
|
|
exports.Commands = object4;
|
|
function _fun53288() { // fn#53288, offset: 0x00c36b39, size: 9 bytes, params: 1, frame: 1
|
|
return env0_2;
|
|
}
|
|
|
|
function play(a0, a1, a2) { // fn#53289, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6941:1043, offset: 0x013446f6, size: 65 bytes, params: 4, frame: 16
|
|
(Module00117Module).dispatchCommand(a0, 'play', [a1, a2]);
|
|
}
|
|
|
|
function reset_53290(a0) { // fn#53290, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6941:1111, offset: 0x01344737, size: 51 bytes, params: 2, frame: 16
|
|
(Module00117Module).dispatchCommand(a0, 'reset', []);
|
|
}
|
|
|
|
function pause(a0) { // fn#53291, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6941:1174, offset: 0x0134476a, size: 51 bytes, params: 2, frame: 16
|
|
(Module00117Module).dispatchCommand(a0, 'pause', []);
|
|
}
|
|
|
|
function resume_53292(a0) { // fn#53292, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6941:1238, offset: 0x0134479d, size: 51 bytes, params: 2, frame: 16
|
|
(Module00117Module).dispatchCommand(a0, 'resume', []);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun53287, 6763, [110, 42, 117]) /* metro module 6763, dependencies: [110, 42, 117] */;
|