"use strict";
(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
  [6448],
  {
    6448: function (i, n, l) {
      l.r(n),
        l.d(n, {
          default: function () {
            return main_layout;
          },
        });
      var o = l(35944),
        t = l(24980),
        a = l(24496),
        e = l(87357),
        d = l(90948);
      let u = (0, d.ZP)(e.Z, {
        shouldForwardProp: (i) => "isMainPage" !== i,
        target: "exp4lv90",
      })((i) => {
        let { theme: n, isMainPage: l } = i;
        return {
          flex: 1,
          position: "relative",
          paddingBottom: n.spacing(10),
          ...(l
            ? {}
            : {
                paddingTop: n.spacing(7),
                [n.breakpoints.down("md")]: { paddingTop: n.spacing(9) },
              }),
        };
      });
      var main_layout = (i) => {
        var n, l, e, d;
        let {
          layout: { header: r, footer: p } = {},
          children: s,
          isMainPage: v,
          isAuthorized: g,
        } = i;
        return (0, o.BX)(o.HY, {
          children: [
            (0, o.tZ)(t.Z, {
              isAuthorized: g,
              logo:
                null == r
                  ? void 0
                  : null === (l = r.logo) || void 0 === l
                  ? void 0
                  : null === (n = l.data) || void 0 === n
                  ? void 0
                  : n.attributes,
              menu: null == r ? void 0 : r.menu,
            }),
            (0, o.tZ)(u, { component: "main", isMainPage: !!v, children: s }),
            (0, o.tZ)(a.Z, {
              copyrightTemplate:
                null !== (e = null == p ? void 0 : p.copyright) && void 0 !== e
                  ? e
                  : "",
              isMainPage: v,
              links:
                null !== (d = null == p ? void 0 : p.links) && void 0 !== d
                  ? d
                  : [],
            }),
          ],
        });
      };
    },
  },
]);
