import { getCurrentInstance as a, provide as s, inject as i } from "vue";
const o = /* @__PURE__ */ new WeakMap(), T = (e, r) => {
  var n;
  const t = (n = a()) == null ? void 0 : n.proxy;
  if (t == null)
    throw new Error("provideLocal must be called in setup");
  o.has(t) || o.set(t, /* @__PURE__ */ Object.create(null));
  const l = o.get(t);
  l[e] = r, s(e, r);
}, d = (...e) => {
  var r;
  const n = e[0], t = (r = a()) == null ? void 0 : r.proxy;
  if (t == null)
    throw new Error("injectLocal must be called in setup");
  return o.has(t) && n in o.get(t) ? o.get(t)[n] : i(...e);
};
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
const u = {
  rowKey: "id",
  title: "Fast Start",
  routerMode: "hash",
  basename: "/"
}, c = Symbol("FAST_START_CONTEXT"), S = (e) => T(c, e), v = () => d(c, u);
export {
  u as DEFAULT_FAST_START_CONTEXT,
  c as FAST_START_CONTEXT,
  S as createFastStartProvider,
  v as useFastStartContext
};
//# sourceMappingURL=fast-start.mjs.map
