2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 10395
|
|
|
|
|
// Function ID: 10396
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: _loop
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [4120, 1629, 10396, 10397, 1642, 1497, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 10395 (_loop)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import context from "context" /* 1497 */;
|
|
|
|
|
import APP_ENTRY_KEYS from "APP_ENTRY_KEYS" /* 1642 */;
|
2026-08-25 06:04:03 +00:00
|
|
|
import subscribeToSafeAreaInsetsDefault from "subscribeToSafeAreaInsets" /* 10396 */;
|
|
|
|
|
import module_4120 from "module_4120" /* 4120 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
import useSafeAreaInsets from "useSafeAreaInsets" /* 1629 */;
|
2026-07-21 06:55:02 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
let obj = { main: null, share: null };
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {};
|
2026-07-23 10:11:24 +00:00
|
|
|
const merged = Object.assign(useSafeAreaInsets.getSafeAreaInsets("main"));
|
2026-08-25 06:04:03 +00:00
|
|
|
obj[0] = module_4120.makeMutable(obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {};
|
2026-07-23 10:11:24 +00:00
|
|
|
const merged1 = Object.assign(useSafeAreaInsets.getSafeAreaInsets("share"));
|
2026-08-25 06:04:03 +00:00
|
|
|
obj[1] = module_4120.makeMutable(obj);
|
2026-07-29 08:29:29 +00:00
|
|
|
function _loop(iter) {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_0 = iter;
|
|
|
|
|
subscribeToSafeAreaInsetsDefault((arg0) => {
|
|
|
|
|
closure_1_1(closure_1_2[3])(closure_1_3[closure_0], arg0);
|
2026-07-29 08:29:29 +00:00
|
|
|
}, iter);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
const iter = APP_ENTRY_KEYS.APP_ENTRY_KEYS[Symbol.iterator]();
|
2026-07-29 08:29:29 +00:00
|
|
|
while (iter !== undefined) {
|
|
|
|
|
let _loopResult = _loop(iter.next());
|
|
|
|
|
continue;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
let closure_4 = { code: "function getSafeAreaInsetsWorklet_useSafeAreaInsetsSharedValueNativeTsx1(appEntryKey='main'){const{safeAreaInsetsSharedValues}=this.__closure;return safeAreaInsetsSharedValues[appEntryKey].get();}" };
|
2026-07-29 08:29:29 +00:00
|
|
|
const tmp5 = (() => {
|
2026-07-23 10:11:24 +00:00
|
|
|
export function getSafeAreaInsetsWorklet() {
|
2026-07-20 16:05:17 +00:00
|
|
|
let str = arg0;
|
|
|
|
|
if (arg0 === undefined) {
|
|
|
|
|
str = "main";
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
return table[str].get();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = { safeAreaInsetsSharedValues: obj };
|
2026-07-20 16:05:17 +00:00
|
|
|
getSafeAreaInsetsWorklet.__closure = obj;
|
|
|
|
|
getSafeAreaInsetsWorklet.__workletHash = 5220247127549;
|
|
|
|
|
getSafeAreaInsetsWorklet.__initData = closure_4;
|
|
|
|
|
return getSafeAreaInsetsWorklet;
|
2026-07-23 10:11:24 +00:00
|
|
|
})();
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = set.fileFinishedImporting("modules/safe_area/useSafeAreaInsetsSharedValue.native.tsx");
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
export default function useSafeAreaInsetsSharedValue() {
|
2026-08-24 06:08:38 +00:00
|
|
|
obj = context;
|
2026-07-23 10:11:24 +00:00
|
|
|
return obj[obj.useAppEntryKey(obj)];
|
|
|
|
|
};
|