decord/source/9940_getModalRouteKeys.js
2026-08-15 05:55:55 +00:00

45 lines
1,017 B
JavaScript

// Module ID: 9940
// Function ID: 9941
// Name: getModalRouteKeys
// Dependencies: []
// Module 9940 (getModalRouteKeys)
arg5.getModalRouteKeys = (arr) => {
let closure_0 = arg1;
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) {
tmp2 = "containedModal" === presentation;
}
if (!tmp2) {
tmp2 = "containedTransparentModal" === presentation;
}
if (!tmp2) {
tmp2 = "fullScreenModal" === presentation;
}
if (!tmp2) {
tmp2 = "formSheet" === presentation;
}
if (!tmp2) {
tmp2 = "pageSheet" === presentation;
}
if (tmp2) {
arr.push(key.key);
}
return arr;
}, []);
};