import{aI as l,ao as e}from"./app-k0jcl5PQ.js";function g(t){const[a,i]=l.useState(t.animate??!0);function o(f){i(!1),t.setStep(f)}function s(){t.closePopup()}const n=t.steps[t.step],u=typeof t.loading<"u"?{loading:t.loading}:{},c={...t.data,...u,animate:t.animate??a,closePopup:s,setStep:o};if(!n)return e.jsx(e.Fragment,{});const m=n.view;return e.jsx(m,{...c})}export{g as M};
//# sourceMappingURL=BYKekpB9.chunk.js.map
