"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const RequestContext = require("../../routing/RequestContext.cjs");
const Page = (props) => {
  const request = RequestContext.useCurrentRequest();
  if (request === null) {
    return null;
  }
  return typeof props.children === "function" ? /* @__PURE__ */ jsxDevRuntime.jsxDEV(props.children, { ...request.parameters }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/pageRouting/Page.tsx",
    lineNumber: 19,
    columnNumber: 48
  }, void 0) : /* @__PURE__ */ jsxDevRuntime.jsxDEV(jsxDevRuntime.Fragment, { children: props.children }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/pageRouting/Page.tsx",
    lineNumber: 19,
    columnNumber: 100
  }, void 0);
};
Page.displayName = "Page";
Page.getPageName = (props) => props.name;
exports.Page = Page;
//# sourceMappingURL=Page.cjs.map
