(host)
| 37 | } |
| 38 | |
| 39 | function getIcloudSetupUrlForHost(host) { |
| 40 | const normalizedHost = normalizeIcloudHost(host); |
| 41 | if (normalizedHost === 'icloud.com') return 'https://setup.icloud.com/setup/ws/1'; |
| 42 | if (normalizedHost === 'icloud.com.cn') return 'https://setup.icloud.com.cn/setup/ws/1'; |
| 43 | return ''; |
| 44 | } |
| 45 | |
| 46 | function getIcloudHostHintFromMessage(message) { |
| 47 | const lower = String(message || '').toLowerCase(); |
no test coverage detected