require("./Slider.css");
var $a0b996a550bb0891$exports = require("./Field.cjs");
var $bfa4962d90c8af48$exports = require("./Form.cjs");
var $308b180f49d82d28$exports = require("../icons/runtime.cjs");
var $2061c83559b50a66$exports = require("./pressScale.cjs");
var $ac757a4c2bd72aee$exports = require("../icons/useSpectrumContextProps.cjs");
var $5DeaH$reactjsxruntime = require("react/jsx-runtime");
var $5DeaH$reactariacomponents = require("react-aria-components");
var $5DeaH$reactariautils = require("@react-aria/utils");
var $5DeaH$react = require("react");
var $5DeaH$reactspectrumutils = require("@react-spectrum/utils");
var $5DeaH$reactariai18n = require("@react-aria/i18n");


function $parcel$export(e, n, v, s) {
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}

$parcel$export(module.exports, "SliderContext", () => $e937566cb5c6349c$export$e99164f0030f3bff);
$parcel$export(module.exports, "track", () => $e937566cb5c6349c$export$6b2a7d5132615086);
$parcel$export(module.exports, "thumbContainer", () => $e937566cb5c6349c$export$7814bee2738c4c3);
$parcel$export(module.exports, "thumbHitArea", () => $e937566cb5c6349c$export$f120a3c6038107a5);
$parcel$export(module.exports, "thumb", () => $e937566cb5c6349c$export$becc9140d0e846f8);
$parcel$export(module.exports, "upperTrack", () => $e937566cb5c6349c$export$1e1dc99b6e2204f1);
$parcel$export(module.exports, "filledTrack", () => $e937566cb5c6349c$export$847ceef3bc944d02);
$parcel$export(module.exports, "SliderBase", () => $e937566cb5c6349c$export$9418495bb635ebde);
$parcel$export(module.exports, "Slider", () => $e937566cb5c6349c$export$472062a354075cee);
/*
 * Copyright 2024 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */ 










