"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get ListWrapper () {
        return ListWrapper;
    },
    get StyledEmptyState () {
        return StyledEmptyState;
    },
    get Ul () {
        return Ul;
    },
    get base () {
        return base;
    }
});
var _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
var _react = require("@emotion/react");
var _engines = require("../../engines");
var _EmptyState = require("../EmptyState");
var _utils = require("./utils");
var _Selecttokens = require("./Select.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var mergedConfig = (0, _engines.mergeConfig)(_EmptyState.emptyStateConfig);
var EmptyState = (0, _engines.component)(mergedConfig);
var ListWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e12ippls0",
    label: "ListWrapper"
})("width:", function(param) {
    var listWidth = param.listWidth;
    return listWidth || '100%';
}, ";padding:calc(var(", _Selecttokens.tokens.padding, ") + var(", _Selecttokens.tokens.dropdownBorderWidth, ",0rem));border-radius:var(", _Selecttokens.tokens.borderRadius, ");box-sizing:border-box;background:var(", _Selecttokens.constants.background, ");box-shadow:", _Selecttokens.constants.boxShadow, ",inset 0 0 0 var(", _Selecttokens.tokens.dropdownBorderWidth, ",0rem) var(", _Selecttokens.tokens.dropdownBorderColor, ",transparent);");
var Ul = (0, /*#__PURE__*/ _styled.default)("ul", {
    target: "e12ippls1",
    label: "Ul"
})("max-height:", function(param) {
    var virtual = param.virtual, listMaxHeight = param.listMaxHeight;
    return(// eslint-disable-next-line no-nested-ternary
    virtual ? 'auto' : listMaxHeight ? (0, _utils.getCorrectHeight)(listMaxHeight) : 'auto');
}, ";overflow-x:hidden;overflow-y:", function(param) {
    var virtual = param.virtual;
    return virtual ? 'visible' : 'auto';
}, ";border-radius:calc(var(", _Selecttokens.tokens.borderRadius, ") - 0.125rem - var(", _Selecttokens.tokens.dropdownBorderWidth, ",0rem));margin:0;padding:0;.", _Selecttokens.classes.emptyStateWrapper, "{box-shadow:none;}");
var StyledEmptyState = /*#__PURE__*/ (0, _styled.default)(EmptyState, {
    target: "e12ippls2",
    label: "StyledEmptyState"
})(_EmptyState.emptyStateTokens.borderRadius, ":var(", _Selecttokens.tokens.textFieldBorderRadius, ");", _EmptyState.emptyStateTokens.padding, ":var(", _Selecttokens.tokens.emptyStatePadding, ");", _EmptyState.emptyStateTokens.fontFamily, ":var(", _Selecttokens.tokens.textFieldFontFamily, ");", _EmptyState.emptyStateTokens.fontSize, ":var(", _Selecttokens.tokens.textFieldFontSize, ");", _EmptyState.emptyStateTokens.fontStyle, ":var(", _Selecttokens.tokens.textFieldFontStyle, ");", _EmptyState.emptyStateTokens.fontWeight, ":var(", _Selecttokens.tokens.textFieldFontWeight, ");", _EmptyState.emptyStateTokens.fontLetterSpacing, ":var(", _Selecttokens.tokens.textFieldLetterSpacing, ");", _EmptyState.emptyStateTokens.fontLineHeight, ":var(", _Selecttokens.tokens.textFieldLineHeight, ");");
var base = (0, /*#__PURE__*/ _react.css)("base");
