2026-10-12 16:32:48 +00:00
|
|
|
// Module ID: 18639
|
|
|
|
|
// Function ID: 18640
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: YYTextReplacementExperiment
|
2026-10-12 16:32:48 +00:00
|
|
|
// Dependencies: [1453, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: shouldEnableYYTextReplacement
|
|
|
|
|
|
2026-10-12 16:32:48 +00:00
|
|
|
// Module 18639 (YYTextReplacementExperiment)
|
|
|
|
|
import ApexExperiment from "ApexExperiment" /* 1453 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
2026-10-01 14:13:23 +00:00
|
|
|
let obj2;
|
|
|
|
|
let obj = { name: "2026-01-yytext-replacement-ios", kind: "user", defaultConfig: { enabled: false }, variations: obj2 };
|
|
|
|
|
obj2 = { 1: null };
|
2026-09-18 19:45:33 +00:00
|
|
|
obj2[1] = { enabled: true };
|
|
|
|
|
const config = ApexExperiment.createApexExperiment(obj);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/messages/YYTextReplacementExperiment.tsx");
|
|
|
|
|
|
|
|
|
|
export const shouldEnableYYTextReplacement = function shouldEnableYYTextReplacement(location) {
|
2026-10-01 14:13:23 +00:00
|
|
|
const obj = { location: location.location };
|
|
|
|
|
return config.getConfig(obj).enabled;
|
2026-09-18 19:45:33 +00:00
|
|
|
};
|