'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');

function noop(..._any) {
}
const AnchorContextKey = Symbol("anchorContextKey");
function useProvideAnchor(state) {
  vue.provide(AnchorContextKey, state);
}
function useInjectAnchor() {
  return vue.inject(AnchorContextKey, {
    registerLink: noop,
    unregisterLink: noop,
    scrollTo: noop,
    activeLink: vue.computed(() => ""),
    handleClick: noop,
    direction: vue.computed(() => "vertical")
  });
}

exports.AnchorContextKey = AnchorContextKey;
exports.default = useProvideAnchor;
exports.useInjectAnchor = useInjectAnchor;
exports.useProvideAnchor = useProvideAnchor;
//# sourceMappingURL=context.cjs.map
