XML 45 R31.htm IDEA: XBRL DOCUMENT v3.8.0.1
Summary of Significant Accounting Policies - Cash Flows (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash flows from operating activities    
Net loss $ (30,244) $ (2,272)
Adjustments to reconcile net loss to net cash provided by (used) in operating activities    
Depreciation and amortization 46,098 41,013
Unrealized foreign currency exchange rate gains (5,030) (8,313)
Loss on disposal of property and equipment 159 556
Impairment charges 2,248 0
Amortization of bond premium 63 63
Stock-based compensation 8,137 12,082
Excess tax deficiency from stock-based compensation arrangements 0 (1,258)
Deferred income taxes (10,645) 15,905
Changes in reserves and allowances (251,194) (21,187)
Changes in operating assets and liabilities:    
Accounts receivable 53,703 21,261
Inventories 16,697 19,084
Prepaid expenses and other assets (83,917) (6,588)
Other non-current assets (731) 0
Accounts payable (66,894) (90,982)
Accrued expenses and other liabilities (3,933) 7,253
Customer refund liability 350,312 0
Income taxes payable and receivable (2,805) (19,169)
Net cash provided by (used in) operating activities 22,024 (32,552)
Cash flows from investing activities    
Net cash used in investing activities (55,930) (91,790)
Cash flows from financing activities    
Net cash provided by financing activities 3,799 43,558
Effect of exchange rate changes on cash, cash equivalents and restricted cash 2,157 3,452
Net decrease in cash, cash equivalents and restricted cash (27,950) (77,332)
Beginning of period 318,135 252,725
End of period 290,185 $ 175,393
Accounting Standards Update 2014-09 [Member]    
Cash flows from operating activities    
Net loss (31,037)  
Adjustments to reconcile net loss to net cash provided by (used) in operating activities    
Depreciation and amortization 46,098  
Unrealized foreign currency exchange rate gains (5,030)  
Loss on disposal of property and equipment 159  
Impairment charges 2,248  
Amortization of bond premium 63  
Stock-based compensation 8,137  
Excess tax deficiency from stock-based compensation arrangements 0  
Deferred income taxes (10,959)  
Changes in reserves and allowances 4,552  
Changes in operating assets and liabilities:    
Accounts receivable 53,703  
Inventories 16,697  
Prepaid expenses and other assets 11,289  
Other non-current assets (731)  
Accounts payable (66,894)  
Accrued expenses and other liabilities (3,466)  
Customer refund liability 0  
Income taxes payable and receivable (2,805)  
Net cash provided by (used in) operating activities 22,024  
Cash flows from investing activities    
Net cash used in investing activities (55,930)  
Cash flows from financing activities    
Net cash provided by financing activities 3,799  
Effect of exchange rate changes on cash, cash equivalents and restricted cash 2,157  
Net decrease in cash, cash equivalents and restricted cash (27,950)  
Beginning of period 318,135  
End of period 290,185  
ASC 606 Adjustments [Member] | Accounting Standards Update 2014-09 [Member]    
Cash flows from operating activities    
Net loss (793)  
Adjustments to reconcile net loss to net cash provided by (used) in operating activities    
Depreciation and amortization 0  
Unrealized foreign currency exchange rate gains 0  
Loss on disposal of property and equipment 0  
Impairment charges 0  
Amortization of bond premium 0  
Stock-based compensation 0  
Excess tax deficiency from stock-based compensation arrangements 0  
Deferred income taxes (314)  
Changes in reserves and allowances 255,746  
Changes in operating assets and liabilities:    
Accounts receivable 0  
Inventories 0  
Prepaid expenses and other assets 95,206  
Other non-current assets 0  
Accounts payable 0  
Accrued expenses and other liabilities 467  
Customer refund liability (350,312)  
Income taxes payable and receivable 0  
Net cash provided by (used in) operating activities 0  
Cash flows from investing activities    
Net cash used in investing activities 0  
Cash flows from financing activities    
Net cash provided by financing activities 0  
Effect of exchange rate changes on cash, cash equivalents and restricted cash 0  
Net decrease in cash, cash equivalents and restricted cash 0  
Beginning of period 0  
End of period $ 0