decord/beta/source/modules/auth/usePromoEmailOptInLabel.tsx
2026-10-02 13:37:24 +00:00

59 lines
1.7 KiB
TypeScript

// Module ID: 15611
// Function ID: 15612
// Name: usePromoEmailOptInLabel
// Dependencies: [558, 576, 15612, 1127, 2]
// Module 15611 (usePromoEmailOptInLabel)
import react from "react" /* 576 */;
import intl2 from "intl" /* 1127 */;
import RegistrationEmailOptInCopyExperimentDefault from "RegistrationEmailOptInCopyExperiment" /* 15612 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
let tmp2 = ReactCompilerGating.isReactCompilerEnabled() ? ((arg0, location) => {
let tmp4;
const obj = react;
const cResult = obj.c(5);
if (cResult[0] !== location) {
const obj2 = { location };
cResult[0] = location;
cResult[1] = obj2;
tmp4 = obj2;
} else {
tmp4 = cResult[1];
}
const obj3 = RegistrationEmailOptInCopyExperimentDefault;
const trackingCopy = obj3.useConfig(tmp4).trackingCopy;
if (cResult[2] === arg0) {
let tmp5;
if (cResult[3] === trackingCopy) {
tmp5 = cResult[4];
}
return tmp5;
}
const intl = tmp(1127).intl;
let LSoXK5 = arg0;
const string = intl.string;
if (trackingCopy) {
LSoXK5 = tmp(1127).t.LSoXK5;
}
const stringResult = string(LSoXK5);
cResult[2] = arg0;
cResult[3] = trackingCopy;
cResult[4] = stringResult;
tmp5 = stringResult;
}) : ((arg0, location) => {
let LSoXK5 = arg0;
const obj = RegistrationEmailOptInCopyExperimentDefault;
const obj2 = { location };
const trackingCopy = obj.useConfig(obj2).trackingCopy;
const intl = intl2.intl;
const string = intl.string;
if (trackingCopy) {
LSoXK5 = intl2.t.LSoXK5;
}
return string(LSoXK5);
});
const result = size.fileFinishedImporting("modules/auth/usePromoEmailOptInLabel.tsx");
export const usePromoEmailOptInLabel = tmp2;