59 lines
3.2 KiB
TypeScript
59 lines
3.2 KiB
TypeScript
/* Metro module 7296; source: modules/experiments/trigger_points/Helpers.tsx; dependencies: [6, 7, 1220, 4108, 2] */
|
|
function _fun58850(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#58850, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7474:6, offset: 0x016d8457, size: 158 bytes, params: 8, frame: 19
|
|
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 apexExperimentStore = importDefault(1220) /* metro dependency 1220: ApexExperimentStore */;
|
|
(require(4108) /* metro dependency 4108: ExperimentConstants */).CommonTriggerPoints;
|
|
const value = _fun58851();
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/experiments/trigger_points/Helpers.tsx');
|
|
exports.CommonTriggerPointConfiguration = value;
|
|
}
|
|
|
|
function _fun58851() { // fn#58851, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7474:160, offset: 0x016d84f5, size: 105 bytes, params: 1, frame: 15
|
|
return env0_1(CommonTriggerPointConfiguration, [{key: 'registeredExperimentIds', value: function() {
|
|
return this.experiments.map(_fun58854);
|
|
}}, {key: 'trigger', value: value_58855}, {key: 'getExperiments', value: function() {
|
|
return this.experiments;
|
|
}}]);
|
|
}
|
|
|
|
function CommonTriggerPointConfiguration(a0, a1, a2) { // fn#58852, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7474:181, offset: 0x016d855e, size: 54 bytes, params: 4, frame: 13
|
|
env1_0(this, CommonTriggerPointConfiguration);
|
|
this.experiments = a0;
|
|
this.triggerPoint = a1;
|
|
this.params = a2;
|
|
}
|
|
|
|
function value_58853() { // fn#58853, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7474:362, offset: 0x016d8594, size: 28 bytes, params: 1, frame: 11
|
|
return this.experiments.map(function(a0) {
|
|
return a0.definition.id;
|
|
});
|
|
}
|
|
|
|
function value_58855() { // fn#58855, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7474:446, offset: 0x016d85c0, size: 98 bytes, params: 1, frame: 16
|
|
var environment;
|
|
let value = a0;
|
|
const r1 = value !== undefined ? value : {};
|
|
value = environment.__proto__;
|
|
ApexExperimentStore.trackCommonTriggerPointExposures(this.params.location);
|
|
this.triggerPoint;
|
|
const experiments = this.experiments;
|
|
const object2 = {};
|
|
copyDataProperties(object2, this.params, undefined);
|
|
copyDataProperties(object2, r1, undefined);
|
|
((a0, a1, a2) => {
|
|
var env0_0 = a2;
|
|
a1.forEach(_fun58857);
|
|
})(undefined, experiments, object2);
|
|
}
|
|
|
|
function triggerCommonExperiments(a0, a1, a2) { // fn#58856, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7474:518, owner: value_58855.triggerCommonExperiments, offset: 0x016d8622, size: 31 bytes, params: 4, frame: 11
|
|
const env0_0 = a2;
|
|
a1.forEach(function(a0) {
|
|
a0.trackExposure(importDefault);
|
|
});
|
|
}
|
|
|