46 lines
2.1 KiB
TypeScript
46 lines
2.1 KiB
TypeScript
/* Metro module 5228; source: modules/app_database/system/AppDatabaseManager.Entry.tsx; dependencies: [6, 7, 2] */
|
|
function _fun46277(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46277, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5406:6, offset: 0x011a4720, size: 124 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_1 = importDefault(7) /* metro dependency 7 */;
|
|
const value = _fun46278();
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/app_database/system/AppDatabaseManager.Entry.tsx');
|
|
exports.Entry = value;
|
|
}
|
|
|
|
function _fun46278() { // fn#46278, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5406:118, offset: 0x011a479c, size: 149 bytes, params: 1, frame: 15
|
|
return env0_1(Entry_46279, [{key: 'actions', get: function() {
|
|
return this.definition.actions;
|
|
}}, {key: 'load', value: function() {
|
|
if (this.module == null) {
|
|
this.module = this.definition.require();
|
|
}
|
|
}}, {key: 'reset', value: function() {
|
|
var module = this.module;
|
|
if (module != null) {
|
|
module.resetInMemoryState();
|
|
}
|
|
}}, {key: 'execute', value: function(a0, a1) {
|
|
var actions;
|
|
var property;
|
|
this.load();
|
|
if (this.module != null) {
|
|
actions = this.module.actions;
|
|
property = actions[a0.type];
|
|
if (property != null) {
|
|
property.call(actions, a0, a1);
|
|
}
|
|
}
|
|
}}, {key: 'validateInDev', value: function() {
|
|
}}]);
|
|
}
|
|
|
|
function Entry_46279(a0, a1) { // fn#46279, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5406:139, offset: 0x011a4831, size: 53 bytes, params: 3, frame: 13
|
|
env1_0(this, Entry_46279);
|
|
this.parent = a0;
|
|
this.module = null;
|
|
this.definition = a1;
|
|
}
|
|
|