"use strict";

function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.scrollStyles = exports.StyledUl = exports.StyledSeparator = exports.StyledFlexbox = exports.StyledButton = void 0;
var _styledComponents = _interopRequireWildcard(require("styled-components"));
var _index = _interopRequireDefault(require("../../common/NormalizedElements/index"));
var _ = require("../..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
var scrollStyles = exports.scrollStyles = (0, _styledComponents.css)(["", ";", ";"], function (_ref) {
  var $scrollOptions = _ref.$scrollOptions;
  return $scrollOptions.active ? "\n  overflow: auto;\n  overflow-x: scroll;\n  white-space: nowrap;\n  " : "";
}, function (_ref2) {
  var $scrollOptions = _ref2.$scrollOptions;
  return $scrollOptions.scrollBarHidden ? " ::-webkit-scrollbar {\n    display: none;\n  }\n  -ms-overflow-style: none; /* IE and Edge */\n  scrollbar-width: none; /* Firefox */" : "";
});
var StyledSeparator = exports.StyledSeparator = (0, _styledComponents.default)(_.Separator).withConfig({
  displayName: "Tabsstyles__StyledSeparator",
  componentId: "sc-bhi7sg-0"
})(["margin-top:-1px;"]);
var StyledFlexbox = exports.StyledFlexbox = (0, _styledComponents.default)(_.Flexbox).withConfig({
  displayName: "Tabsstyles__StyledFlexbox",
  componentId: "sc-bhi7sg-1"
})(["list-style-type:none;padding:0;margin-top:0;margin-bottom:0;", ""], scrollStyles);
var StyledButton = exports.StyledButton = (0, _styledComponents.default)(_index.default.Button).withConfig({
  displayName: "Tabsstyles__StyledButton",
  componentId: "sc-bhi7sg-2"
})(["background:none;display:flex;border:none;margin:0;padding:0;cursor:pointer;font-weight:inherit;color:", ";"], function (p) {
  return p.$active ? p.theme.color.tabTitleActive : p.theme.color.tabTitle;
});
var StyledUl = exports.StyledUl = _styledComponents.default.ul.withConfig({
  displayName: "Tabsstyles__StyledUl",
  componentId: "sc-bhi7sg-3"
})(["padding:0;margin-top:0;margin-bottom:0;list-style:none;"]);