import { g, h, e, d } from './chunk-REZWDD5H.js';

var n=class{constructor(e$1){this.openModal=g.open,this.closeModal=g.close,this.subscribeModal=g.subscribe,this.setTheme=h.setThemeConfig,h.setThemeConfig(e$1),e.setConfig(e$1),this.initUi();}async initUi(){if(typeof window<"u"){await import('./dist-KITQEUVW.js');let e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),d.setIsUiLoaded(!0);}}};

export { n as a };
