| Income Taxes - Summary of Income Tax Contingencies (Details) - USD ($) $ in Thousands | 12 Months Ended | |
|---|---|---|
| Dec. 31, 2018 | Dec. 31, 2017 | |
| Changes in uncertain income tax positions | ||
| Balance, beginning of year | $ 334,254 | $ 303,583 | 
| Increases in tax positions for prior years | 65,099 | 14,530 | 
| Increases in tax positions for current years | 14,594 | 16,141 | 
| Decreases in tax positions for prior years | (26,798) | 0 | 
| Balance, end of year | $ 387,149 | $ 334,254 | 
| X | ||||||||||
| 
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 |