"use strict";const index=require("./index-c3de642f.js"),utils=require("./utils-a9d13080.js"),{user:user}=utils.getSerializedState(),VERIFIED="verified",VERIFYING="verifying",CODE_SENT="code_sent",UNVERIFIED="unverified",CODE_EXPIRED="code_expired",{state:state,onChange:onChange,dispose:dispose}=index.createStore({loggedIn:!1,email:"",name:"",avatarUrl:"",verificationStatus:null,resendAvailableAt:null,...user}),resetUser=()=>{state.loggedIn=!1,state.email="",state.name="",state.avatarUrl="",state.verificationStatus=null,state.resendAvailableAt=null};exports.CODE_EXPIRED=CODE_EXPIRED,exports.CODE_SENT=CODE_SENT,exports.UNVERIFIED=UNVERIFIED,exports.VERIFIED=VERIFIED,exports.VERIFYING=VERIFYING,exports.onChange=onChange,exports.resetUser=resetUser,exports.state=state;