"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 StyledContent () {
        return StyledContent;
    },
    get StyledDescription () {
        return StyledDescription;
    },
    get StyledInput () {
        return StyledInput;
    },
    get StyledLabel () {
        return StyledLabel;
    },
    get StyledTrigger () {
        return StyledTrigger;
    },
    get base () {
        return base;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _react = require("@emotion/react");
const _mixins = require("../../mixins");
const _Switchtokens = require("./Switch.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const base = (0, /*#__PURE__*/ _react.css)("position:relative;display:flex;flex-direction:column;gap:var(", _Switchtokens.tokens.verticalGap, ");cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);&:focus{outline:0 none;}", "base");
const StyledContent = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1e42ck50",
    label: "StyledContent"
})("width:100%;position:relative;display:flex;align-items:center;&.", _Switchtokens.classes.beforeSwitchLabelPosition, "{justify-content:space-between;", _Switchtokens.tokens.labelOffsetPrivate, ":0 var(", _Switchtokens.tokens.labelOffset, ") 0 0;}&.", _Switchtokens.classes.afterSwitchLabelPosition, "{justify-content:start;flex-direction:row-reverse;", _Switchtokens.tokens.labelOffsetPrivate, ":0 0 0 var(", _Switchtokens.tokens.labelOffset, ");}");
const StyledDescription = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1e42ck51",
    label: "StyledDescription"
})("position:relative;", (0, _mixins.applyEllipsis)(), "    display:-webkit-box;line-clamp:var(", _Switchtokens.tokens.descriptionMaxLines, ");-webkit-line-clamp:var(", _Switchtokens.tokens.descriptionMaxLines, ");-webkit-box-orient:vertical;white-space:normal;");
const StyledInput = (0, /*#__PURE__*/ _styled.default)("input", {
    target: "e1e42ck52",
    label: "StyledInput"
})("position:absolute;right:0;margin:0;opacity:0;&:focus{outline:0 none;}");
const StyledLabel = (0, /*#__PURE__*/ _styled.default)("span", {
    target: "e1e42ck53",
    label: "StyledLabel"
})("user-select:none;&.", _Switchtokens.classes.singleLine, "{", (0, _mixins.applyEllipsis)(), "}");
const StyledTrigger = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1e42ck54",
    label: "StyledTrigger"
})("position:relative;display:flex;align-items:center;transition:background-color 0.15s ease-in-out 0.1s;::after{content:'';position:absolute;right:auto;left:0;transition:width 0.15s ease-in-out 0s,left 0.3s ease-in-out 0s,right 0.3s ease-in-out 0s;}", StyledInput, ":checked ~ &::after{right:0;left:auto;}");