const $e937566cb5c6349c$export$e99164f0030f3bff = /*#__PURE__*/ (0, $5DeaH$react.createContext)(null);
const $e937566cb5c6349c$var$slider = function anonymous(props, overrides) {
    let rules = " ";
    rules += ((overrides || '').match(/(?:^|\s)(J|G|I|H|_u|_v|_s|__A|_d|_J|z|y|B|A|_P|_9|W|_l|_A|_z|_6|Z|N|L)[^\s]+/g) || []).join('');
    if (props.size === "XL") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else if (props.size === "L") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else if (props.size === "S") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else if (props.size === "XS") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    }
    if (props.size === "XL") {
        rules += ' -_6BNtrc-e1';
        rules += ' vx1';
    } else if (props.size === "L") {
        rules += ' -_6BNtrc-d1';
        rules += ' vx1';
    } else if (props.size === "S") {
        rules += ' -_6BNtrc-b1';
        rules += ' vx1';
    } else if (props.size === "XS") {
        rules += ' -_6BNtrc-a1';
        rules += ' vx1';
    } else {
        rules += ' -_6BNtrc-c1';
        rules += ' vx1';
    }
    if (props.size === "XL") {
        rules += ' xb1';
        rules += ' _xa1';
    } else if (props.size === "L") {
        rules += ' xb1';
        rules += ' _xa1';
    } else if (props.size === "S") {
        rules += ' xb1';
        rules += ' _xa1';
    } else if (props.size === "XS") {
        rules += ' xb1';
        rules += ' _xa1';
    } else {
        rules += ' xb1';
        rules += ' _xa1';
    }
    if (props.size === "XL") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else if (props.size === "L") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else if (props.size === "S") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else if (props.size === "XS") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    }
    if (props.isDisabled) rules += ' pp1';
    else {
        rules += ' pv1';
        rules += ' plb1';
    }
    if (props.labelPosition === "side") rules += ' eb1';
    if (props.isInForm) rules += ' qg1';
    else if (props.size === "XL") rules += ' qj1';
    else if (props.size === "L") rules += ' qi1';
    else if (props.size === "M") rules += ' ql1';
    else if (props.size === "S") rules += ' ql1';
    return rules;
};
const $e937566cb5c6349c$var$labelContainer = function anonymous(props) {
    let rules = " ";
    if (props.labelPosition === "top") rules += ' se1';
    rules += ' zv6x9r1';
    rules += ' yv6x9r1';
    rules += ' Bv6x9r1';
    rules += ' Av6x9r1';
    rules += ' Za1';
    if (props.labelPosition === "top") rules += ' C09aAFd1';
    if (props.labelPosition === "top") rules += ' Dxumf9b1';
    if (props.labelPosition === "side") {
        if (props.labelAlign === "end") rules += ' _Wb1';
        else if (props.labelAlign === "start") rules += ' _Wd1';
    }
    rules += ' -AJjOLd-Qd1';
    return rules;
};
const $e937566cb5c6349c$var$output = function anonymous(props) {
    let rules = " ";
    rules += ' zChk6v1';
    rules += ' yChk6v1';
    rules += ' BChk6v1';
    rules += ' AChk6v1';
    if (props.labelPosition === "side") {
        if (props.isInForm) rules += ' _Wb1';
        else if (props.direction === "rtl") rules += ' _Wb1';
        else if (props.direction === "ltr") rules += ' _Wd1';
    } else if (props.labelPosition === "top") {
        if (props.direction === "rtl") rules += ' _Wd1';
        else if (props.direction === "ltr") rules += ' _Wb1';
    }
    return rules;
};
let $e937566cb5c6349c$export$6b2a7d5132615086 = function anonymous(props) {
    let rules = " ";
    rules += ' zCPUPs1';
    rules += ' yCPUPs1';
    rules += ' BCPUPs1';
    rules += ' ACPUPs1';
    rules += ' _Pc1';
    rules += ' Za1';
    if (props.size === "XL") rules += ' Fz1';
    else if (props.size === "L") rules += ' Fv1';
    else if (props.size === "M") rules += ' Fx1';
    else if (props.size === "S") rules += ' Fp1';
    return rules;
};
let $e937566cb5c6349c$export$7814bee2738c4c3 = function anonymous(props) {
    let rules = " ";
    if (props.size === "XL") rules += ' Zo1';
    else if (props.size === "L") rules += ' Zn1';
    else if (props.size === "M") rules += ' Zm1';
    else if (props.size === "S") rules += ' Zl1';
    if (props.size === "XL") rules += ' Fp1';
    else if (props.size === "L") rules += ' Fo1';
    else if (props.size === "M") rules += ' Fn1';
    else if (props.size === "S") rules += ' Fm1';
    rules += ' sg1';
    rules += ' _Pa1';
    rules += ' WF1';
    return rules;
};
let $e937566cb5c6349c$export$f120a3c6038107a5 = function anonymous(props) {
    let rules = " ";
    if (props.thumbStyle === "precise") {
        if (props.size === "XL") rules += ' Zp1';
        else if (props.size === "L") rules += ' Zo1';
        else if (props.size === "M") rules += ' Zn1';
        else if (props.size === "S") rules += ' Zm1';
    } else if (props.thumbStyle === "default") {
        if (props.size === "XL") rules += ' Zo1';
        else if (props.size === "L") rules += ' Zn1';
        else if (props.size === "M") rules += ' Zm1';
        else if (props.size === "S") rules += ' Zl1';
    }
    if (props.thumbStyle === "precise") {
        if (props.size === "XL") rules += ' Fq1';
        else if (props.size === "L") rules += ' Fp1';
        else if (props.size === "M") rules += ' Fo1';
        else if (props.size === "S") rules += ' Fn1';
    } else if (props.thumbStyle === "default") {
        if (props.size === "XL") rules += ' Fp1';
        else if (props.size === "L") rules += ' Fo1';
        else if (props.size === "M") rules += ' Fn1';
        else if (props.size === "S") rules += ' Fm1';
    }
    return rules;
};
let $e937566cb5c6349c$export$becc9140d0e846f8 = function anonymous(props) {
    let rules = " ";
    if (props.isFocusVisible) rules += ' _Lf1';
    else rules += ' _Le1';
    rules += ' Oh1';
    rules += ' Olc1';
    rules += ' _Mc1';
    rules += ' _Kd1';
    rules += ' sg1';
    rules += ' _oa1';
    rules += ' _Pa1';
    rules += ' WF1';
    rules += ' _EF1';
    rules += ' _Zd1';
    if (props.thumbStyle === "precise") rules += ' Zg1';
    else if (props.thumbStyle === "default") {
        if (props.size === "XL") rules += ' Zo1';
        else if (props.size === "L") rules += ' Zn1';
        else if (props.size === "M") rules += ' Zm1';
        else if (props.size === "S") rules += ' Zl1';
    }
    if (props.thumbStyle === "precise") {
        if (props.size === "XL") rules += ' Fq1';
        else if (props.size === "L") rules += ' Fp1';
        else if (props.size === "M") rules += ' Fo1';
        else if (props.size === "S") rules += ' Fn1';
    } else if (props.thumbStyle === "default") {
        if (props.size === "XL") rules += ' Fp1';
        else if (props.size === "L") rules += ' Fo1';
        else if (props.size === "M") rules += ' Fn1';
        else if (props.size === "S") rules += ' Fm1';
    }
    rules += ' og1';
    rules += ' ng1';
    rules += ' kg1';
    rules += ' jg1';
    rules += ' _jf1';
    rules += ' _kc1';
    rules += ' hc1';
    rules += ' mc1';
    rules += ' lc1';
    if (props.isDisabled) rules += ' iq1';
    else if (props.isDragging) rules += ' in1';
    else if (props.isHovered) rules += ' in1';
    else rules += ' iv1';
    if (props.isDisabled) rules += ' ilc1';
    else rules += ' ila1';
    rules += ' gX1';
    rules += ' glb1';
    return rules;
};
const $e937566cb5c6349c$var$trackStyling = {
    height: {
        trackStyle: {
            thin: 4,
            thick: 16
        }
    },
    top: '50%',
    borderRadius: {
        trackStyle: {
            thin: 'lg',
            thick: 'sm'
        }
    }
};
let $e937566cb5c6349c$export$1e1dc99b6e2204f1 = function anonymous(props) {
    let rules = " ";
    if (props.trackStyle === "thick") rules += ' Ft1';
    else if (props.trackStyle === "thin") rules += ' Fe1';
    rules += ' WF1';
    if (props.trackStyle === "thick") rules += ' oa1';
    else if (props.trackStyle === "thin") rules += ' oc1';
    if (props.trackStyle === "thick") rules += ' na1';
    else if (props.trackStyle === "thin") rules += ' nc1';
    if (props.trackStyle === "thick") rules += ' ka1';
    else if (props.trackStyle === "thin") rules += ' kc1';
    if (props.trackStyle === "thick") rules += ' ja1';
    else if (props.trackStyle === "thin") rules += ' jc1';
    rules += ' _Pa1';
    if (props.isDisabled) rules += ' gH1';
    else {
        if (props.isStaticColor) rules += ' gh1';
        else rules += ' gE1';
        rules += ' glb1';
    }
    rules += ' -_8PloMd-m1';
    rules += ' __Ya1';
    rules += ' Za1';
    rules += ' _oa1';
    rules += ' _jf1';
    rules += ' _kEjZtrc1';
    rules += ' hEjZtrc1';
    rules += ' mEjZtrc1';
    rules += ' lEjZtrc1';
    rules += ' iA1';
    if (props.isDisabled) rules += ' ilc1';
    else rules += ' ilb1';
    return rules;
};
let $e937566cb5c6349c$export$847ceef3bc944d02 = function anonymous(props) {
    let rules = " ";
    if (props.trackStyle === "thick") rules += ' Ft1';
    else if (props.trackStyle === "thin") rules += ' Fe1';
    rules += ' WF1';
    if (props.trackStyle === "thick") rules += ' oa1';
    else if (props.trackStyle === "thin") rules += ' oc1';
    if (props.trackStyle === "thick") rules += ' na1';
    else if (props.trackStyle === "thin") rules += ' nc1';
    if (props.trackStyle === "thick") rules += ' ka1';
    else if (props.trackStyle === "thin") rules += ' kc1';
    if (props.trackStyle === "thick") rules += ' ja1';
    else if (props.trackStyle === "thin") rules += ' jc1';
    rules += ' _Pa1';
    if (props.isDisabled) rules += ' gH1';
    else if (props.isEmphasized) rules += ' g31';
    else rules += ' g_i1';
    if (props.isDisabled) rules += ' gld1';
    else rules += ' gle1';
    rules += ' _oa1';
    rules += ' _jf1';
    rules += ' _kEjZtrc1';
    rules += ' hEjZtrc1';
    rules += ' mEjZtrc1';
    rules += ' lEjZtrc1';
    rules += ' iA1';
    if (props.isDisabled) rules += ' ilc1';
    else rules += ' ilb1';
    rules += ' -_8PloMd-m1';
    rules += ' __Ya1';
    return rules;
};
function $e937566cb5c6349c$export$9418495bb635ebde(props1) {
    let formContext = (0, $5DeaH$react.useContext)((0, $bfa4962d90c8af48$exports.FormContext));
    props1 = (0, $bfa4962d90c8af48$exports.useFormProps)(props1);
    let { label: label, labelPosition: labelPosition = 'top', labelAlign: labelAlign = 'start', size: size = 'M', minValue: minValue = 0, maxValue: maxValue = 100, formatOptions: formatOptions } = props1;
    let formatter = (0, $5DeaH$reactariai18n.useNumberFormatter)(formatOptions);
    let { direction: direction } = (0, $5DeaH$reactariai18n.useLocale)();
    return /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsx)((0, $5DeaH$reactariacomponents.Slider), {
        ...props1,
        ref: props1.sliderRef,
        className: (renderProps)=>(props1.UNSAFE_className || '') + (0, $308b180f49d82d28$exports.mergeStyles)(function anonymous(props) {
                let rules = " ";
                rules += ' se1';
                if (props.isInForm) rules += ' z2mU1';
                if (props.isInForm) {
                    if (props.labelPosition === "side") rules += ' yvoofG1';
                }
                if (props.isInForm) rules += ' DLwlgod1';
                else {
                    if (props.labelPosition === "side") rules += ' DPlN5qb1';
                    else if (props.labelPosition === "top") rules += ' DM8Mfn1';
                }
                if (props.labelPosition === "side") rules += ' EPlN5qb1';
                else if (props.labelPosition === "top") rules += ' E4w1sLc1';
                if (props.labelPosition === "side") rules += ' CbRM95c1';
                else if (props.labelPosition === "top") rules += ' Cxaocre1';
                if (props.size === "XL") {
                    rules += ' -_6BNtrc-e1';
                    rules += ' vx1';
                } else if (props.size === "L") {
                    rules += ' -_6BNtrc-d1';
                    rules += ' vx1';
                } else if (props.size === "S") {
                    rules += ' -_6BNtrc-b1';
                    rules += ' vx1';
                } else if (props.size === "XS") {
                    rules += ' -_6BNtrc-a1';
                    rules += ' vx1';
                } else {
                    rules += ' -_6BNtrc-c1';
                    rules += ' vx1';
                }
                rules += ' ea1';
                rules += ' _Fd1';
                rules += ' _FnuYUweb1';
                if (props.size === "XL") rules += ' -BhX7R-Fz1';
                else if (props.size === "L") rules += ' -BhX7R-Fv1';
                else if (props.size === "S") rules += ' -BhX7R-Fp1';
                else if (props.size === "XS") rules += ' -BhX7R-Fn1';
                else rules += ' -BhX7R-Fx1';
                rules += ' -AJjOLd-UVkF0Db1';
                rules += ' qg1';
                rules += ' __ca1';
                return rules;
            }({
                labelPosition: labelPosition,
                isInForm: !!formContext
            }), $e937566cb5c6349c$var$slider({
                ...renderProps,
                labelPosition: labelPosition,
                size: size,
                isInForm: !!formContext
            }, props1.styles)),
        children: ({ state: state })=>{
            let maxLabelLength = Math.max([
                ...formatter.format(minValue)
            ].length, [
                ...formatter.format(maxValue)
            ].length);
            switch(state.values.length){
                case 1:
                    break;
                case 2:
                    // This should really use the NumberFormat#formatRange proposal...
                    // https://github.com/tc39/ecma402/issues/393
                    // https://github.com/tc39/proposal-intl-numberformat-v3#formatrange-ecma-402-393
                    // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/formatRange
                    maxLabelLength = 3 + 2 * Math.max(maxLabelLength, [
                        ...formatter.format(minValue)
                    ].length, [
                        ...formatter.format(maxValue)
                    ].length);
                    break;
                default:
                    throw new Error('Only sliders with 1 or 2 handles are supported!');
            }
            let outputValue = /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsx)((0, $5DeaH$reactariacomponents.SliderOutput), {
                style: {
                    width: `${maxLabelLength}ch`,
                    minWidth: `${maxLabelLength}ch`,
                    fontVariantNumeric: 'tabular-nums'
                },
                className: $e937566cb5c6349c$var$output({
                    direction: direction,
                    labelPosition: labelPosition,
                    isInForm: !!formContext
                }),
                children: ({ state: state })=>state.values.map((_, i)=>state.getThumbValueLabel(i)).join(" \u2013 ")
            });
            return /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsxs)((0, $5DeaH$reactjsxruntime.Fragment), {
                children: [
                    /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsxs)("div", {
                        className: $e937566cb5c6349c$var$labelContainer({
                            labelPosition: labelPosition,
                            labelAlign: labelAlign
                        }),
                        children: [
                            /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsx)((0, $a0b996a550bb0891$exports.FieldLabel), {
                                isDisabled: props1.isDisabled,
                                size: props1.size,
                                labelPosition: labelPosition,
                                labelAlign: labelAlign,
                                contextualHelp: props1.contextualHelp,
                                children: label
                            }),
                            labelPosition === 'top' && outputValue
                        ]
                    }),
                    /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsxs)("div", {
                        className: function anonymous(props) {
                            let rules = " ";
                            rules += ' zXcEWr1';
                            rules += ' yXcEWr1';
                            rules += ' BXcEWr1';
                            rules += ' AXcEWr1';
                            if (props.size === "XL") rules += ' Nl1';
                            else if (props.size === "L") rules += ' Nj1';
                            else if (props.size === "S") rules += ' Nf1';
                            else if (props.size === "XS") rules += ' Ne1';
                            else rules += ' Nk1';
                            if (props.isQuiet) rules += ' _qd1';
                            else rules += ' _qtb1';
                            if (props.size === "XL") rules += ' -Anxdcc-Zt1';
                            else if (props.size === "L") rules += ' -Anxdcc-ZStdtne1';
                            else if (props.size === "S") rules += ' -Anxdcc-Zr1';
                            else rules += ' -Anxdcc-Z3fn9H1';
                            rules += ' __v6TNLWb1';
                            rules += ' sh1';
                            rules += ' eb1';
                            if (props.size === "XL") rules += ' Uj1';
                            else if (props.size === "L") rules += ' Ui1';
                            else rules += ' Ul1';
                            if (props.size === "XL") rules += ' qj1';
                            else if (props.size === "L") rules += ' qi1';
                            else rules += ' ql1';
                            return rules;
                        }({
                            size: size
                        }),
                        children: [
                            props1.children,
                            labelPosition === 'side' && outputValue
                        ]
                    })
                ]
            });
        }
    });
}
const $e937566cb5c6349c$export$472062a354075cee = /*#__PURE__*/ (0, $5DeaH$react.forwardRef)(function Slider(props, ref) {
    [props, ref] = (0, $ac757a4c2bd72aee$exports.useSpectrumContextProps)(props, ref, $e937566cb5c6349c$export$e99164f0030f3bff);
    let formContext = (0, $5DeaH$react.useContext)((0, $bfa4962d90c8af48$exports.FormContext));
    props = (0, $bfa4962d90c8af48$exports.useFormProps)(props);
    let { labelPosition: labelPosition = 'top', size: size = 'M', fillOffset: fillOffset, isEmphasized: isEmphasized, trackStyle: trackStyle = 'thin', thumbStyle: thumbStyle = 'default' } = props;
    let thumbRef = (0, $5DeaH$react.useRef)(null);
    let inputRef = (0, $5DeaH$react.useRef)(null); // TODO: need to pass inputRef to SliderThumb when we release the next version of RAC 1.3.0
    let domRef = (0, $5DeaH$reactspectrumutils.useFocusableRef)(ref, inputRef);
    let { direction: direction } = (0, $5DeaH$reactariai18n.useLocale)();
    let cssDirection = direction === 'rtl' ? 'right' : 'left';
    let isStaticColor = props['PRIVATE_staticColor'];
    return /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsx)($e937566cb5c6349c$export$9418495bb635ebde, {
        ...props,
        sliderRef: domRef,
        children: /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsx)((0, $5DeaH$reactariacomponents.SliderTrack), {
            className: $e937566cb5c6349c$export$6b2a7d5132615086({
                size: size,
                labelPosition: labelPosition,
                isInForm: !!formContext
            }),
            children: ({ state: state, isDisabled: isDisabled })=>{
                fillOffset = fillOffset !== undefined ? (0, $5DeaH$reactariautils.clamp)(fillOffset, state.getThumbMinValue(0), state.getThumbMaxValue(0)) : state.getThumbMinValue(0);
                let fillWidth = state.getThumbPercent(0) - state.getValuePercent(fillOffset);
                let isRightOfOffset = fillWidth > 0;
                let offset = isRightOfOffset ? state.getValuePercent(fillOffset) : state.getThumbPercent(0);
                return /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsxs)((0, $5DeaH$reactjsxruntime.Fragment), {
                    children: [
                        /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsx)("div", {
                            className: $e937566cb5c6349c$export$1e1dc99b6e2204f1({
                                isDisabled: isDisabled,
                                isStaticColor: isStaticColor,
                                trackStyle: trackStyle
                            })
                        }),
                        /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsx)("div", {
                            style: {
                                width: `${Math.abs(fillWidth) * 100}%`,
                                [cssDirection]: `${offset * 100}%`
                            },
                            className: $e937566cb5c6349c$export$847ceef3bc944d02({
                                isDisabled: isDisabled,
                                isEmphasized: isEmphasized,
                                trackStyle: trackStyle
                            })
                        }),
                        /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsx)((0, $5DeaH$reactariacomponents.SliderThumb), {
                            className: $e937566cb5c6349c$export$7814bee2738c4c3,
                            index: 0,
                            name: props.name,
                            form: props.form,
                            ref: thumbRef,
                            style: (renderProps)=>(0, $2061c83559b50a66$exports.pressScale)(thumbRef, {
                                    transform: 'translate(-50%, -50%)'
                                })({
                                    ...renderProps,
                                    isPressed: renderProps.isDragging
                                }),
                            children: (renderProps)=>/*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsx)("div", {
                                    className: $e937566cb5c6349c$export$f120a3c6038107a5({
                                        size: size
                                    }),
                                    children: /*#__PURE__*/ (0, $5DeaH$reactjsxruntime.jsx)("div", {
                                        className: $e937566cb5c6349c$export$becc9140d0e846f8({
                                            ...renderProps,
                                            size: size,
                                            thumbStyle: thumbStyle
                                        })
                                    })
                                })
                        })
                    ]
                });
            }
        })
    });
});


//# sourceMappingURL=Slider.cjs.map
