import { ah as t, b4 as l, C as o, bk as u } from "./index-BBXAtvZr.js";
function c(e) {
  throw new Error("https://svelte.dev/e/lifecycle_outside_component");
}
function a(e) {
  t === null && c(), u && t.l !== null ? i(t).m.push(e) : l(() => {
    const n = o(e);
    if (typeof n == "function") return (
      /** @type {() => void} */
      n
    );
  });
}
function f(e) {
  t === null && c(), a(() => () => o(e));
}
function i(e) {
  var n = (
    /** @type {ComponentContextLegacy} */
    e.l
  );
  return n.u ??= { a: [], b: [], m: [] };
}
export {
  a,
  f as o
};
//# sourceMappingURL=index-client-C5PXnhDi.js.map
