import { r as registerInstance, h, H as Host } from './index-7159ffcd.js';
import { w as watchAccount } from './chunk-LAFZBYO7-9a6189f1.js';

const NKIsNotConnected = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    this.isNotConnected = true;
  }
  componentWillLoad() {
    this.disconnect = watchAccount((account) => {
      this.isNotConnected = !account.isConnected;
    });
  }
  disconnectedCallback() {
    this.disconnect();
  }
  render() {
    return h(Host, null, this.isNotConnected ? h("slot", null) : null);
  }
};

export { NKIsNotConnected as nk_is_not_connected };

//# sourceMappingURL=nk-is-not-connected.entry.js.map