"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _chunk55ENDYDQjs = require('./chunk-55ENDYDQ.js');


var _chunkUQXHNZJWjs = require('./chunk-UQXHNZJW.js');


var _chunkBULDV55Zjs = require('./chunk-BULDV55Z.js');


var _chunkJGLXIUWQjs = require('./chunk-JGLXIUWQ.js');

// tmp-babel/navigations/web/NavHorizontal/index.js
var _react = require('react');
var _scrollbars = require('@baseapp-frontend/design-system/components/web/scrollbars');
var _web = require('@baseapp-frontend/design-system/hooks/web');
var _web3 = require('@baseapp-frontend/design-system/styles/web');
var _AppBar = require('@mui/material/AppBar'); var _AppBar2 = _interopRequireDefault(_AppBar);
var _Toolbar = require('@mui/material/Toolbar'); var _Toolbar2 = _interopRequireDefault(_Toolbar);
var _styles = require('@mui/material/styles');
var _jsxruntime = require('react/jsx-runtime');
function _typeof(o) {
  "@babel/helpers - typeof";
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
    return typeof o2;
  } : function(o2) {
    return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
  }, _typeof(o);
}
function ownKeys(e, r) {
  var t = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var o = Object.getOwnPropertySymbols(e);
    r && (o = o.filter(function(r2) {
      return Object.getOwnPropertyDescriptor(e, r2).enumerable;
    })), t.push.apply(t, o);
  }
  return t;
}
function _objectSpread(e) {
  for (var r = 1; r < arguments.length; r++) {
    var t = null != arguments[r] ? arguments[r] : {};
    r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
      _defineProperty(e, r2, t[r2]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
      Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
    });
  }
  return e;
}
function _defineProperty(e, r, t) {
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e;
}
function _toPropertyKey(t) {
  var i = _toPrimitive(t, "string");
  return "symbol" == _typeof(i) ? i : i + "";
}
function _toPrimitive(t, r) {
  if ("object" != _typeof(t) || !t) return t;
  var e = t[Symbol.toPrimitive];
  if (void 0 !== e) {
    var i = e.call(t, r || "default");
    if ("object" != _typeof(i)) return i;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return ("string" === r ? String : Number)(t);
}
var NavHorizontal = function NavHorizontal2(_ref) {
  var navData = _ref.navData, openNav = _ref.openNav, onCloseNav = _ref.onCloseNav;
  var theme = _styles.useTheme.call(void 0, );
  var lgDown = _web.useResponsive.call(void 0, "down", "lg");
  if (lgDown) {
    return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBULDV55Zjs.VerticalDrawer_default, {
      navData,
      openNav,
      onCloseNav
    });
  }
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _AppBar2.default, {
    component: "div",
    sx: {
      top: _chunkJGLXIUWQjs.HEADER_HEIGHT.DESKTOP_OFFSET,
      display: {
        xs: "none",
        lg: "flex"
      }
    },
    children: [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Toolbar2.default, {
      sx: _objectSpread(_objectSpread({}, _web3.bgBlur.call(void 0, {
        color: theme.palette.background["default"]
      })), {}, {
        justifyContent: "center"
      }),
      children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _scrollbars.Scrollbar, {
        sx: {
          "& .simplebar-content": {
            display: "flex"
          }
        },
        children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUQXHNZJWjs.NavSectionHorizontal_default, {
          navData
        })
      })
    }), /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55ENDYDQjs.HeaderShadow_default, {})]
  });
};
var NavHorizontal_default = /* @__PURE__ */ _react.memo.call(void 0, NavHorizontal);



exports.NavHorizontal_default = NavHorizontal_default;
//# sourceMappingURL=chunk-4KIF2EFT.js.map