| 6386 | h += _rdapRow('Expires', (ref.result.events || {}).expiration); |
| 6387 | } else if (ref && !ref.ok) { |
| 6388 | h += _rdapRow('Referral', (ref.url || '') + ' failed: ' + (ref.error || '')); |
| 6389 | } |
| 6390 | } else if (r.object === 'autnum') { |
| 6391 | const rng = r.start == null ? null : (r.start === r.end ? 'AS' + r.start : 'AS' + r.start + ' – AS' + r.end); |
| 6392 | h += _rdapRow('ASN', rng, { strong: true }); |
| 6393 | h += _rdapRow('Name', r.name); |
| 6394 | h += _rdapRow('Handle', r.handle, { mono: true }); |
| 6395 | h += _rdapRow('Type', r.type); |
| 6396 | h += _rdapRow('Country', r.country); |
| 6397 | h += _rdapRow('Status', r.status); |
| 6398 | h += _rdapRow('Registrant', _rdapContact(r.registrant), { html: true }); |
| 6399 | h += _rdapRow('NOC', _rdapContact(r.noc), { html: true }); |
| 6400 | h += _rdapRow('Abuse', _rdapContact(r.abuse), { html: true, strong: true }); |
| 6401 | h += _rdapRow('Registered', ev.registration); |
| 6402 | h += _rdapRow('Changed', ev['last changed']); |
| 6403 | } else if (r.object === 'ip network') { |
| 6404 | h += _rdapRow('Network', (r.cidrs && r.cidrs.length) ? r.cidrs.join(', ') : (r.start ? r.start + ' – ' + r.end : ''), { mono: true, strong: true }); |
| 6405 | if (r.cidrs && r.cidrs.length && r.start) h += _rdapRow('Range', r.start + ' – ' + r.end, { mono: true }); |
| 6406 | h += _rdapRow('Name', r.name); |
| 6407 | h += _rdapRow('Handle', r.handle, { mono: true }); |
| 6408 | h += _rdapRow('Type', r.type); |
| 6409 | h += _rdapRow('Country', r.country); |
| 6410 | h += _rdapRow('Parent', r.parent, { mono: true }); |
| 6411 | h += _rdapRow('Registrant', _rdapContact(r.registrant), { html: true }); |
| 6412 | h += _rdapRow('Abuse', _rdapContact(r.abuse), { html: true, strong: true }); |