export function is_mobile() { if (window) { return /Android|webOS|iPhone|iPod|iPad|BlackBerry/i.test( window.navigator.userAgent ); } return false; }