Files
discord-decomp/sources/modules/experiments/ExperimentTriggerPointStore.tsx
T
2026-07-27 16:20:00 +03:00

77 lines
3.8 KiB
TypeScript

/* Metro module 12538; source: modules/experiments/ExperimentTriggerPointStore.tsx; dependencies: [6, 7, 15, 17, 18, 4107, 1220, 12539, 12540, 694, 566, 2] */
function _fun95836(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#95836, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12728:6, offset: 0x02150187, size: 303 bytes, params: 8, frame: 19
const env0_0 = require;
const handleConnectionOpen_95840 = function() {
var ConnectionOpenTriggerPoint = require(dependencyMap[8]).ConnectionOpenTriggerPoint;
ConnectionOpenTriggerPoint.trigger();
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(6) /* metro dependency 6 */;
const env0_4 = importDefault(7) /* metro dependency 7 */;
const env0_5 = importDefault(15) /* metro dependency 15 */;
const env0_6 = importDefault(17) /* metro dependency 17 */;
const env0_7 = importDefault(18) /* metro dependency 18 */;
const experimentStore = importDefault(4107) /* metro dependency 4107: ExperimentStore */;
const apexExperimentStore = importDefault(1220) /* metro dependency 1220: ApexExperimentStore */;
require(12539) /* metro dependency 12539: DebugExperiment */;
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
let value = _fun95841(Store);
value.displayName = 'ExperimentTriggerPointStore';
value = new value();
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/experiments/ExperimentTriggerPointStore.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_95837() { // fn#95837, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12728:168, offset: 0x021502b6, size: 98 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_95837_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun95841(a0) { // fn#95841, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12728:452, offset: 0x02150343, size: 72 bytes, params: 2, frame: 15
const closure = ExperimentTriggerPointStore;
env0_7(closure, a0);
return env0_4(closure, [{key: 'initialize', value: function() {
this.waitFor(ExperimentStore, ApexExperimentStore);
}}]);
}
function ExperimentTriggerPointStore() { // fn#95842, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12728:464, offset: 0x0215038b, size: 176 bytes, params: 1, frame: 19
const value = environment.__proto__;
env1_3(this, ExperimentTriggerPointStore);
const items2 = [importDefault(694) /* metro dependency 694: Dispatcher */];
items2[1] = {CONNECTION_OPEN: handleConnectionOpen_95840};
const DispatchBand = (require(694) /* metro dependency 694: Dispatcher */).DispatchBand;
const Early = DispatchBand.Early;
items2[2] = Early;
const value3 = env1_6(ExperimentTriggerPointStore);
return env1_5(this, _isNativeReflectConstruct_95837() ? global.Reflect.construct(value3, items2,
env1_6(this).constructor) : value3.apply(this, items2));
}