"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;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _TextFieldSlidertokens = require("../../TextFieldSlider.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const SliderWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewp3kqk0",
    label: "SliderWrapper"
})("position:relative;display:grid;");
const 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:", ({ hasPointer })=>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;}");
const 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, ");");
const 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:", ({ value, max, min })=>`calc((${value} - ${min}) / (${max} - ${min}) * 100% - var(${_TextFieldSlidertokens.tokens.sliderThumbSize}) / 2)`, ";height:var(", _TextFieldSlidertokens.tokens.sliderTrackHeight, ");border-radius:0.5rem;background:var(", _TextFieldSlidertokens.tokens.sliderProgressBackground, ");");
