decord/source/__polyfill/00xxx/module_908.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

34 lines
774 B
JavaScript

// Module ID: 908
// Function ID: 909
// Dependencies: [904]
// Exports: getNavigationEntry
// Module 908
import _mod904 from "module_904" /* 904 */;
require = arg1;
const dependencyMap = arg6;
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
export const getNavigationEntry = () => {
let flag = arg0;
if (arg0 === undefined) {
flag = true;
}
const _performance = _mod904.WINDOW.performance;
let first;
if (_performance != null) {
const getEntriesByType = _performance.getEntriesByType;
if (getEntriesByType != null) {
first = getEntriesByType("navigation")[0];
}
}
if (flag) {
if (first) {
if (first.responseStart > 0) {
const _performance2 = performance;
}
}
}
return first;
};