"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.UnstableSliderContextKey = exports.SliderContextKey = void 0;
exports.useInjectSlider = useInjectSlider;
exports.useInjectUnstableSilder = useInjectUnstableSilder;
exports.useProvideSlider = useProvideSlider;
exports.useProvideUnstableSlider = useProvideUnstableSlider;
var _vue = require("vue");
const SliderContextKey = exports.SliderContextKey = Symbol('sliderContextKey');
function useProvideSlider(state) {
  (0, _vue.provide)(SliderContextKey, state);
}
function useInjectSlider() {
  return (0, _vue.inject)(SliderContextKey, (0, _vue.ref)({
    min: 0,
    max: 0,
    direction: 'ltr',
    step: 1,
    includedStart: 0,
    includedEnd: 0,
    tabIndex: 0,
    keyboard: true,
    styles: {},
    classNames: {}
  }));
}
const UnstableSliderContextKey = exports.UnstableSliderContextKey = Symbol('unstableSliderKey');
/** @private NOT PROMISE AVAILABLE. DO NOT USE IN PRODUCTION. */
function useProvideUnstableSlider(state) {
  (0, _vue.provide)(UnstableSliderContextKey, state);
}
function useInjectUnstableSilder() {
  return (0, _vue.inject)(UnstableSliderContextKey, {});
}