"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PageFooter=exports.PageFooterComponent=void 0;const jsx_runtime_1=require("react/jsx-runtime"),theme_1=require("@redocly/theme"),react_1=require("react"),jotai_1=require("jotai"),store_1=require("../../jotai/store"),RenderHook_1=require("../RenderHook");function PageFooterComponent(){const{unstable_hooks:{MiddlePanelFooter:e}}=(0,jotai_1.useAtomValue)(store_1.globalOptionsAtom);switch(!0){case Boolean(e):return(0,jsx_runtime_1.jsx)(RenderHook_1.RenderHook,{Hook:e,props:void 0});case Boolean(theme_1.OpenApiFooter):return(0,jsx_runtime_1.jsx)(theme_1.OpenApiFooter,{});default:return null}}exports.PageFooterComponent=PageFooterComponent,exports.PageFooter=(0,react_1.memo)(PageFooterComponent);
//# sourceMappingURL=PageFooter.js.map