"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 InfiniteLoaderWrapper () {
        return InfiniteLoaderWrapper;
    },
    get ListWrapper () {
        return ListWrapper;
    },
    get StyledLeftHelper () {
        return StyledLeftHelper;
    },
    get Ul () {
        return Ul;
    },
    get base () {
        return base;
    }
});
const _styledcomponents = /*#__PURE__*/ _interop_require_wildcard(require("styled-components"));
const _Autocompletetokens = require("./Autocomplete.tokens");
function _getRequireWildcardCache(nodeInterop) {
    if (typeof WeakMap !== "function") return null;
    var cacheBabelInterop = new WeakMap();
    var cacheNodeInterop = new WeakMap();
    return (_getRequireWildcardCache = function(nodeInterop) {
        return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
    })(nodeInterop);
}
function _interop_require_wildcard(obj, nodeInterop) {
    if (!nodeInterop && obj && obj.__esModule) {
        return obj;
    }
    if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
        return {
            default: obj
        };
    }
    var cache = _getRequireWildcardCache(nodeInterop);
    if (cache && cache.has(obj)) {
        return cache.get(obj);
    }
    var newObj = {
        __proto__: null
    };
    var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
    for(var key in obj){
        if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
            var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
            if (desc && (desc.get || desc.set)) {
                Object.defineProperty(newObj, key, desc);
            } else {
                newObj[key] = obj[key];
            }
        }
    }
    newObj.default = obj;
    if (cache) {
        cache.set(obj, newObj);
    }
    return newObj;
}
const base = (0, _styledcomponents.css)([
    ``
]);
const ListWrapper = _styledcomponents.default.div.withConfig({
    displayName: "Autocomplete.styles__ListWrapper",
    componentId: "sc-1d1ee611-0"
})([
    `padding:calc(var(`,
    `) + var(`,
    `,0rem));border-radius:var(`,
    `);box-sizing:border-box;background:var(`,
    `);box-shadow:var(`,
    `),inset 0 0 0 var(`,
    `,0rem) var(`,
    `,transparent);`
], _Autocompletetokens.tokens.padding, _Autocompletetokens.tokens.dropdownBorderWidth, _Autocompletetokens.tokens.borderRadius, _Autocompletetokens.tokens.background, _Autocompletetokens.tokens.boxShadow, _Autocompletetokens.tokens.dropdownBorderWidth, _Autocompletetokens.tokens.dropdownBorderColor);
const Ul = _styledcomponents.default.ul.withConfig({
    displayName: "Autocomplete.styles__Ul",
    componentId: "sc-1d1ee611-1"
})([
    `border-radius:calc(var(`,
    `) - 0.125rem - var(`,
    `,0rem));height:auto;max-height:`,
    `;overflow:auto;margin:0;padding:0;`
], _Autocompletetokens.tokens.borderRadius, _Autocompletetokens.tokens.dropdownBorderWidth, ({ virtual, listMaxHeight })=>virtual ? 'auto' : listMaxHeight || 'auto');
const InfiniteLoaderWrapper = _styledcomponents.default.li.withConfig({
    displayName: "Autocomplete.styles__InfiniteLoaderWrapper",
    componentId: "sc-1d1ee611-2"
})([
    `display:flex;align-items:center;justify-content:center;box-sizing:content-box;min-height:var(`,
    `);`
], _Autocompletetokens.tokens.textFieldHeight);
const StyledLeftHelper = _styledcomponents.default.span.withConfig({
    displayName: "Autocomplete.styles__StyledLeftHelper",
    componentId: "sc-1d1ee611-3"
})([
    `margin:0;padding:0;`
]);
