import { r as registerInstance, h, H as Host } from './index-90c9237f.js';
import './index-7e3ea926.js';
import { b as runSet } from './runStore-901a7c5d.js';

const Init = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    this.router = null;
  }
  async componentWillLoad() {
    if (!this.router)
      return;
    runSet("router", this.router);
  }
  newRouter(newval) {
    runSet("router", newval);
  }
  render() {
    return (h(Host, null, h("slot", null)));
  }
  static get watchers() { return {
    "router": ["newRouter"]
  }; }
};

export { Init as corejam_init };
