import { ai as t, b5 as c, C as o, bl as u } from "./index-CoRcfuX4.js";
function l(e) {
  throw new Error("https://svelte.dev/e/lifecycle_outside_component");
}
function a(e) {
  t === null && l(), u && t.l !== null ? i(t).m.push(e) : c(() => {
    const n = o(e);
    if (typeof n == "function") return (
      /** @type {() => void} */
      n
    );
  });
}
function f(e) {
  t === null && l(), 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-C6CzifWu.js.map
