2026-09-16 07:03:15 +00:00
|
|
|
// Module ID: 18028
|
|
|
|
|
// Function ID: 18029
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: YYTextReplacementExperiment
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [1434, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: shouldEnableYYTextReplacement
|
|
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
// Module 18028 (YYTextReplacementExperiment)
|
2026-09-15 14:23:42 +00:00
|
|
|
import ApexExperiment from "ApexExperiment" /* 1434 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj = { name: "2026-01-yytext-replacement-ios", kind: "user", defaultConfig: { enabled: false }, variations: null };
|
|
|
|
|
const obj2 = { 1: null };
|
|
|
|
|
obj2[1] = { enabled: true };
|
|
|
|
|
obj.variations = obj2;
|
|
|
|
|
const config = ApexExperiment.createApexExperiment(obj);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/messages/YYTextReplacementExperiment.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const shouldEnableYYTextReplacement = function shouldEnableYYTextReplacement(location) {
|
|
|
|
|
return config.getConfig({ location: location.location }).enabled;
|
|
|
|
|
};
|