decord/source/module_1545.js

35 lines
954 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1545
2026-07-24 07:16:23 +00:00
// Function ID: 17570
2026-07-23 10:11:24 +00:00
// Dependencies: [31, 33, 1546, 1459]
2026-07-20 16:05:17 +00:00
// Module 1545
2026-07-23 10:11:24 +00:00
import importAllResult from "result";
import { jsx } from "jsxProd";
const require = arg1;
2026-07-20 16:05:17 +00:00
export default importAllResult.forwardRef(function ServerContainer(arg0, arg1) {
let _location;
let children;
({ children, location: _location } = arg0);
const effect = importAllResult.useEffect(() => {
console.error("'ServerContainer' should only be used on the server with 'react-dom/server' for SSR.");
}, []);
let obj = {};
if (arg1) {
obj = {
getCurrentOptions() {
return obj.options;
}
};
if ("function" === typeof arg1) {
arg1(obj);
} else {
arg1.current = obj;
}
}
obj = { value: { location: _location } };
2026-07-23 10:11:24 +00:00
obj.children = jsx(obj(1459).CurrentRenderContext.Provider, { value: obj, children });
return jsx(importDefault(1546).Provider, { value: { location: _location } });
2026-07-20 16:05:17 +00:00
});