"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 ScaleTick () {
        return ScaleTick;
    },
    get ScaleTickDot () {
        return ScaleTickDot;
    },
    get ScaleTickLabel () {
        return ScaleTickLabel;
    },
    get ScaleTicksWrapper () {
        return ScaleTicksWrapper;
    },
    get ScaleValue () {
        return ScaleValue;
    },
    get ScaleWrapper () {
        return ScaleWrapper;
    },
    get SliderContainer () {
        return SliderContainer;
    },
    get SliderWithHelpersWrapper () {
        return SliderWithHelpersWrapper;
    },
    get base () {
        return base;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _react = require("@emotion/react");
const _TextField = require("../TextField");
const _TextFieldstyles = require("../TextField/TextField.styles");
const _Inputstyles = require("./ui/Input/Input.styles");
const _TextFieldSlidertokens = require("./TextFieldSlider.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const ScaleTicksWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewwrlnn0",
    label: "ScaleTicksWrapper"
})("position:relative;overflow:visible;height:var(", _TextFieldSlidertokens.tokens.scaleValueLineHeight, ");margin-top:calc(var(", _TextFieldSlidertokens.tokens.scaleWrapperOffset, ") + var(", _TextFieldSlidertokens.tokens.scaleWrapperPaddingTop, "));margin-left:calc(var(", _TextFieldSlidertokens.tokens.sliderContainerOffset, ") + var(", _TextFieldSlidertokens.tokens.sliderThumbSize, ") / 2);margin-right:calc(var(", _TextFieldSlidertokens.tokens.sliderContainerOffset, ") + var(", _TextFieldSlidertokens.tokens.sliderThumbSize, ") / 2);");
const ScaleTick = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewwrlnn1",
    label: "ScaleTick"
})("position:absolute;top:0;bottom:0;width:0;overflow:visible;cursor:pointer;");
const ScaleTickDot = (0, /*#__PURE__*/ _styled.default)("span", {
    target: "ewwrlnn2",
    label: "ScaleTickDot"
})("position:absolute;left:0;top:calc(\n        -1 * (var(", _TextFieldSlidertokens.tokens.scaleWrapperOffset, ") + var(", _TextFieldSlidertokens.tokens.scaleWrapperPaddingTop, ")) - var(\n                ", _TextFieldSlidertokens.tokens.sliderTrackHeight, "            ) / 2 - var(", _TextFieldSlidertokens.tokens.scaleTickSize, ") / 2\n    );transform:translateX(-50%);display:block;width:var(", _TextFieldSlidertokens.tokens.scaleTickSize, ");height:var(", _TextFieldSlidertokens.tokens.scaleTickSize, ");border-radius:50%;background-color:", ({ filled })=>filled ? `var(${_TextFieldSlidertokens.tokens.scaleTickDotFilledColor})` : `var(${_TextFieldSlidertokens.tokens.scaleTickDotColor})`, ";");
const ScaleTickLabel = (0, /*#__PURE__*/ _styled.default)("span", {
    target: "ewwrlnn3",
    label: "ScaleTickLabel"
})("position:absolute;top:0;left:0;transform:translateX(-50%);white-space:nowrap;color:var(", _TextFieldSlidertokens.tokens.scaleValueColor, ");font-family:var(", _TextFieldSlidertokens.tokens.scaleValueFontFamily, ");font-size:var(", _TextFieldSlidertokens.tokens.scaleValueFontSize, ");font-style:var(", _TextFieldSlidertokens.tokens.scaleValueFontStyle, ");font-weight:var(", _TextFieldSlidertokens.tokens.scaleValueFontWeight, ");letter-spacing:var(", _TextFieldSlidertokens.tokens.scaleValueLetterSpacing, ");line-height:var(", _TextFieldSlidertokens.tokens.scaleValueLineHeight, ");");
const SliderContainer = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewwrlnn4",
    label: "SliderContainer"
})("position:absolute;bottom:0;left:var(", _TextFieldSlidertokens.tokens.sliderContainerOffset, ",0);right:var(", _TextFieldSlidertokens.tokens.sliderContainerOffset, ",0);");
const SliderWithHelpersWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewwrlnn5",
    label: "SliderWithHelpersWrapper"
})("position:relative;");
const ScaleWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewwrlnn6",
    label: "ScaleWrapper"
})("display:flex;justify-content:space-between;margin-top:var(", _TextFieldSlidertokens.tokens.scaleWrapperOffset, ");padding-top:var(", _TextFieldSlidertokens.tokens.scaleWrapperPaddingTop, ");");
const ScaleValue = (0, /*#__PURE__*/ _styled.default)("span", {
    target: "ewwrlnn7",
    label: "ScaleValue"
})("color:var(", _TextFieldSlidertokens.tokens.scaleValueColor, ");font-size:var(", _TextFieldSlidertokens.tokens.scaleValueFontSize, ");line-height:var(", _TextFieldSlidertokens.tokens.scaleValueLineHeight, ");font-weight:var(", _TextFieldSlidertokens.tokens.scaleValueFontWeight, ");font-family:var(", _TextFieldSlidertokens.tokens.scaleValueFontFamily, ");letter-spacing:var(", _TextFieldSlidertokens.tokens.scaleValueLetterSpacing, ");");
const base = (0, /*#__PURE__*/ _react.css)("box-sizing:border-box;display:inline-block;&& ", _Inputstyles.StyledInput, ".", _TextFieldSlidertokens.classes.errorAnimation, "{", _TextField.textFieldTokens.backgroundColor, ":var(", _TextFieldSlidertokens.tokens.textFieldBackgroundErrorColor, ");", _TextField.textFieldTokens.backgroundColorHover, ":var(", _TextFieldSlidertokens.tokens.textFieldBackgroundErrorColor, ");", _TextField.textFieldTokens.backgroundColorFocus, ":var(", _TextFieldSlidertokens.tokens.textFieldBackgroundErrorColor, ");", _TextField.textFieldTokens.borderColor, ":var(", _TextFieldSlidertokens.tokens.textFieldBorderErrorColor, ");", _TextField.textFieldTokens.borderColorHover, ":var(", _TextFieldSlidertokens.tokens.textFieldBorderErrorColor, ");", _TextField.textFieldTokens.borderColorFocus, ":var(", _TextFieldSlidertokens.tokens.textFieldBorderErrorColor, ");", _TextField.textFieldTokens.color, ":var(", _TextFieldSlidertokens.tokens.textFieldBorderErrorColor, ");animation:shakingError 0.3s forwards;", _TextFieldstyles.Input, "{animation:fadeError 0.3s forwards;}}}@keyframes shakingError{14%{transform:translateX(-0.125rem);}28%{transform:translateX(0.125rem);}42%{transform:translateX(-0.125rem);}57%{transform:translateX(0.125rem);}71%{transform:translateX(-0.125rem);}85%{transform:translateX(0.125rem);}100%{transform:translateX(-0.125rem);}}@keyframes fadeError{50%{opacity:1;}100%{opacity:0;}}", "base");
