"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.StyledComboBoxList = exports.StyledComboBoxInput = exports.StyledComboBoxCollapseExpandSingleIcon = exports.StyledComboBoxCloseSmallIcon = exports.StyledChipWrapper = void 0;
var _styledComponents = _interopRequireWildcard(require("styled-components"));
var _collection = require("../Icons/collection");
var _Input = require("../Input/Input");
var _Styles = require("../Input/Styles");
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 StyledComboBoxInput = exports.StyledComboBoxInput = (0, _styledComponents.default)(_Input.Input).withConfig({
  displayName: "Styles__StyledComboBoxInput",
  componentId: "sc-5qvkpb-0"
})(["overflow:hidden;text-overflow:ellipsis;width:100%;"]);
StyledComboBoxInput.displayName = "StyledComboBoxInput";
var StyledIconDefaults = (0, _styledComponents.css)(["flex-shrink:0;cursor:pointer;"]);
var StyledComboBoxCollapseExpandSingleIcon = exports.StyledComboBoxCollapseExpandSingleIcon = (0, _styledComponents.default)(_collection.CollapseExpandSingleIcon).withConfig({
  displayName: "Styles__StyledComboBoxCollapseExpandSingleIcon",
  componentId: "sc-5qvkpb-1"
})(["", ";color:var(--color-theme-600);transform:rotate(180deg);", ""], StyledIconDefaults, function (props) {
  return props.$open && (0, _styledComponents.css)(["transform:rotate(0deg);"]);
});
StyledComboBoxCollapseExpandSingleIcon.displayName = "StyledComboBoxCollapseExpandSingleIcon";
var StyledComboBoxCloseSmallIcon = exports.StyledComboBoxCloseSmallIcon = (0, _styledComponents.default)(_collection.CloseSmallIcon).withConfig({
  displayName: "Styles__StyledComboBoxCloseSmallIcon",
  componentId: "sc-5qvkpb-2"
})(["", ";opacity:0;transition-property:all;transition-duration:0.2s;transition-delay:0.5s;", ":hover,", ":hover &{opacity:1;transition-delay:0s;}"], StyledIconDefaults, StyledComboBoxInput, _Styles.StyledInputWrapper);
StyledComboBoxCloseSmallIcon.displayName = "StyledComboBoxCloseSmallIcon";
var StyledComboBoxList = exports.StyledComboBoxList = _styledComponents.default.div.withConfig({
  displayName: "Styles__StyledComboBoxList",
  componentId: "sc-5qvkpb-3"
})(["min-width:260px;background-color:var(--page-paper-main);border-radius:8px;border:1px solid var(--border-primary);box-shadow:var(--shadow-tertiary);margin:8px 0;width:", ";", ""], function (props) {
  return "".concat(props.$width, "px");
}, function (_ref) {
  var $hide = _ref.$hide;
  return $hide === true && (0, _styledComponents.css)(["display:none;"]);
});
StyledComboBoxList.displayName = "StyledComboBoxList";
var StyledChipWrapper = exports.StyledChipWrapper = _styledComponents.default.div.withConfig({
  displayName: "Styles__StyledChipWrapper",
  componentId: "sc-5qvkpb-4"
})(["", ";", ";", ";", " ", " ", ""], {
  "display": "flex"
}, {
  "gap": "0.25rem"
}, {
  "flex": "1 1 0%"
}, function (_ref2) {
  var $open = _ref2.$open;
  return !$open && (0, _styledComponents.css)(["overflow:hidden;"]);
}, function (_ref3) {
  var $autoSize = _ref3.$autoSize;
  return $autoSize === "auto" && (0, _styledComponents.css)(["", ";", ";"], {
    "flexWrap": "wrap"
  }, {
    "width": "100%"
  });
}, function (_ref4) {
  var $autoSize = _ref4.$autoSize;
  return $autoSize !== "auto" && (0, _styledComponents.css)(["align-items:center;"]);
});
StyledChipWrapper.displayName = "StyledChipWrapper";
//# sourceMappingURL=Styles.js.map