2026-09-14 20:04:03 +00:00
|
|
|
// Module ID: 10938
|
|
|
|
|
// Function ID: 10939
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: Helpers
|
2026-09-14 20:04:03 +00:00
|
|
|
// Dependencies: [1234, 4553, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-14 20:04:03 +00:00
|
|
|
// Module 10938 (Helpers)
|
|
|
|
|
import ApexExperimentStore from "ApexExperimentStore" /* 1234 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
const CommonTriggerPoints = fn(4553).CommonTriggerPoints;
|
2026-09-10 05:38:07 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
let result = size.fileFinishedImporting("modules/experiments/trigger_points/Helpers.tsx");
|
2026-07-29 08:29:29 +00:00
|
|
|
class CommonTriggerPointConfiguration {
|
|
|
|
|
constructor(arg0, arg1, arg2) {
|
|
|
|
|
obj = Object.create(new.target.prototype);
|
|
|
|
|
obj.experiments = global;
|
2026-09-10 05:38:07 +00:00
|
|
|
obj.triggerPoint = fn;
|
2026-07-29 08:29:29 +00:00
|
|
|
obj.params = importDefault;
|
|
|
|
|
return obj;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
|
|
|
|
const prototype = CommonTriggerPointConfiguration.prototype;
|
|
|
|
|
prototype["registeredExperimentIds"] = function registeredExperimentIds() {
|
|
|
|
|
const experiments = this.experiments;
|
|
|
|
|
return experiments.map((definition) => definition.definition.id);
|
|
|
|
|
};
|
|
|
|
|
prototype["trigger"] = function trigger() {
|
|
|
|
|
let obj = arg0;
|
|
|
|
|
if (arg0 === undefined) {
|
|
|
|
|
obj = {};
|
|
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = ApexExperimentStore.trackCommonTriggerPointExposures(this.params.location);
|
2026-07-29 08:29:29 +00:00
|
|
|
({ triggerPoint, experiments } = this);
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj2 = {};
|
2026-07-29 08:29:29 +00:00
|
|
|
const merged = Object.assign(this.params);
|
|
|
|
|
const merged1 = Object.assign(obj);
|
|
|
|
|
const item = experiments.forEach((trackExposure) => {
|
2026-09-10 05:38:07 +00:00
|
|
|
trackExposure.trackExposure(obj2);
|
2026-07-29 08:29:29 +00:00
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
prototype["getExperiments"] = function getExperiments() {
|
|
|
|
|
return this.experiments;
|
|
|
|
|
};
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export { CommonTriggerPointConfiguration };
|