module.exports = "(function(s,t,e){var i=e(5894),n=e(7358),_=e(9404),a=e(6103);s.exports={initialize:function(){this.__state={lastSessionTimestamp:0,sessionId:null},this.on(n.REFRESH_SESSION,this.__refreshSession),this.on(n.LOAD_SESSION_STATE,this.__loadSessionState)},getState:function(){return i.cloneDeep(this.__state)},getSessionId:function(){return this.__state.sessionId},__loadSessionState:function(s){__INVARIANT__&&e(2048).isType(\"SessionState\",s),this.__state.sessionId=s.sessionId,this.__state.lastSessionTimestamp=s.lastSessionTimestamp,this.emitChange()},__refreshSession:function(){var s=_.now(),t=this.__state.lastSessionTimestamp;(!this.__state.sessionId||s-t>18e5)&&(this.__state.sessionId=a.generate()),this.__state.lastSessionTimestamp=s,this.emitChange()}}})";