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