decord/source/6572_getModalRouteKeys.js

31 lines
656 B
JavaScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 6572
// Function ID: 6573
2026-08-06 08:05:19 +00:00
// Name: getModalRouteKeys
// Dependencies: []
2026-08-24 06:08:38 +00:00
// Module 6572 (getModalRouteKeys)
2026-08-06 08:05:19 +00:00
arg5.getModalRouteKeys = (arr) => {
2026-08-24 06:08:38 +00:00
closure_0 = arg1;
2026-08-06 08:05:19 +00:00
return arr.reduce((arr, key) => {
let options;
if (table[key.key] != null) {
options = tmp.options;
}
if (options == null) {
options = {};
}
const presentation = options.presentation;
let tmp2 = arr.length && !presentation;
if (!tmp2) {
tmp2 = "modal" === presentation;
}
if (!tmp2) {
tmp2 = "transparentModal" === presentation;
}
if (tmp2) {
arr.push(key.key);
}
return arr;
}, []);
};