import{InspectorFrontendHostInstance}from"./InspectorFrontendHost.js";let _platform,_isMac,_isWin,_isCustomDevtoolsFrontend,_fontFamily;export function platform(){return _platform||(_platform=InspectorFrontendHostInstance.platform()),_platform}export function isMac(){return"undefined"===typeof _isMac&&(_isMac="mac"===platform()),_isMac}export function isWin(){return"undefined"===typeof _isWin&&(_isWin="windows"===platform()),_isWin}export function isCustomDevtoolsFrontend(){return"undefined"===typeof _isCustomDevtoolsFrontend&&(_isCustomDevtoolsFrontend=window.location.toString().startsWith("devtools://devtools/custom/")),_isCustomDevtoolsFrontend}export function fontFamily(){if(_fontFamily)return _fontFamily;switch(platform()){case"linux":_fontFamily="Roboto, Ubuntu, Arial, sans-serif";break;case"mac":_fontFamily="'Lucida Grande', sans-serif";break;case"windows":_fontFamily="'Segoe UI', Tahoma, sans-serif"}return _fontFamily}