let platform ; export function getPlatform ( platformOptions ) { if ( platform ) { return platform ; } platform = new H . service . Platform ( platformOptions ) ; return platform ; } export default getPlatform ;