2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 9773
|
|
|
|
|
// Function ID: 9774
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: WebViewContext
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [32, 19, 17, 21, 4636, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: WebViewContextProvider
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 9773 (WebViewContext)
|
2026-09-10 05:38:07 +00:00
|
|
|
import _slicedToArray from "module_32" /* 32 */;
|
|
|
|
|
import noop from "module_19" /* 19 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const View = fn(17).View;
|
|
|
|
|
const jsxProd = fn(21);
|
|
|
|
|
({ jsx: c3, jsxs: closure_4 } = jsxProd);
|
|
|
|
|
const context = noop.createContext(0);
|
2026-09-12 13:45:10 +00:00
|
|
|
const createStyles = fn(4636);
|
2026-09-10 05:38:07 +00:00
|
|
|
let closure_6 = createStyles.createStyles({ placeholderWebView: { width: 2, height: 2, position: "absolute", opacity: 0 } });
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/activities/native/WebViewContext.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const WebViewContext = context;
|
|
|
|
|
export const WebViewContextProvider = function WebViewContextProvider(children) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const tmp2 = _slicedToArray(noop.useState(0), 2);
|
|
|
|
|
closure_0 = tmp3;
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [tmp2[1]];
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj = { value: tmp2[0], children: null };
|
|
|
|
|
const tmp = closure_6();
|
|
|
|
|
const items1 = [
|
|
|
|
|
React3(View, {
|
|
|
|
|
style: closure_6().placeholderWebView,
|
|
|
|
|
ref: noop.useCallback((_nativeTag) => {
|
|
|
|
|
if (_nativeTag) {
|
|
|
|
|
closure_0(_nativeTag._nativeTag);
|
|
|
|
|
}
|
|
|
|
|
}, items),
|
|
|
|
|
pointerEvents: "none"
|
|
|
|
|
}),
|
|
|
|
|
children.children
|
|
|
|
|
];
|
|
|
|
|
obj.children = items1;
|
|
|
|
|
return React4(context.Provider, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|