42 lines
1.6 KiB
TypeScript
42 lines
1.6 KiB
TypeScript
// Module ID: 7569
|
|
// Function ID: 7570
|
|
// Name: DesignSystemsNotificationComponentsExperiment
|
|
// Dependencies: [1453, 558, 576, 2]
|
|
// Exports: getDesignSystemsNotificationComponents
|
|
|
|
// Module 7569 (DesignSystemsNotificationComponentsExperiment)
|
|
import react from "react" /* 576 */;
|
|
import ApexExperiment from "ApexExperiment" /* 1453 */;
|
|
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let obj2;
|
|
let obj = { name: "2026-09-design-systems-notification-components", kind: "user", defaultConfig: { enabled: false }, variations: obj2 };
|
|
obj2 = { 1: null };
|
|
obj2[1] = { enabled: true };
|
|
const apexExperiment = ApexExperiment.createApexExperiment(obj);
|
|
const tmp3 = ReactCompilerGating.isReactCompilerEnabled() ? (function useDesignSystemsNotificationComponents(location) {
|
|
let tmp2;
|
|
const obj = react;
|
|
const cResult = obj.c(2);
|
|
if (cResult[0] !== location) {
|
|
const obj2 = { location };
|
|
cResult[0] = location;
|
|
cResult[1] = obj2;
|
|
tmp2 = obj2;
|
|
} else {
|
|
tmp2 = cResult[1];
|
|
}
|
|
return apexExperiment.useConfig(tmp2).enabled;
|
|
}) : (function useDesignSystemsNotificationComponents(location) {
|
|
const obj = { location };
|
|
return apexExperiment.useConfig(obj).enabled;
|
|
});
|
|
const result = size.fileFinishedImporting("modules/design/DesignSystemsNotificationComponentsExperiment.tsx");
|
|
|
|
export default apexExperiment;
|
|
export const useDesignSystemsNotificationComponents = tmp3;
|
|
export const getDesignSystemsNotificationComponents = function getDesignSystemsNotificationComponents(location) {
|
|
const obj = { location };
|
|
return apexExperiment.getConfig(obj).enabled;
|
|
};
|