import{e as t}from"./p-a44cd541.js";const e=(()=>{let t;return{getStore:()=>t,setStore:e=>{t=e},getState:()=>t&&t.getState(),mapDispatchToProps:(e,s)=>{Object.keys(s).forEach((o=>{const r=s[o];Object.defineProperty(e,o,{get:()=>(...e)=>t.dispatch(r(...e)),configurable:!0,enumerable:!0})}))},mapStateToProps:(e,s)=>{const o=()=>{const o=s(t.getState());Object.keys(o).forEach((t=>{e[t]=o[t]}))},r=t.subscribe((()=>o()));return o(),r}}})(),s=new class{constructor(){this.mapDispatchToProps=e.mapDispatchToProps,this.mapStateToProps=e.mapStateToProps,e.setStore(t())}};export{s}