"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 HandlerStyled () {
        return HandlerStyled;
    },
    get StyledValue () {
        return StyledValue;
    }
});
var _styledcomponents = /*#__PURE__*/ _interop_require_default(require("styled-components"));
var _Slidertokens = require("../../Slider.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var StyledValue = _styledcomponents.default.span.withConfig({
    displayName: "Handler.styles__StyledValue",
    componentId: "sc-47d96c4-0"
})([
    "position:absolute;z-index:1;top:var(",
    ");text-align:center;width:100%;margin-left:",
    ";display:flex;justify-content:center;font-family:var(",
    ");font-size:var(",
    ");font-style:var(",
    ");font-weight:var(",
    ");letter-spacing:var(",
    ");line-height:var(",
    ");"
], _Slidertokens.tokens.currentValueTopOffset, function(param) {
    var isPointerHidden = param.isPointerHidden;
    return isPointerHidden ? 'calc(var(--plasma-private-thumb-size))' : 'calc(-0.125rem)';
}, _Slidertokens.tokens.valueFontFamily, _Slidertokens.tokens.valueFontSize, _Slidertokens.tokens.valueFontStyle, _Slidertokens.tokens.valueFontWeight, _Slidertokens.tokens.valueLetterSpacing, _Slidertokens.tokens.valueLineHeight);
var HandlerStyled = _styledcomponents.default.div.withConfig({
    displayName: "Handler.styles__HandlerStyled",
    componentId: "sc-47d96c4-1"
})([
    "--plasma-private-thumb-size:",
    ";cursor:pointer;position:absolute;z-index:1;top:0;left:calc(var(--plasma-private-thumb-size) / -2 - 0.0625rem);bottom:0;display:flex;align-items:center;justify-content:center;&.",
    "{right:0;left:0;top:calc(var(--plasma-private-thumb-size) / -2 - 0.0625rem);bottom:auto;margin-left:-0.0625rem;align-items:flex-start;justify-content:center;",
    "{margin:",
    " 0 0;top:0;bottom:0;right:0;left:calc(var(",
    ") - (var(",
    ") - var(--plasma-private-thumb-size)) / 2 + 0.25rem);align-items:center;justify-content:flex-start;}}&.",
    "{",
    "{left:auto;right:calc(var(",
    ") - (var(",
    ") - var(--plasma-private-thumb-size)) / 2 + 0.3125rem);justify-content:flex-end;}}"
], function(param) {
    var isLarge = param.isLarge;
    return isLarge ? "var(".concat(_Slidertokens.tokens.thumbSizeLarge, ")") : "var(".concat(_Slidertokens.tokens.thumbSize, ")");
}, _Slidertokens.classes.verticalOrientation, StyledValue, function(param) {
    var isPointerHidden = param.isPointerHidden;
    return isPointerHidden ? 'calc(var(--plasma-private-thumb-size) / 2 )' : '-0.125rem';
}, _Slidertokens.tokens.size, _Slidertokens.tokens.size, _Slidertokens.classes.valuePlacementLeft, StyledValue, _Slidertokens.tokens.size, _Slidertokens.tokens.size);
