decord/source/7465_callFrameToStackFrame.js

67 lines
1.7 KiB
JavaScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 7465
// Function ID: 7466
2026-07-20 16:05:17 +00:00
// Name: callFrameToStackFrame
2026-08-05 07:35:12 +00:00
// Dependencies: [7353, 7350, 7463]
2026-07-20 16:05:17 +00:00
2026-08-05 07:35:12 +00:00
// Module 7465 (callFrameToStackFrame)
2026-07-23 10:11:24 +00:00
const require = arg1;
const dependencyMap = arg6;
2026-07-20 16:05:17 +00:00
arg5.callFrameToStackFrame = function callFrameToStackFrame(location, str) {
let replaced;
if (str) {
replaced = str.replace(/^file:\/\//, "");
}
let sum;
if (location.location.columnNumber) {
sum = location.location.columnNumber + 1;
}
let sum1;
if (location.location.lineNumber) {
sum1 = location.location.lineNumber + 1;
}
2026-08-05 07:35:12 +00:00
let obj = require(7353) /* addNonEnumerableProperty */;
2026-07-29 08:29:29 +00:00
obj = { filename: replaced, module: arg2(replaced), function: null, colno: null, lineno: null, in_app: null };
2026-08-05 07:35:12 +00:00
obj[2] = location.functionName || require(7350) /* createStackParser */.UNKNOWN_FUNCTION;
2026-07-29 08:29:29 +00:00
obj[3] = sum;
obj[4] = sum1;
2026-07-20 16:05:17 +00:00
let filenameIsInAppResult;
if (replaced) {
2026-08-05 07:35:12 +00:00
filenameIsInAppResult = tmp4(7463).filenameIsInApp(replaced);
const tmp4Result = tmp4(7463);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[5] = filenameIsInAppResult;
2026-07-20 16:05:17 +00:00
return obj.dropUndefinedKeys(obj);
};
arg5.watchdogTimer = function watchdogTimer(arg0, arg1, arg2, arg3) {
2026-07-23 10:11:24 +00:00
let closure_0 = arg1;
let closure_1 = arg2;
let closure_2 = arg3;
2026-07-20 16:05:17 +00:00
let closure_3 = arg0();
2026-07-23 10:11:24 +00:00
let c4 = false;
let c5 = true;
2026-07-20 16:05:17 +00:00
const timerId = setInterval(() => {
const timeMs = navigation.getTimeMs();
2026-07-23 10:11:24 +00:00
let tmp2 = false === c4;
2026-07-20 16:05:17 +00:00
if (tmp2) {
2026-07-23 10:11:24 +00:00
tmp2 = timeMs > closure_0 + closure_1;
2026-07-20 16:05:17 +00:00
}
if (tmp2) {
2026-07-23 10:11:24 +00:00
c4 = true;
if (c5) {
callback();
2026-07-20 16:05:17 +00:00
}
}
2026-07-23 10:11:24 +00:00
if (timeMs < closure_0 + closure_1) {
c4 = false;
2026-07-20 16:05:17 +00:00
}
}, 20);
return {
poll() {
navigation.reset();
},
enabled(arg0) {
let closure_5 = arg0;
}
};
};