decord/source/28_set.js

96 lines
2.4 KiB
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 28
// Function ID: 29
// Name: set
// Dependencies: [29]
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
// Module 28 (set)
2026-07-23 10:11:24 +00:00
const module = arg2;
const dependencyMap = arg6;
2026-07-20 16:05:17 +00:00
const set = new Set();
const set1 = new Set();
let tmp4 = true === RN$Bridgeless.RN$Bridgeless;
if (!tmp4) {
tmp4 = null != RN$Bridgeless.__turboModuleProxy;
}
2026-08-24 06:08:38 +00:00
let closure_5 = tmp4;
2026-07-29 08:29:29 +00:00
arg5.createJavaScriptFlagGetter = function createJavaScriptFlagGetter(animatedShouldDebounceQueueFlush, arg1) {
2026-08-24 06:08:38 +00:00
const f66775 = () => {
closure_1_3.add(f66775);
2026-07-29 08:29:29 +00:00
let tmp5Result;
2026-08-24 06:08:38 +00:00
if (closure_1_2 != null) {
if (closure_1_2[tmp] != null) {
2026-07-29 08:29:29 +00:00
tmp5Result = tmp5();
}
}
return tmp5Result;
};
2026-08-24 06:08:38 +00:00
closure_1 = arg1;
2026-07-29 08:29:29 +00:00
return () => {
if (null == closure_2) {
2026-08-24 06:08:38 +00:00
let tmp2 = f66776();
2026-07-29 08:29:29 +00:00
if (tmp2 == null) {
tmp2 = closure_1;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
closure_2 = tmp2;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return closure_2;
};
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
arg5.createNativeFlagGetter = function createNativeFlagGetter(cdpInteractionMetricsEnabled, arg1) {
2026-08-24 06:08:38 +00:00
const f66776 = () => {
let hasItem = f66776(table[0]);
2026-07-20 16:05:17 +00:00
if (!hasItem) {
2026-08-24 06:08:38 +00:00
hasItem = closure_1_4.has(tmp);
2026-07-20 16:05:17 +00:00
}
if (!hasItem) {
2026-08-24 06:08:38 +00:00
hasItem = !closure_1_5;
2026-07-20 16:05:17 +00:00
}
if (!hasItem) {
2026-08-24 06:08:38 +00:00
closure_1_4.add(tmp);
2026-07-20 16:05:17 +00:00
const _console = console;
const _HermesInternal = HermesInternal;
console.error("Could not access feature flag '" + tmp + "' because native module method was not available");
}
2026-08-24 06:08:38 +00:00
const tmp2Result = f66776(table[0]);
2026-07-29 08:29:29 +00:00
let tmp13Result;
if (tmp2Result != null) {
if (tmp2Result[tmp] != null) {
tmp13Result = tmp13();
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
return tmp13Result;
};
2026-08-24 06:08:38 +00:00
closure_1 = arg1;
2026-07-29 08:29:29 +00:00
return () => {
if (null == closure_2) {
2026-08-24 06:08:38 +00:00
let tmp2 = f66776();
2026-07-29 08:29:29 +00:00
if (tmp2 == null) {
tmp2 = closure_1;
}
closure_2 = tmp2;
}
return closure_2;
};
2026-07-20 16:05:17 +00:00
};
arg5.getOverrides = function getOverrides() {
return closure_2;
};
arg5.setOverrides = function setOverrides(arg0) {
2026-07-23 10:11:24 +00:00
if (null != closure_2) {
2026-07-20 16:05:17 +00:00
const _Error2 = Error;
2026-08-24 06:08:38 +00:00
error = new Error("Feature flags cannot be overridden more than once");
2026-07-20 16:05:17 +00:00
throw error;
} else if (set.size > 0) {
const _Array = Array;
const _Error = Error;
const _HermesInternal = HermesInternal;
2026-07-29 08:29:29 +00:00
const error1 = new Error("Feature flags were accessed before being overridden: " + Array.from(tmp).join(", "));
2026-07-20 16:05:17 +00:00
throw error1;
2026-07-23 10:11:24 +00:00
} else {
closure_2 = arg0;
2026-07-20 16:05:17 +00:00
}
};
2026-07-29 08:29:29 +00:00
arg5.dangerouslyResetForTesting = function dangerouslyResetForTesting() {
};