decord/alpha/source/modules/premium/experiments/MobileNitroManageSubscriptionsSettingsExperiment.tsx

44 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-10-05 08:00:40 +00:00
// Module ID: 13202
// Function ID: 13203
// Name: MobileNitroManageSubscriptionsSettingsExperiment
2026-10-03 08:58:59 +00:00
// Dependencies: [1440, 558, 576, 2]
// Exports: getMobileNitroManageSubscriptionsSettingsExperiment
2026-07-20 16:05:17 +00:00
2026-10-05 08:00:40 +00:00
// Module 13202 (MobileNitroManageSubscriptionsSettingsExperiment)
2026-10-03 08:58:59 +00:00
import react from "react" /* 576 */;
import ApexExperiment from "ApexExperiment" /* 1440 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
2026-10-03 08:58:59 +00:00
let obj2;
let obj = { name: "2026-06-macaron", kind: "user", defaultConfig: { enabled: false }, variations: obj2 };
obj2 = { 1: null };
obj2[1] = { enabled: true };
const apexExperiment = ApexExperiment.createApexExperiment(obj);
2026-10-03 08:58:59 +00:00
const tmp3 = ReactCompilerGating.isReactCompilerEnabled() ? ((location) => {
let tmp2;
const obj = react;
const cResult = obj.c(2);
const _location = location.location;
if (cResult[0] !== _location) {
const obj2 = { location: _location };
cResult[0] = _location;
cResult[1] = obj2;
tmp2 = obj2;
} else {
tmp2 = cResult[1];
}
return apexExperiment.useConfig(tmp2).enabled;
}) : ((location) => {
const obj = { location: location.location };
return apexExperiment.useConfig(obj).enabled;
});
const result = size.fileFinishedImporting("modules/premium/experiments/MobileNitroManageSubscriptionsSettingsExperiment.tsx");
2026-07-20 16:05:17 +00:00
export default apexExperiment;
2026-10-03 08:58:59 +00:00
export const useMobileNitroManageSubscriptionsSettingsExperiment = tmp3;
2026-07-20 16:05:17 +00:00
export const getMobileNitroManageSubscriptionsSettingsExperiment = function getMobileNitroManageSubscriptionsSettingsExperiment(location) {
2026-10-03 08:58:59 +00:00
const obj = { location: location.location };
return apexExperiment.getConfig(obj).enabled;
2026-07-20 16:05:17 +00:00
};