"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
require("core-js/modules/es.regexp.exec.js");
require("core-js/modules/es.string.replace.js");
const compatibleLayout = layout => {
  if (!layout) {
    return layout;
  }
  const layoutEnum = ['sidemenu', 'topmenu'];
  if (layoutEnum.includes(layout)) {
    return layout.replace('menu', '');
  }
  return layout;
};
var _default = compatibleLayout;
exports.default = _default;