class State {
constructor() {
this.states = new Map();
}
get(key) {
return this.states.get(key);
set(key, value) {
return this.states.set(key, value);
export default new State();