export class SessionsStorageService { static _ ( ) { return new SessionsStorageService ( ) ; } get ( key ) { try { return window . sessionStorage . getItem ( key ) ; } catch ( err ) { return null ; } } set ( key , value ) { return window . sessionStorage . setItem ( key , value ) ; } destroy ( key ) { return window . sessionStorage . removeItem ( key ) ; } }