"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),a=require("semantic-ui-react"),c=require("@devgateway/wp-react-lib"),l=require("../utils/AppMedia.js"),d=require("./Footer.js"),p=require("./Header.js"),x=require("./TopNavigator.js"),f=require("./Customizer.js"),j=({children:r,fixed:s=!1,header:t})=>e.jsxs(a.Container,{fluid:!0,children:[e.jsx(c.SettingsConsumer,{children:e.jsx(f.CustomizerWrapper,{children:t||e.jsx(p.default,{})})}),e.jsx(a.Container,{className:"desktop",children:r}),e.jsx(x.default,{})]});function m(r){const{children:s,fixed:t,locale:q,pages:i,header:u,footer:n}=r,o=i?i[0]:null;return e.jsxs("div",{children:[e.jsx("style",{children:l.Media.mediaStyles}),e.jsx(j,{fixed:t,header:u,children:s}),n||(o&&o.template==="noofoter.php"?"":e.jsx(d.default,{}))]})}exports.default=m;
