"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 LeftContent () {
        return LeftContent;
    },
    get RightContent () {
        return RightContent;
    },
    get StyledContent () {
        return StyledContent;
    },
    get base () {
        return base;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _react = require("@emotion/react");
const _mixins = require("../../../../mixins");
const _tokens = require("../../tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const StyledContent = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1fqycvl0",
    label: "StyledContent"
})("display:inline-block;width:fit-content;padding:var(", _tokens.tokens.itemContentPadding, ");", (0, _mixins.applyEllipsis)(), ";margin-right:", ({ hasRightMargin })=>hasRightMargin ? `var(${_tokens.tokens.itemIconMargin})` : '0', ";margin-left:", ({ hasLeftMargin })=>hasLeftMargin ? `var(${_tokens.tokens.itemIconMargin})` : '0', ";");
const RightContent = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1fqycvl1",
    label: "RightContent"
})("display:flex;margin-left:var(", _tokens.tokens.itemIconMargin, ");overflow:hidden;color:var(", _tokens.tokens.itemColor, ");&.", _tokens.classes.segmentAdditionalText, "{display:inline-block;color:var(", _tokens.tokens.itemAdditionalColor, ");", (0, _mixins.applyEllipsis)(), ";}");
const LeftContent = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1fqycvl2",
    label: "LeftContent"
})("display:flex;margin-right:var(", _tokens.tokens.itemIconMargin, ");color:inherit;");
const base = (0, /*#__PURE__*/ _react.css)("position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;white-space:nowrap;appearance:none;border:none;outline:none;cursor:pointer;margin-left:var(", _tokens.tokens.itemMarginLeft, ");-webkit-tap-highlight-color:rgba(0,0,0,0);&:first-child{margin-left:0;}", (0, _mixins.addFocus)({
    outlineSize: '0.063rem',
    outlineOffset: '0.063rem',
    outlineColor: `var(${_tokens.tokens.outlineFocusColor})`,
    outlineRadius: 'calc(var(--plasma_private-outline-radius) + var(--plasma_private-clip-outline-radius))'
}), ";&.", _tokens.classes.segmentTruncate, "{", StyledContent, "{overflow:hidden;text-overflow:ellipsis;}}", "base");
