2026-10-08 09:57:35 +00:00
|
|
|
// Module ID: 4772
|
|
|
|
|
// Function ID: 4773
|
2026-09-30 07:29:52 +00:00
|
|
|
// Name: DesignSystemsNotificationComponentsExperiment
|
2026-10-08 09:57:35 +00:00
|
|
|
// Dependencies: [1452, 558, 576, 2]
|
2026-10-03 08:58:59 +00:00
|
|
|
// Exports: getDesignSystemsNotificationComponents
|
2026-09-30 07:29:52 +00:00
|
|
|
|
2026-10-08 09:57:35 +00:00
|
|
|
// Module 4772 (DesignSystemsNotificationComponentsExperiment)
|
2026-10-03 08:58:59 +00:00
|
|
|
import react from "react" /* 576 */;
|
2026-10-08 09:57:35 +00:00
|
|
|
import ApexExperiment from "ApexExperiment" /* 1452 */;
|
2026-10-03 08:58:59 +00:00
|
|
|
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
|
2026-09-30 07:29:52 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
2026-10-03 08:58:59 +00:00
|
|
|
let obj2;
|
|
|
|
|
let obj = { name: "2026-09-design-systems-notification-components", kind: "user", defaultConfig: { enabled: false }, variations: obj2 };
|
|
|
|
|
obj2 = { 1: null };
|
2026-09-30 07:29:52 +00:00
|
|
|
obj2[1] = { enabled: true };
|
|
|
|
|
const apexExperiment = ApexExperiment.createApexExperiment(obj);
|
2026-10-08 09:57:35 +00:00
|
|
|
const tmp3 = ReactCompilerGating.isReactCompilerEnabled() ? (function useDesignSystemsNotificationComponents(location) {
|
2026-10-03 08:58:59 +00:00
|
|
|
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;
|
2026-10-08 09:57:35 +00:00
|
|
|
}) : (function useDesignSystemsNotificationComponents(location) {
|
2026-10-03 08:58:59 +00:00
|
|
|
const obj = { location };
|
|
|
|
|
return apexExperiment.useConfig(obj).enabled;
|
|
|
|
|
});
|
2026-09-30 07:29:52 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/design/DesignSystemsNotificationComponentsExperiment.tsx");
|
|
|
|
|
|
|
|
|
|
export default apexExperiment;
|
2026-10-03 08:58:59 +00:00
|
|
|
export const useDesignSystemsNotificationComponents = tmp3;
|
|
|
|
|
export const getDesignSystemsNotificationComponents = function getDesignSystemsNotificationComponents(DevToolsInAppNotificationTestingScreen) {
|
|
|
|
|
const obj = { location: DevToolsInAppNotificationTestingScreen };
|
|
|
|
|
return apexExperiment.getConfig(obj).enabled;
|
2026-10-01 06:55:13 +00:00
|
|
|
};
|