2026-07-29 08:29:29 +00:00
|
|
|
// Module ID: 445
|
|
|
|
|
// Function ID: 446
|
|
|
|
|
// Dependencies: [446, 143]
|
2026-09-10 05:38:07 +00:00
|
|
|
// Exports: default
|
2026-07-29 08:29:29 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
// Module 445
|
|
|
|
|
import _modDef446 from "module_446" /* 446 */;
|
|
|
|
|
|
|
|
|
|
importDefault = arg2;
|
2026-07-29 08:29:29 +00:00
|
|
|
const dependencyMap = arg6;
|
2026-09-10 05:38:07 +00:00
|
|
|
|
|
|
|
|
export default function getScrollParent(arg0) {
|
2026-07-29 08:29:29 +00:00
|
|
|
let tmp = arg0;
|
|
|
|
|
if (null != arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
while (!_modDef446(tmp)) {
|
2026-07-29 08:29:29 +00:00
|
|
|
let parentElement = tmp.parentElement;
|
|
|
|
|
if (!(parentElement instanceof tmp2(143))) {
|
|
|
|
|
if (null != parentElement) {
|
|
|
|
|
let _console = console;
|
|
|
|
|
let errorResult = console.error("Expected `element.parentElement` to be `?ReactNativeElement`, got: %s", parentElement);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
let tmp6 = null;
|
|
|
|
|
if (parentElement instanceof tmp2(143)) {
|
|
|
|
|
tmp6 = parentElement;
|
|
|
|
|
}
|
|
|
|
|
tmp = tmp6;
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
};
|