Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
35 lines
1.4 KiB
TypeScript
35 lines
1.4 KiB
TypeScript
// Module ID: 17007
|
|
// Function ID: 17008
|
|
// Name: SearchResultsFeedbackExperiment
|
|
// Dependencies: [1438, 558, 568, 2]
|
|
// Exports: getIsSearchResultsFeedbackExperimentEnabled
|
|
|
|
// Module 17007 (SearchResultsFeedbackExperiment)
|
|
import c from "c" /* 568 */;
|
|
import ApexExperiment from "ApexExperiment" /* 1438 */;
|
|
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const obj = { name: "2025-05-search-results-feedback", kind: "user", defaultConfig: { enabled: false }, variations: null };
|
|
let obj2 = { 1: null };
|
|
obj2[1] = { enabled: true };
|
|
obj.variations = obj2;
|
|
let closure_2 = ApexExperiment.createApexExperiment(obj);
|
|
const result = size.fileFinishedImporting("modules/search/experiments/SearchResultsFeedbackExperiment.tsx");
|
|
|
|
export const useIsSearchResultsFeedbackExperimentEnabled = ReactCompilerGating.isReactCompilerEnabled() ? ((location) => {
|
|
const cResult = c.c(2);
|
|
const _location = location.location;
|
|
if (cResult[0] !== _location) {
|
|
const obj2 = { location: _location };
|
|
cResult[0] = _location;
|
|
cResult[1] = obj2;
|
|
let tmp2 = obj2;
|
|
} else {
|
|
tmp2 = cResult[1];
|
|
}
|
|
return closure_2.useConfig(tmp2).enabled;
|
|
}) : ((location) => closure_2.useConfig({ location: location.location }).enabled);
|
|
export const getIsSearchResultsFeedbackExperimentEnabled = function getIsSearchResultsFeedbackExperimentEnabled(location) {
|
|
return closure_2.getConfig({ location: location.location }).enabled;
|
|
};
|