Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
31 lines
658 B
JavaScript
31 lines
658 B
JavaScript
// Module ID: 7134
|
|
// Function ID: 7135
|
|
// Dependencies: []
|
|
// Exports: getModalRouteKeys
|
|
|
|
// Module 7134
|
|
|
|
export const getModalRouteKeys = (arr, arg1) => {
|
|
closure_0 = arg1;
|
|
return arr.reduce((arr, key) => {
|
|
let options;
|
|
if (closure_0[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;
|
|
}, []);
|
|
};
|