"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 SliderWrapper () {
        return SliderWrapper;
    },
    get StyledProgress () {
        return StyledProgress;
    },
    get StyledSlider () {
        return StyledSlider;
    },
    get StyledTrack () {
        return StyledTrack;
    }
});
var _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
var _TextFieldSlidertokens = require("../../TextFieldSlider.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var SliderWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewp3kqk0",
    label: "SliderWrapper"
})("position:relative;display:grid;");
var StyledSlider = (0, /*#__PURE__*/ _styled.default)("input", {
    target: "ewp3kqk1",
    label: "StyledSlider"
})("appearance:none;outline:none;background:none;border:none;height:var(", _TextFieldSlidertokens.tokens.sliderTrackHeight, ");width:100%;z-index:2;margin:0;cursor:pointer;opacity:", function(param) {
    var hasPointer = param.hasPointer;
    return hasPointer ? '1' : '0';
}, ";transition:box-shadow 0.2s ease-in;::-webkit-slider-thumb{-webkit-appearance:none;border:none;border-radius:50%;cursor:grab;width:var(", _TextFieldSlidertokens.tokens.sliderThumbSize, ");height:var(", _TextFieldSlidertokens.tokens.sliderThumbSize, ");background:var(", _TextFieldSlidertokens.tokens.sliderThumbBackground, ");color:var(", _TextFieldSlidertokens.tokens.sliderThumbBackground, ");box-shadow:var(", _TextFieldSlidertokens.tokens.sliderThumbBorderBoxShadow, ");}::-moz-range-thumb{border:none;border-radius:50%;cursor:grab;width:var(", _TextFieldSlidertokens.tokens.sliderThumbSize, ");height:var(", _TextFieldSlidertokens.tokens.sliderThumbSize, ");background:var(", _TextFieldSlidertokens.tokens.sliderThumbBackground, ");color:var(", _TextFieldSlidertokens.tokens.sliderThumbBackground, ");box-shadow:var(", _TextFieldSlidertokens.tokens.sliderThumbBorderBoxShadow, ");}::-webkit-slider-thumb:hover,::-webkit-slider-thumb:active,&:focus-visible::-webkit-slider-thumb{border-radius:50%;box-shadow:var(", _TextFieldSlidertokens.tokens.sliderThumbBorderBoxShadowFocus, ");}::-webkit-slider-thumb:active{cursor:grabbing;}::-moz-range-thumb:hover,::-moz-range-thumb:active,&:focus-visible::-moz-range-thumb{border-radius:50%;box-shadow:var(", _TextFieldSlidertokens.tokens.sliderThumbBorderBoxShadowFocus, ");}::-moz-range-thumb:active{cursor:grabbing;}");
var StyledTrack = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewp3kqk2",
    label: "StyledTrack"
})("position:absolute;top:50%;left:calc(var(", _TextFieldSlidertokens.tokens.sliderThumbSize, ") / 2);right:calc(var(", _TextFieldSlidertokens.tokens.sliderThumbSize, ") / 2);transform:translateY(-50%);height:var(", _TextFieldSlidertokens.tokens.sliderTrackHeight, ");border-radius:0.5rem;background-color:var(", _TextFieldSlidertokens.tokens.sliderTrackBackground, ");");
var StyledProgress = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewp3kqk3",
    label: "StyledProgress"
})("position:absolute;top:50%;left:calc(var(", _TextFieldSlidertokens.tokens.sliderThumbSize, ") / 2);transform:translateY(-50%);width:", function(param) {
    var value = param.value, max = param.max, min = param.min;
    return "calc((".concat(value, " - ").concat(min, ") / (").concat(max, " - ").concat(min, ") * 100% - var(").concat(_TextFieldSlidertokens.tokens.sliderThumbSize, ") / 2)");
}, ";height:var(", _TextFieldSlidertokens.tokens.sliderTrackHeight, ");border-radius:0.5rem;background:var(", _TextFieldSlidertokens.tokens.sliderProgressBackground, ");");
