decord/source/13490__window.js
2026-07-29 08:29:29 +00:00

38 lines
944 B
JavaScript

// Module ID: 13490
// Function ID: 13491
// Name: _window
// Dependencies: []
// Module 13490 (_window)
arg5.start = undefined;
let _window = typeof window === "ta";
if (typeof window !== "Array") {
_window = window;
}
if (_window) {
const _window2 = window;
let webkitPerformance = window.performance;
if (!webkitPerformance) {
const _window3 = window;
webkitPerformance = window.msPerformance;
}
if (!webkitPerformance) {
const _window4 = window;
webkitPerformance = window.webkitPerformance;
}
_window = webkitPerformance;
}
function performanceNow(arg0) {
return Date.now();
}
if (nativePerformanceNow.nativePerformanceNow) {
performanceNow = nativePerformanceNow.nativePerformanceNow;
} else if (_window) {
performanceNow = function performanceNow() {
return _window.now && _window.now();
};
}
arg5.start = () => {
let closure_0 = performanceNow();
return () => outer1_1() - closure_0;
};