"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.StyledCounterButtonWrapper = exports.StyledCounterButtonReset = exports.StyledCounterButtonLabel = exports.StyledCounterButton = exports.StyledBadge = void 0;
var _styledComponents = _interopRequireWildcard(require("styled-components"));
var _Badge = require("../Badge");
var _BoxSizingStyle = require("../BoxSizingStyle");
var _Button = require("../Button/Button");
var _FontStyle = require("../FontStyle");
var _Body = require("../Typography/Variants/Body2");
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 StyledCounterButtonWrapper = exports.StyledCounterButtonWrapper = _styledComponents.default.div.withConfig({
  displayName: "Styles__StyledCounterButtonWrapper",
  componentId: "sc-1ecrcba-0"
})(["", " ", " ", " width:fit-content;"], {
  "display": "flex"
}, _FontStyle.FontStyle, _BoxSizingStyle.BoxSizingStyle);
StyledCounterButtonWrapper.displayName = "StyledCounterButtonWrapper";
var StyledCounterButton = exports.StyledCounterButton = (0, _styledComponents.default)(_Button.Button).withConfig({
  displayName: "Styles__StyledCounterButton",
  componentId: "sc-1ecrcba-1"
})(["", " ", " ", " ", ""], function (props) {
  return props.$active && !props.disabled && (0, _styledComponents.css)(["padding:0 8px;svg{fill:var(--color-primary);}&:hover{background:var(--color-primary-300);}"]);
}, function (props) {
  return props.$selected && (0, _styledComponents.css)(["border-top-right-radius:0;border-bottom-right-radius:0;background-color:var(--color-primary-200);"]);
}, function (props) {
  return !props.$selected && (0, _styledComponents.css)(["@media (max-width:768px){width:32px;}"]);
}, function (props) {
  return props.disabled && (0, _styledComponents.css)(["pointer-events:none;opacity:0.5;"]);
});
StyledCounterButton.displayName = "StyledCounterButton";
var StyledCounterButtonReset = exports.StyledCounterButtonReset = (0, _styledComponents.default)(_Button.Button).withConfig({
  displayName: "Styles__StyledCounterButtonReset",
  componentId: "sc-1ecrcba-2"
})(["background-color:var(--color-primary-200);border-top-left-radius:0;border-bottom-left-radius:0;&:hover,&:focus-visible{background-color:var(--color-primary-300);border-top-left-radius:0;border-bottom-left-radius:0;}"]);
StyledCounterButtonReset.displayName = "StyledCounterButtonReset";
var StyledCounterButtonLabel = exports.StyledCounterButtonLabel = (0, _styledComponents.default)(_Body.Body2).withConfig({
  displayName: "Styles__StyledCounterButtonLabel",
  componentId: "sc-1ecrcba-3"
})(["", " @media (max-width:768px){display:none;}", ":hover &&{", "}", ""], {
  "pointerEvents": "none"
}, StyledCounterButton, function (props) {
  return !props.$active && (0, _styledComponents.css)(["color:var(--color-theme-900);"]);
}, function (props) {
  return props.$active && (0, _styledComponents.css)(["color:var(--color-primary);"]);
});
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
var StyledBadge = exports.StyledBadge = (0, _styledComponents.default)(_Badge.Badge).withConfig({
  displayName: "Styles__StyledBadge",
  componentId: "sc-1ecrcba-4"
})(["margin-left:4px;margin-right:-6px;"]);
StyledBadge.displayName = "StyledBadge";
//# sourceMappingURL=Styles.js.map