"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),r=require("react"),t=require("../common/helpers.js");exports.default=()=>{let[o,s]=r.useState(),u=e.useId();return r.useEffect(()=>{let e=t.getOrCreateRootDialog(`dialog-${u}`);s(e)},[u]),o};
