this.primevue = this.primevue || {};
this.primevue.menubar = this.primevue.menubar || {};
this.primevue.menubar.style = (function (BaseStyle) {
    'use strict';

    function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

    var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);

    var theme = function theme(_ref) {
      var dt = _ref.dt;
      return "\n.p-menubar {\n    display: flex;\n    align-items: center;\n    padding: 0.5rem 0.5rem;\n    background: ".concat(dt('menubar.background'), ";\n    color: ").concat(dt('menubar.color'), ";\n    border: 1px solid ").concat(dt('menubar.border.color'), ";\n    border-radius: ").concat(dt('rounded.base'), ";\n}\n\n.p-menubar-root-list,\n.p-menubar-submenu {\n    margin: 0;\n    padding: 0;\n    list-style: none;\n    outline: 0 none;\n}\n\n.p-menubar-root-list {\n    display: flex;\n    align-items: center;\n    flex-wrap: wrap;\n}\n\n.p-menubar-root-list > .p-menubar-item-active > .p-menubar-submenu {\n    display: block;\n}\n\n.p-menubar-item-content {\n    transition: background-color ").concat(dt('transition.duration'), ", color ").concat(dt('transition.duration'), ";\n    border-radius: ").concat(dt('rounded.sm'), ");\n    color: ").concat(dt('menubar.item.color'), ";\n}\n\n.p-menubar-item-link {\n    cursor: pointer;\n    display: flex;\n    align-items: center;\n    text-decoration: none;\n    overflow: hidden;\n    position: relative;\n    color: inherit;\n    padding: 0.5rem 0.75rem;\n    user-select: none;\n}\n\n.p-menubar-item-label {\n    line-height: 1;\n}\n\n.p-menubar-item-icon {\n    color: ").concat(dt('menubar.item.icon.color'), ";\n    margin-right: 0.5rem;\n}\n\n.p-menubar-item.p-focus > .p-menubar-item-content {\n    color: ").concat(dt('menubar.item.focus.color'), ";\n    background: ").concat(dt('menubar.item.focus.background'), ";\n}\n\n.p-menubar-item.p-focus > .p-menubar-item-content .p-menubar-item-icon,\n.p-menubar-item.p-focus > .p-menubar-item-content .p-menubar-submenu-icon {\n    color: ").concat(dt('menubar.item.icon.focus.color'), ";\n}\n\n.p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover {\n    color: ").concat(dt('menubar.item.focus.color'), ";\n    background: ").concat(dt('menubar.item.focus.background'), ";\n}\n\n.p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover .p-menubar-item-icon,\n.p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover .p-menubar-submenu-icon {\n    color: ").concat(dt('menubar.item.icon.focus.color'), ";\n}\n\n.p-menubar-item-active > .p-menubar-item-content {\n    color: ").concat(dt('menubar.item.focus.color'), ";\n    background: ").concat(dt('menubar.item.focus.background'), ";\n}\n\n.p-menubar-item-active > .p-menubar-item-content .p-menubar-item-icon,\n.p-menubar-item-active > .p-menubar-item-content .p-menubar-submenu-icon {\n    color: ").concat(dt('menubar.item.icon.focus.color'), ";\n}\n\n.p-menubar-submenu-icon {\n    color: ").concat(dt('menubar.item.icon.color'), ";\n    margin-left: auto;\n    font-size: 0.875rem;\n    width: 0.875rem;\n    height: 0.875rem;\n}\n\n.p-menubar-root-list > .p-menubar-item > .p-menubar-item-content .p-menubar-submenu-icon {\n    margin-left: 0.5rem;\n}\n\n.p-menubar-submenu {\n    display: none;\n    position: absolute;\n    min-width: 12.5rem;\n    z-index: 1;\n    padding: 0.25rem 0.25rem;\n    background: ").concat(dt('menubar.background'), ";\n    color: ").concat(dt('menubar.color'), ";\n    border: 1px solid ").concat(dt('menubar.border.color'), ";\n    border-radius: ").concat(dt('rounded.base'), ";\n    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n}\n\n.p-menubar-submenu .p-menubar-separator {\n    border-top: 1px solid ").concat(dt('menubar.separator.border.color'), ";\n    margin: 2px 0;\n}\n\n.p-menubar-submenu .p-menubar-item {\n    position: relative;\n    margin: 2px 0;\n}\n\n.p-menubar-submenu .p-menubar-item:first-child {\n    margin-top: 0;\n}\n\n.p-menubar-submenu .p-menubar-item:last-child {\n    margin-bottom: 0;\n}\n\n .p-menubar-submenu > .p-menubar-item-active > .p-menubar-submenu {\n    display: block;\n    left: 100%;\n    top: 0;\n}\n\n.p-menubar-end {\n    margin-left: auto;\n    align-self: center;\n}\n\n.p-menubar-button {\n    display: none;\n    justify-content: center;\n    align-items: center;\n    cursor: pointer;\n    width: 1.75rem;\n    height: 1.75rem;\n    position: relative;\n    color: ").concat(dt('menubar.mobile.toggle.color'), ";\n    border: 0 none;\n    background: transparent;\n    border-radius: 50%;\n    transition: background-color ").concat(dt('transition.duration'), ", color ").concat(dt('transition.duration'), ", outline-color ").concat(dt('transition.duration'), ";\n    outline-color: transparent;\n}\n\n.p-menubar-button:hover {\n    color: ").concat(dt('menubar.mobile.toggle.hover.color'), ";\n    background: ").concat(dt('menubar.mobile.toggle.hover.background'), ";\n}\n\n.p-menubar-button:focus-visible {\n    outline: ").concat(dt('focus.ring.width'), " ").concat(dt('focus.ring.style'), " ").concat(dt('focus.ring.color'), ";\n    outline-offset: ").concat(dt('focus.ring.offset'), ";\n}\n\n.p-menubar-mobile {\n    position: relative;\n}\n\n.p-menubar-mobile .p-menubar-button {\n    display: flex;\n}\n\n.p-menubar-mobile .p-menubar-root-list {\n    position: absolute;\n    display: none;\n    width: 100%;\n    padding: 0.25rem 0.25rem;\n    background: ").concat(dt('menubar.background'), ";\n    border: 1px solid ").concat(dt('menubar.border.color'), ";\n    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n}\n\n.p-menubar-mobile-active .p-menubar-root-list {\n    display: flex;\n    flex-direction: column;\n    top: 100%;\n    left: 0;\n    z-index: 1;\n}\n\n.p-menubar-mobile .p-menubar-root-list .p-menubar-item {\n    width: 100%;\n    position: static;\n}\n\n.p-menubar-mobile .p-menubar-root-list .p-menubar-separator {\n    border-top: 1px solid #e2e8f0;\n    margin: 2px 0;\n}\n\n.p-menubar-mobile .p-menubar-root-list > .p-menubar-item {\n    position: relative;\n    margin: 2px 0;\n}\n\n.p-menubar-mobile .p-menubar-root-list > .p-menubar-item:first-child {\n    margin-top: 0;\n}\n\n.p-menubar-mobile .p-menubar-root-list > .p-menubar-item:last-child {\n    margin-bottom: 0;\n}\n\n.p-menubar-mobile .p-menubar-root-list > .p-menubar-item > .p-menubar-item-content .p-menubar-submenu-icon {\n    margin-left: auto;\n    transition: transform 0.2s;\n}\n\n.p-menubar-mobile .p-menubar-root-list > .p-menubar-item-active > .p-menubar-item-content .p-menubar-submenu-icon {\n    transform: rotate(-180deg);\n}\n\n.p-menubar-mobile .p-menubar-submenu .p-menubar-submenu-icon {\n    transition: transform 0.2s;\n    transform: rotate(90deg);\n}\n\n.p-menubar-mobile  .p-menubar-item-active > .p-menubar-item-content .p-menubar-submenu-icon {\n    transform: rotate(-90deg);\n}\n\n.p-menubar-mobile .p-menubar-submenu {\n    width: 100%;\n    position: static;\n    box-shadow: none;\n    border: 0 none;\n    padding-left: 1rem;\n}\n");
    };
    var inlineStyles = {
      submenu: function submenu(_ref2) {
        var instance = _ref2.instance,
          processedItem = _ref2.processedItem;
        return {
          display: instance.isItemActive(processedItem) ? 'block' : 'none'
        };
      }
    };
    var classes = {
      root: function root(_ref3) {
        var instance = _ref3.instance;
        return ['p-menubar p-component', {
          'p-menubar-mobile': instance.queryMatches,
          'p-menubar-mobile-active': instance.mobileActive
        }];
      },
      start: 'p-menubar-start',
      button: 'p-menubar-button',
      rootList: 'p-menubar-root-list',
      item: function item(_ref4) {
        var instance = _ref4.instance,
          processedItem = _ref4.processedItem;
        return ['p-menubar-item', {
          'p-menubar-item-active': instance.isItemActive(processedItem),
          'p-focus': instance.isItemFocused(processedItem),
          'p-disabled': instance.isItemDisabled(processedItem)
        }];
      },
      itemContent: 'p-menubar-item-content',
      itemLink: 'p-menubar-item-link',
      itemIcon: 'p-menubar-item-icon',
      itemLabel: 'p-menubar-item-label',
      submenuIcon: 'p-menubar-submenu-icon',
      submenu: 'p-menubar-submenu',
      separator: 'p-menubar-separator',
      end: 'p-menubar-end'
    };
    var MenubarStyle = BaseStyle__default["default"].extend({
      name: 'menubar',
      theme: theme,
      classes: classes,
      inlineStyles: inlineStyles
    });

    return MenubarStyle;

})(primevue.base.style);
